#include <CollectedBeliefs.h>
Inheritance diagram for CollectedBeliefs:
Public Member Functions | |
CollectedBeliefs (const BehaviorControlInterfaces &interfaces) | |
Constructor. | |
~CollectedBeliefs () | |
Destructor. | |
void | update () |
This method updates recently received SingleBeliefs. | |
void | broadcast () |
This method broadcasts the own SingleBeliefs to the other robots. | |
void | trigger () |
This method triggers all SingleBeliefs.rateOptions. | |
Public Attributes | |
SingleBeliefs | singleBeliefs [Player::numOfPlayerNumbers] |
The four SingleBeliefs of the team members. |
Definition at line 76 of file CollectedBeliefs.h.
|
Constructor.
Definition at line 73 of file CollectedBeliefs.cpp. References SystemCall::getCurrentSystemTime(), SingleBeliefs::ratedOptions, SlidingAverageValue::reset(), singleBeliefs, and SingleBeliefs::timeStamp. |
Here is the call graph for this function:
|
Destructor.
Definition at line 85 of file CollectedBeliefs.cpp. |
|
This method updates recently received SingleBeliefs. btw: the "own" SingleBeliefs is singleBeliefs[(int)(getPlayer().getPlayerRole())] Definition at line 89 of file CollectedBeliefs.cpp. References SystemCall::getCurrentSystemTime(), SingleBeliefs::ratedOptions, singleBeliefs, and SingleBeliefs::timeStamp. Referenced by GT2004BehaviorControl::preExecute(). |
Here is the call graph for this function:
|
This method broadcasts the own SingleBeliefs to the other robots. btw: the "own" SingleBeliefs is singleBeliefs[(int)(getPlayer().getPlayerRole())] Definition at line 130 of file CollectedBeliefs.cpp. References SlidingAverageValue::getLastValue(), getPlayer(), Player::getPlayerNumber(), idSingleBeliefs, INFO, SingleBeliefs::ratedOptions, BehaviorTeamMessage::ratedOptions, and singleBeliefs. Referenced by GT2004BehaviorControl::preExecute(). |
Here is the call graph for this function:
|
This method triggers all SingleBeliefs.rateOptions.
Definition at line 145 of file CollectedBeliefs.cpp. References SingleBeliefs::ratedOptions, singleBeliefs, and SlidingAverageValue::trigger(). Referenced by GT2004BehaviorControl::preExecute(). |
Here is the call graph for this function:
|
The four SingleBeliefs of the team members. To be adressed by (int)Player::playerNumber Definition at line 89 of file CollectedBeliefs.h. Referenced by broadcast(), DefaultTacticChooser::chooseOption(), CollectedBeliefs(), DefaultOptionRating::rateOptions(), trigger(), and update(). |