#include <CollectedBeliefs.h>
Collaboration diagram for SingleBeliefs:
Public Member Functions | |
SingleBeliefs () | |
Constructor. | |
~SingleBeliefs () | |
Destructor. | |
RateableOptions::OptionID | getBestOptionInOptionClass (RateableOptions::OptionClassID id) |
the timeStamps from the other SingleBeliefs can be used to detect single sided Communication failure based upon suggestion from Jörn (see IRC Log 6.12.2003) | |
Public Attributes | |
SlidingAverageValue | ratedOptions [RateableOptions::numOfOptions] |
Rating on all "options". | |
unsigned long | timeStamp |
The time when the package was sent. | |
Private Attributes | |
RateableOptions::OptionID | lastBestOpt [RateableOptions::numOfOptionClasses] |
Definition at line 23 of file CollectedBeliefs.h.
|
Constructor.
Definition at line 13 of file CollectedBeliefs.cpp. References RateableOptions::getClassMember(), SystemCall::getCurrentSystemTime(), lastBestOpt, ratedOptions, SlidingAverageValue::reset(), and timeStamp. |
Here is the call graph for this function:
|
Destructor.
Definition at line 23 of file CollectedBeliefs.cpp. |
|
the timeStamps from the other SingleBeliefs can be used to detect single sided Communication failure based upon suggestion from Jörn (see IRC Log 6.12.2003) zunächst lasse ich das mal raus... mal sehen, ob wir das wirklich brauchen Definition at line 27 of file CollectedBeliefs.cpp. References RateableOptions::getClassMember(), RateableOptions::getNumberOfClassMembers(), RateableOptions::getOptionClassChangeThreshold(), lastBestOpt, and ratedOptions. Referenced by DefaultTacticChooser::chooseOption(). |
Here is the call graph for this function:
|
Rating on all "options".
Definition at line 33 of file CollectedBeliefs.h. Referenced by CollectedBeliefs::broadcast(), DefaultTacticChooser::chooseOption(), CollectedBeliefs::CollectedBeliefs(), getBestOptionInOptionClass(), operator<<(), operator>>(), DefaultOptionRating::rateOptions(), SingleBeliefs(), CollectedBeliefs::trigger(), and CollectedBeliefs::update(). |
|
The time when the package was sent.
Definition at line 36 of file CollectedBeliefs.h. Referenced by DefaultTacticChooser::chooseOption(), CollectedBeliefs::CollectedBeliefs(), DefaultOptionRating::rateOptions(), SingleBeliefs(), and CollectedBeliefs::update(). |
|
Definition at line 51 of file CollectedBeliefs.h. Referenced by getBestOptionInOptionClass(), and SingleBeliefs(). |