#include <plKernelMap.h>
Inheritance diagram for plKernelMap:
Public Member Functions | |
plKernelMap () | |
defaulf constructor | |
plKernelMap (const plVariablesConjunction &left, const plVariablesConjunction &right) | |
A plKernelMap indexed by the set of variables {right}. | |
virtual | ~plKernelMap () |
Destructor of the Kernel Map. | |
void | push (const plValues &values, const plComputableObject &compObj) |
Push is used to incrementaly construct the the Kernel Map {itemize} compObj : must have the same left variables than the original Kernel Map. | |
void | push (const plComputableObject &compObj, const plValues &values) |
Inserts a new kernel {compObj} with an specified key value {value}. | |
void | push (const plComputableObject &compObj, int value) |
Inserts a new kernel {compObj} with an specified integer key value {value}. | |
void | push (const plComputableObject &compObj, plFloat value) |
Inserts a new kernel {compObj} with an specified float key value {value}. | |
void | push_default (const plComputableObject &compObj) |
push_default is used to push a default distribution that will be used for cases that have never been pushed in the KernelMap | |
bool | find (const plValues &values) const |
Returns {true} if a computable object has been already pushed for the case {value}. |
It can be use to switch from one law to another according to the value of a subset of the right variables. The set of Computable objects is stored in map list. (See also plKernelTable).
Definition at line 36 of file plKernelMap.h.
|
Returns {true} if a computable object has been already pushed for the case {value}. Returns {false} otherwise Implements plKernelDictionary. |
|
Push is used to incrementaly construct the the Kernel Map {itemize} compObj : must have the same left variables than the original Kernel Map. If compObj is a Conditional Kernel, then its right variables must be a subset of the right variables of the Kernel Map. values : this values is relative to the set of variables used as index. {itemize} Implements plKernelDictionary. Referenced by plCndLearnObject< T >::get_kernel_map(). |