|
|
|
|
Documentation |
|
Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Namespace Members Compound Members File Members Related Pages Search
NLAINIMAT::CClassifierSystem Class ReferenceA simple and minimal version of a Classifier System.
More...
#include <classifier.h>
Collaboration diagram for NLAINIMAT::CClassifierSystem:
[legend]List of all members.
Detailed Description
A simple and minimal version of a Classifier System.
-
Author(s):
-
Gabriel ROBERT , Nevrax France
-
Date:
-
2001
Definition at line 42 of file classifier.h.
Constructor & Destructor Documentation
NLAINIMAT::CClassifierSystem::~CClassifierSystem (
|
)
|
|
Member Function Documentation
void NLAINIMAT::CClassifierSystem::addClassifier (
|
std::map< std::string,char > conditionsMap,
|
|
sint16 priority,
|
|
const char * behavior )
|
|
|
Add a new classifier in the classifier system.
-
Parameters:
-
conditionsMap
|
is a map whose key is the sensor name and value the sensor value. |
priority
|
is the importance of this rule. The value should be between 0 an 100. |
behavior
|
is the action to execute if this classifier is selected. |
Definition at line 46 of file classifier.cpp. |
std::string NLAINIMAT::CClassifierSystem::selectBehavior (
|
std::map< std::string,char > sensorMap )
|
|
|
Select a behavior according to the values in the sensorMap.
-
Parameters:
-
sensorMap
|
is a map whose key is the sensor name and value the sensor value. |
-
Returns:
-
is the behvior of the selected classifier.
Definition at line 71 of file classifier.cpp. |
Member Data Documentation
std::list< CClassifier *> NLAINIMAT::CClassifierSystem::_classifiers [private]
|
|
std::map< std::string,char > NLAINIMAT::CClassifierSystem::_sensors [private]
|
|
The documentation for this class was generated from the following files:
|
|