Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members

plVariablesConjunction Class Reference

The 'plVariablesConjunction' class implements the conjunction of a set of variables. More...

#include <plVariablesConjunction.h>

Inheritance diagram for plVariablesConjunction:

Inheritance graph
[legend]
Collaboration diagram for plVariablesConjunction:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 plVariablesConjunction ()
 Default constructor, creates an empty variable.
virtual ~plVariablesConjunction ()
 Destructor, if the variable represents a list erase the list but not the variables on the list.
string name () const
 Gets the variable name, given by the user.
double cardinality () const
 Returns the number of values taken by the variable conjunction.
bool isDiscretized () const
 Returns true if the plVariablesConjunction is discretized, false otherwise.
unsigned int dim () const
 Returns the number of plSymbols that compose the plVariablesConjunction.

Protected Member Functions

virtual void Output (ostream &out) const
 Writes the variable at the output given by "out".
 plVariablesConjunction (const list< kplVariable * > &kernel_variable_list)
 Constructor using a list of kplVariables.

Protected Attributes

unsigned int Dsize
 Size of the variable list (variable_list), faster that the acces to size() function.
list< kplVariable * > variable_list
 List of the function arguments variables.

Friends

class plData
class plArray
class plBellShape
class plCndBellShape
class plCndKernel
class plCndNormal
class plCndProbTable
class plCndUnknown
class plComputableObject
class plDirac
class plFunctionalDirac
class plGamma
class plJointDistribution
class plKalmanFilter
class plKernel
class plKernelMap
class plNormal
class plPoisson
class plProbTable
class plSymbol
class plUniform
class plUnknown
class plValues
class plVariable
class plKernelTable
class plLogNormal

Detailed Description

The 'plVariablesConjunction' class implements the conjunction of a set of variables.

Definition at line 38 of file plVariablesConjunction.h.


Constructor & Destructor Documentation

virtual plVariablesConjunction::~plVariablesConjunction  )  [virtual]
 

Destructor, if the variable represents a list erase the list but not the variables on the list.

If empty variable, erase the empty variable


Member Function Documentation

double plVariablesConjunction::cardinality  )  const
 

Returns the number of values taken by the variable conjunction.

For example, if a variable 'x' takes 10 possible values and another variable 'y' takes 3 possible values, then the conjunction x^y takes 30 (10 x 3) possible values. It returns zero if the variable is not discretized e.g. plRealType non-discretized

Referenced by isDiscretized().


The documentation for this class was generated from the following file:
Generated on Fri Apr 1 10:59:47 2005 for ProBT by  doxygen 1.4.1