From 0ea5fc66924303d1bf73ba283a383e2aadee02f2 Mon Sep 17 00:00:00 2001 From: neodarz Date: Sat, 11 Aug 2018 20:21:34 +0200 Subject: Initial commit --- docs/doxygen/nel/a02399.html | 363 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 363 insertions(+) create mode 100644 docs/doxygen/nel/a02399.html (limited to 'docs/doxygen/nel/a02399.html') diff --git a/docs/doxygen/nel/a02399.html b/docs/doxygen/nel/a02399.html new file mode 100644 index 00000000..ce46a689 --- /dev/null +++ b/docs/doxygen/nel/a02399.html @@ -0,0 +1,363 @@ + + +NeL: NLAINIMAT::CConditionMap class Reference + + + +
+

NLAINIMAT::CConditionMap Class Reference

#include <classifier.h> +

+


Detailed Description

+A condition map. Used to describes all the conditions that must be associate to an action.
Author:
Gabriel ROBERT

+Nevrax France

+
Date:
2003
+ +

+ +

+Definition at line 132 of file classifier.h. + + + + + + + + + + + + + + + + + + + +

Public Member Functions

void addIfNotSensorCondition (TSensor sensorName, TSensorValue sensorValue)
 Used to add an if sensor != condition rule.

void addIfSensorCondition (TSensor sensorName, TSensorValue sensorValue)
 Used to add an if sensor == condition rule.

void addSensorCondition (TSensor sensorName, TSensorValue sensorValue, bool sensorIsTrue)
std::map< TSensor, CSensor
+>::const_iterator 
begin () const
void clear ()
std::map< TSensor, CSensor
+>::const_iterator 
end () const

Private Attributes

std::map< TSensor, CSensor_ConditionMap
+


Member Function Documentation

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + +
void NLAINIMAT::CConditionMap::addIfNotSensorCondition TSensor  sensorName,
TSensorValue  sensorValue
+
+ + + + + +
+   + + +

+Used to add an if sensor != condition rule. +

+ +

+Definition at line 656 of file classifier.cpp. +

+References _ConditionMap, NLAINIMAT::CConditionMap::CSensor::NeedTarget, NLAINIMAT::Sensors_WITHTARGET, NLAINIMAT::CConditionMap::CSensor::SensorValue, NLAINIMAT::CConditionMap::CSensor::TruthValue, and NLAINIMAT::TSensorValue. +

+Referenced by NLAINIMAT::CMHiCSbase::loadClassifierFromFile(). +

+

00657 {
+00658         CSensor albator;
+00659         albator.SensorValue = sensorValue;
+00660         albator.TruthValue = false;
+00661         albator.NeedTarget = (sensorName > Sensors_WITHTARGET);
+00662         
+00663         _ConditionMap[sensorName] = albator;
+00664 }
+
+

+ + + + +
+ + + + + + + + + + + + + + + + + + + +
void NLAINIMAT::CConditionMap::addIfSensorCondition TSensor  sensorName,
TSensorValue  sensorValue
+
+ + + + + +
+   + + +

+Used to add an if sensor == condition rule. +

+ +

+Definition at line 646 of file classifier.cpp. +

+References _ConditionMap, NLAINIMAT::CConditionMap::CSensor::NeedTarget, NLAINIMAT::Sensors_WITHTARGET, NLAINIMAT::CConditionMap::CSensor::SensorValue, NLAINIMAT::CConditionMap::CSensor::TruthValue, and NLAINIMAT::TSensorValue. +

+Referenced by NLAINIMAT::CMHiCSbase::loadClassifierFromFile(). +

+

00647 {
+00648         CSensor albator;
+00649         albator.SensorValue = sensorValue;
+00650         albator.TruthValue = true;
+00651         albator.NeedTarget = (sensorName > Sensors_WITHTARGET);
+00652 
+00653         _ConditionMap[sensorName] = albator;
+00654 }
+
+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
void NLAINIMAT::CConditionMap::addSensorCondition TSensor  sensorName,
TSensorValue  sensorValue,
bool  sensorIsTrue
+
+ + + + + +
+   + + +

+ +

+Definition at line 666 of file classifier.cpp. +

+References _ConditionMap, NLAINIMAT::CConditionMap::CSensor::NeedTarget, NLAINIMAT::Sensors_WITHTARGET, NLAINIMAT::CConditionMap::CSensor::SensorValue, NLAINIMAT::CConditionMap::CSensor::TruthValue, and NLAINIMAT::TSensorValue. +

+Referenced by NLAINIMAT::CClassifierSystem::addClassifierSystem(). +

+

00667 {
+00668         CSensor albator;
+00669         albator.SensorValue = sensorValue;
+00670         albator.TruthValue = sensorIsTrue;
+00671         albator.NeedTarget = (sensorName > Sensors_WITHTARGET);
+00672         
+00673         _ConditionMap[sensorName] = albator;
+00674 }
+
+

+ + + + +
+ + + + + + + + + + +
std::map<TSensor, CSensor >::const_iterator NLAINIMAT::CConditionMap::begin void   )  const [inline]
+
+ + + + + +
+   + + +

+ +

+Definition at line 150 of file classifier.h. +

+References _ConditionMap. +

+Referenced by NLAINIMAT::CClassifierSystem::addClassifier(). +

+

00150 {return _ConditionMap.begin();}
+
+

+ + + + +
+ + + + + + + + + + +
void NLAINIMAT::CConditionMap::clear void   )  [inline]
+
+ + + + + +
+   + + +

+ +

+Definition at line 152 of file classifier.h. +

+References _ConditionMap. +

+Referenced by NLAINIMAT::CMHiCSbase::loadClassifierFromFile(). +

+

00152 {_ConditionMap.clear();}
+
+

+ + + + +
+ + + + + + + + + + +
std::map<TSensor, CSensor >::const_iterator NLAINIMAT::CConditionMap::end void   )  const [inline]
+
+ + + + + +
+   + + +

+ +

+Definition at line 151 of file classifier.h. +

+References _ConditionMap. +

+Referenced by NLAINIMAT::CClassifierSystem::addClassifier(). +

+

00151 {return _ConditionMap.end();}
+
+


Field Documentation

+

+ + + + +
+ + +
std::map<TSensor, CSensor > NLAINIMAT::CConditionMap::_ConditionMap [private] +
+
+ + + + + +
+   + + +

+ +

+Definition at line 155 of file classifier.h. +

+Referenced by addIfNotSensorCondition(), addIfSensorCondition(), addSensorCondition(), begin(), clear(), and end().

+


The documentation for this class was generated from the following files: +
Generated on Tue Mar 16 11:09:55 2004 for NeL by + +doxygen +1.3.6
+ + -- cgit v1.2.1