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

plKernelMap Class Reference

A plKernelMap is a way to define a conditional kernel from a set of Computable Objects (Kernels and/or Conditional Kernels) having the same left variables than the building blocks. More...

#include <plKernelMap.h>

Inheritance diagram for plKernelMap:

Inheritance graph
[legend]
Collaboration diagram for plKernelMap:

Collaboration graph
[legend]
List of all members.

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}.

Detailed Description

A plKernelMap is a way to define a conditional kernel from a set of Computable Objects (Kernels and/or Conditional Kernels) having the same left variables than the building blocks.

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.


Member Function Documentation

bool plKernelMap::find const plValues values  )  const [virtual]
 

Returns {true} if a computable object has been already pushed for the case {value}.

Returns {false} otherwise

Implements plKernelDictionary.

void plKernelMap::push const plValues values,
const plComputableObject compObj
[virtual]
 

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().


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