Public Member Functions | |
CClassifierConditionCell (TSensorMap::const_iterator itSensor, TSensorValue value, bool sensorIsTrue) | |
bool | getSensorIsTrue () const |
TSensor | getSensorName () const |
TSensorValue | getValue () const |
bool | isActivable () const |
Private Attributes | |
std::map< TSensor, TSensorValue >::const_iterator | _itSensor |
bool | _SensorIsTrue |
TSensorValue | _Value |
|
Definition at line 601 of file classifier.cpp. References _itSensor, _SensorIsTrue, NLAINIMAT::TSensorValue, and value.
00603 { 00604 _itSensor = itSensor; 00605 _Value = value; 00606 _SensorIsTrue = sensorIsTrue; 00607 } |
|
Definition at line 637 of file classifier.cpp. References _SensorIsTrue. Referenced by NLAINIMAT::CClassifierSystem::addClassifierSystem(), and NLAINIMAT::CClassifierSystem::getDebugString().
00638 { 00639 return _SensorIsTrue; 00640 } |
|
Definition at line 627 of file classifier.cpp. References NLAINIMAT::TSensor. Referenced by NLAINIMAT::CClassifierSystem::addClassifierSystem(), and NLAINIMAT::CClassifierSystem::getDebugString().
00628 {
00629 return (*_itSensor).first;
00630 }
|
|
Definition at line 632 of file classifier.cpp. References NLAINIMAT::TSensorValue. Referenced by NLAINIMAT::CClassifierSystem::addClassifierSystem(), and NLAINIMAT::CClassifierSystem::getDebugString().
00633 { 00634 return _Value; 00635 } |
|
Definition at line 609 of file classifier.cpp. References _SensorIsTrue.
00610 { 00611 if (_SensorIsTrue) 00612 { 00613 if ((*_itSensor).second == _Value) 00614 return true; 00615 else 00616 return false; 00617 } 00618 else 00619 { 00620 if ((*_itSensor).second == _Value) 00621 return false; 00622 else 00623 return true; 00624 } 00625 } |
|
Definition at line 179 of file classifier.h. Referenced by CClassifierConditionCell(). |
|
Definition at line 181 of file classifier.h. Referenced by CClassifierConditionCell(), getSensorIsTrue(), and isActivable(). |
|
Definition at line 180 of file classifier.h. |