From 0ea5fc66924303d1bf73ba283a383e2aadee02f2 Mon Sep 17 00:00:00 2001 From: neodarz Date: Sat, 11 Aug 2018 20:21:34 +0200 Subject: Initial commit --- .../nel/class_NLAINIMAT__CClassifierSystem.html | 300 +++++++++++++++++++++ 1 file changed, 300 insertions(+) create mode 100644 docs/doxygen/nel/class_NLAINIMAT__CClassifierSystem.html (limited to 'docs/doxygen/nel/class_NLAINIMAT__CClassifierSystem.html') diff --git a/docs/doxygen/nel/class_NLAINIMAT__CClassifierSystem.html b/docs/doxygen/nel/class_NLAINIMAT__CClassifierSystem.html new file mode 100644 index 00000000..b0afd3a3 --- /dev/null +++ b/docs/doxygen/nel/class_NLAINIMAT__CClassifierSystem.html @@ -0,0 +1,300 @@ + + + + nevrax.org : docs + + + + + + + + + + + + + + +
# Home   # nevrax.com   
+ + + + +
Nevrax
+ + + + + + + + + + +
+ + +
+ Nevrax.org
+ + + + + + + +
#News
#Mailing-list
#Documentation
#CVS
#Bugs
#License
+
+ + +
+ + +
+Docs + +
+  + + + + + +
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 Reference

A simple and minimal version of a Classifier System. +More... +

+#include <classifier.h> +

+Collaboration diagram for NLAINIMAT::CClassifierSystem:

Collaboration graph
+ + + +
[legend]
List of all members. + + + + + + + + + + +

Public Methods

 ~CClassifierSystem ()
 Destructor. More...

void addClassifier (std::map<std::string, char> conditionsMap, sint16 priority, const char* behavior)
 Add a new classifier in the classifier system. More...

std::string selectBehavior (std::map<std::string, char> sensorMap)
 Select a behavior according to the values in the sensorMap. More...


Private Attributes

std::map<std::string, char> _sensors
std::list<CClassifier*> _classifiers
+

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

+Destructor. +

+ +

+Definition at line 36 of file classifier.cpp.

+


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] +
+
+ + + + + +
+   + + +

+ +

+Definition at line 71 of file classifier.h.

+

+ + + + +
+ + + + + +
+std::map< std::string,char > NLAINIMAT::CClassifierSystem::_sensors [private] +
+
+ + + + + +
+   + + +

+ +

+Definition at line 70 of file classifier.h.

+


The documentation for this class was generated from the following files: + + + +
                                                                                                                                                                    +
+ + -- cgit v1.2.1