#include <SoccerTypes.h>
Collaboration diagram for Feature:
Public Methods | |
Feature () | |
Feature (Time timeSee, Time timeSense, Time timeHear, ObjectT object, double dInfo=UnknownDoubleValue, SoccerCommand soc=SoccerCommand(CMD_ILLEGAL), VecPosition pos=VecPosition(0, 0)) | |
bool | setFeature (Time timeSee, Time timeSense, Time timeHear, ObjectT object, double dInfo=UnknownDoubleValue, SoccerCommand soc=SoccerCommand(CMD_ILLEGAL), VecPosition pos=VecPosition(0, 0)) |
bool | setTimeSee (Time time) |
Time | getTimeSee () |
bool | setTimeSense (Time time) |
Time | getTimeSense () |
bool | setTimeHear (Time time) |
Time | getTimeHear () |
bool | setObject (ObjectT obj) |
ObjectT | getObject () |
bool | setInfo (double d) |
double | getInfo () |
bool | setVec (VecPosition pos) |
VecPosition | getVec () |
bool | setCommand (SoccerCommand soc) |
SoccerCommand | getCommand () |
Private Attributes | |
Time | m_timeSee |
Time | m_timeSense |
Time | m_timeHear |
ObjectT | m_object |
double | m_dInfo |
VecPosition | m_vec |
SoccerCommand | m_soc |
Definition at line 641 of file SoccerTypes.h.
|
This is the constructor for the Feature class. A feature (specific information that applies to the current time can be stored here. Definition at line 964 of file SoccerTypes.cpp. References OBJECT_ILLEGAL, setFeature(), UnknownDoubleValue, and UnknownTime. |
|
This is the constructor for the Feature class. A feature (specific information that applies to the current time can be stored here. For example, when the information about the fastest player to the ball is calculated, this can be stored in a feauture. This information can then be used for another calculation in the same cycle.
Definition at line 981 of file SoccerTypes.cpp. References ObjectT, and setFeature(). |
|
This method returns the command corresponding to this feature.
Definition at line 1115 of file SoccerTypes.cpp. References m_soc. Referenced by BasicPlayer::interceptClose(), and WorldModel::predictCommandToInterceptBall(). |
|
This method returns the information for a feature.
Definition at line 1085 of file SoccerTypes.cpp. References m_dInfo. Referenced by WorldModel::getFastestInSetTo(), WorldModel::predictCommandToInterceptBall(), and WorldModel::predictNrCyclesToObject(). |
|
This method returns the object related to this feature.
Definition at line 1070 of file SoccerTypes.cpp. References m_object, and ObjectT. Referenced by WorldModel::getFastestInSetTo(). |
|
This method returns the hear time for a feature.
Definition at line 1055 of file SoccerTypes.cpp. References m_timeHear. Referenced by WorldModel::isFeatureRelevant(). |
|
This method returns the see time for a feature.
Definition at line 1025 of file SoccerTypes.cpp. References m_timeSee. Referenced by WorldModel::isFeatureRelevant(). |
|
This method returns the sense time for a feature.
Definition at line 1040 of file SoccerTypes.cpp. References m_timeSense. Referenced by WorldModel::isFeatureRelevant(). |
|
This method returns the position information for a feature.
Definition at line 1100 of file SoccerTypes.cpp. References m_vec. |
|
This method sets the command corresponding to this feature.
Definition at line 1107 of file SoccerTypes.cpp. References m_soc. Referenced by setFeature(). |
|
This methods sets the values of the Feature class. A feature (specific information that applies to the current time can be stored here. For example, when the information about the fastest player to the ball is calculated, this can be stored in a feauture. This information can then be used for another calculation in the same cycle.
Definition at line 1000 of file SoccerTypes.cpp. References ObjectT, setCommand(), setInfo(), setObject(), setTimeHear(), setTimeSee(), setTimeSense(), and setVec(). Referenced by Feature(). |
|
This method sets the information for a feature.
Definition at line 1077 of file SoccerTypes.cpp. References m_dInfo. Referenced by setFeature(). |
|
This method sets the object for a feature.
Definition at line 1062 of file SoccerTypes.cpp. References m_object, and ObjectT. Referenced by setFeature(). |
|
This method sets the hear time for a feature.
Definition at line 1047 of file SoccerTypes.cpp. References m_timeHear. Referenced by setFeature(). |
|
This method sets the see time for a feature.
Definition at line 1017 of file SoccerTypes.cpp. References m_timeSee. Referenced by setFeature(), and WorldModel::WorldModel(). |
|
This method sets the sense time for a feature.
Definition at line 1032 of file SoccerTypes.cpp. References m_timeSense. Referenced by setFeature(), and WorldModel::WorldModel(). |
|
This method sets the posiiton corresponding to this feature.
Definition at line 1092 of file SoccerTypes.cpp. References m_vec. Referenced by setFeature(). |
|
information stored with this feature Definition at line 647 of file SoccerTypes.h. |
|
object information stored with this feature Definition at line 646 of file SoccerTypes.h. |
|
command stored with this feature Definition at line 649 of file SoccerTypes.h. Referenced by getCommand(), and setCommand(). |
|
hear time corresponding to stored info Definition at line 645 of file SoccerTypes.h. Referenced by getTimeHear(), and setTimeHear(). |
|
see time corresponding to stored information Definition at line 643 of file SoccerTypes.h. Referenced by getTimeSee(), and setTimeSee(). |
|
sense time corresponding to stored info Definition at line 644 of file SoccerTypes.h. Referenced by getTimeSense(), and setTimeSense(). |
|
information stored with this feature Definition at line 648 of file SoccerTypes.h. |