#include <plValues.h>
Inheritance diagram for plValues:


Public Member Functions | |
| plValues () | |
| Creates an empty values. | |
| plValues (const plValues &val) | |
| Copy constructor. | |
| plValues (const plVariablesConjunction &variable) | |
| Creates a values containing the variable (or variables) {variable}. | |
| plValues (const plValues &val, plDataValues *ptr) | |
| Copy constructor. | |
| plDataValues | to_data_values (const list< kplVariable * > &variable) const |
| Returns the plDataValues (in the values) of a list of variables. | |
| plDataValues | to_data_values () const |
| Returns the plDataValues (in the values). | |
| void | to_data_values (plDataValues *ptr) const |
| Copy the plDataValues of the plValues in the given plDataValues. | |
| ~plValues () | |
| Erases a values. | |
| const plData & | operator[] (const plVariablesConjunction &variable) const |
| Acces the data in a variable of the values. | |
| plData & | operator[] (const plVariablesConjunction &variable) |
| Acces the data in a variable of the values. | |
| plData & | operator[] (kplVariable *variable) |
| Acces the data in a variable of the values. | |
| plData & | operator[] (int position) |
| Acces the data of the variable at position {position} with an integer. | |
| const plData & | operator[] (int position) const |
| Acces the data of the variable at position {position}. | |
| unsigned | size () const |
| Returns the number of stored single variables. | |
| void | reset () |
| Resets all variable values to the initial values. | |
| void | reset (const plVariablesConjunction &variable) |
| Resets a particular variable values to its initial value. | |
| bool | next () |
| Makes an increment iteration of all variables in the Values. | |
| bool | next (const plVariablesConjunction &variable) |
| Makes an increment iteration of a particular variables in the Values. | |
| const list< kplVariable * > & | get_variable_list () const |
| Returns the variables list. | |
| void | rename (const plVariablesConjunction &new_variable) |
| Renames the variables assuming that the old and the new variables have the same number and same types. | |
Protected Member Functions | |
| plValues (const list< kplVariable * > &l_d) | |
| create a values from a list of kernel variables | |
| void | set_index_variables (const list< kplVariable * > &l_d) |
| Sets a values with the list of kplVariables given by the user. | |
| bool | set_variable (kplVariable *variable, const plData &value) |
| Sets the value of a variable if it is in the values, nothing other wise. | |
| const plData & | operator[] (kplVariable *variable) const |
| acces operator from a variable | |
| void | Output (ostream &out) const |
| Writes the variable at the output given by "out". | |
Protected Attributes | |
| list< kplVariable * > * | variable_list |
| list of variable within the values | |
| map< kplVariable *, int > * | map_vector |
| vector map, mapping a variable into a position to recover its value | |
| plDataValues * | values |
| vector of values asigned to each of the variables | |
Friends | |
| class | plCndBellShape |
| class | plCndKernel |
| class | plCndNormal |
| class | plComputableObject |
| class | plDirac |
| class | plJointDistribution |
| class | plKernel |
| class | plKernelTable |
| class | plNormal |
| class | plUnknown |
| class | plKernelMap |
Definition at line 20 of file plValuesArray.h.
1.4.1