Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

SingleBeliefs Class Reference

The class contains information on how the robot senses his enviroment. More...

#include <CollectedBeliefs.h>

Collaboration diagram for SingleBeliefs:

Collaboration graph
[legend]
List of all members.

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]

Detailed Description

The class contains information on how the robot senses his enviroment.

Definition at line 23 of file CollectedBeliefs.h.


Constructor & Destructor Documentation

SingleBeliefs::SingleBeliefs  ) 
 

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:

SingleBeliefs::~SingleBeliefs  ) 
 

Destructor.

Definition at line 23 of file CollectedBeliefs.cpp.


Member Function Documentation

RateableOptions::OptionID SingleBeliefs::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)

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:


Member Data Documentation

SlidingAverageValue SingleBeliefs::ratedOptions[RateableOptions::numOfOptions]
 

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().

unsigned long SingleBeliefs::timeStamp
 

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().

RateableOptions::OptionID SingleBeliefs::lastBestOpt[RateableOptions::numOfOptionClasses] [private]
 

Definition at line 51 of file CollectedBeliefs.h.

Referenced by getBestOptionInOptionClass(), and SingleBeliefs().


The documentation for this class was generated from the following files:
Generated on Thu Sep 23 20:11:46 2004 for GT2004 by doxygen 1.3.6