#include <plLearn.h>
Inheritance diagram for plLearnObject:


Public Member Functions | |
| plLearnObject (const plVariablesConjunction &variables) | |
| Constructor using a set of variables. | |
| plLearnObject () | |
| Void default constructor. | |
| virtual | ~plLearnObject () |
| Dectructor. | |
| unsigned int | get_nsamples () const |
| Returns the number of the points used in learning (i.e. | |
| double | get_total_weight () const |
| Returns the sum of weights of the points used in learning (i.e. | |
| virtual void | reset ()=0 |
| Resets learning. | |
| virtual void | internal_addPoint (const plDataValues &point, double weight=1.0)=0 |
| Adds a point {point} with a given weight {weight} and updates statistics. | |
| void | addNewPoint (const plValues &point, double weight=1.0) |
| Adds a point {point} with a given weight {weight} and updates statistics. | |
| template<class arrayT> | |
| void | addNewPoint (arrayT *point, double weight=1.0) |
| Adds a point {point} with a given weight {weight} and updates statistics. | |
| template<class arrayT> | |
| void | addNewPoint (const vector< arrayT > &point, double weight=1.0) |
| Adds a point {point} with a given weight {weight} and updates statistics. | |
| template<class singleT> | |
| void | addNewPoint (singleT point, double weight=1.0) |
| Adds a point {point} with a given weight {weight} and updates statistics. | |
| const list< kplVariable * > & | get_vars () const |
| Returns the list of variables. | |
| void | set_known_range (const vector< bool > known_range) |
| Sets, for each variable; a boolean that says if the range of the variable is known or not. | |
| void | addNewPointWithDef (const plValues &point, const vector< bool > &left_defined, double weight=1.0) |
| Adds a point {point} with a given weight {weight} and updates statistics. | |
| template<class arrayT> | |
| void | addNewPointWithDef (arrayT *point, const vector< bool > &left_defined, double weight=1.0) |
| Adds a point {point} with a given weight {weight} and updates statistics. | |
| template<class arrayT> | |
| void | addNewPointWithDef (const vector< arrayT > &point, const vector< bool > &left_defined, double weight=1.0) |
| Adds a point {point} with a given weight {weight} and updates statistics. | |
Definition at line 31 of file plLearn.h.
|
||||||||||||||||
|
Adds a point {point} with a given weight {weight} and updates statistics. {point} is a scalar value. ATTENTION: This method can be only used for one-dimensional distributions. Definition at line 98 of file plLearn.h. References internal_addPoint(). |
|
||||||||||||||||
|
Adds a point {point} with a given weight {weight} and updates statistics. {point} is represented as an STL vector. Definition at line 87 of file plLearn.h. References internal_addPoint(). |
|
||||||||||||||||
|
Adds a point {point} with a given weight {weight} and updates statistics. {point} is represented as a C array. Definition at line 76 of file plLearn.h. References internal_addPoint(). |
|
||||||||||||
|
Adds a point {point} with a given weight {weight} and updates statistics. {point} is represented as a {plValues}. Definition at line 68 of file plLearn.h. References internal_addPoint(). |
|
||||||||||||||||||||
|
Adds a point {point} with a given weight {weight} and updates statistics. {point} is represented as an STL vector. |
|
||||||||||||||||||||
|
Adds a point {point} with a given weight {weight} and updates statistics. {point} is represented as a C array. |
|
||||||||||||||||
|
Adds a point {point} with a given weight {weight} and updates statistics. {point} is represented as a {plValues}. |
|
|
Returns the number of the points used in learning (i.e. added using the {internal_addPoint} method bellow). |
|
|
Returns the sum of weights of the points used in learning (i.e. added using the {internal_addPoint} method bellow). |
|
||||||||||||
|
Adds a point {point} with a given weight {weight} and updates statistics. This virtual method has to be implemented by all derived classes. This is an internal method, do not use it directly. Use addNewPoint instead. Implemented in plCndLearnObject< T >, plLearnDistribVector, plLearn1dNormal, plLearnKHistogram, plLearnNdNormal, and plLearnUnKHistogram. Referenced by addNewPoint(). |
|
|
Resets learning. This virtual method has to be implemented by all derived classes. Implemented in plCndLearnObject< T >, plLearnDistribVector, plLearn1dNormal, plLearnKHistogram, plLearnNdNormal, and plLearnUnKHistogram. |
1.4.1