Class WorldModel {Java}

Documentation
* Controls the updating of the GlobalMemory and has the option
* of creating a window displaying the agent's world view.
* The world model seperates the dynamic and static objects from the
* agent's perception. The static objects are represented by
* absolute coordinates and used to calculate the agent's and then
* everything else's absolute position on the field. Information
* on the dynamic objects is kept limited in order to create a
* nearly reactive agent architecture for the player.
*
* @author Paul A. Buhler
* @version $Revision: 1.22 $, $Date: 2001/02/27 22:24:31 $
*


Parent PackagebiterAbstractNo
Export ControlPublicAccessLink Class forNone
Class KindNormalClassCardinalityn
Space ConcurrencySequential
PersistenceNo  


Assigned ComponentsWorldModel


Operations
NameSignatureClass
getBallInfoBallInfo getBallInfo ()WorldModel
getSidechar getSide ()WorldModel
WorldModel WorldModel (ConfigurationData cfgData, DatagramWrapper dgWrapper, PlayerFoundation player, boolean display, int age, String team, int uniformNumber, char side, RefereeMessage lastMessage)WorldModel
addInputvoid addInput (Input myData)WorldModel
computeFaceDirectiondouble computeFaceDirection (ArrayList visualInfo, HashMap staticObjects)WorldModel
approximateLocationOfSelfvoid approximateLocationOfSelf (ArrayList visualInfo, HashMap staticObjects)WorldModel
forgetBallvoid forgetBall ()WorldModel
updateAbsolutePositionsvoid updateAbsolutePositions ()WorldModel
isObjectInListint isObjectInList (DynamicObjectInfo object, ArrayList list)WorldModel
updateWorldModelvoid updateWorldModel (ArrayList sensoryInfo)WorldModel
incorporateHearInfovoid incorporateHearInfo (ArrayList hearInformation, ArrayList dynamicObjects, SelfInfo self)WorldModel
initStaticObjectsHashMap initStaticObjects ()WorldModel
isPlayModeboolean isPlayMode (String s)WorldModel


Attributes
NameClassTypeInitial Value
ageWorldModelint 
currentCycleWorldModellong 


Associations
NameMy RoleMy ClassOther RoleOther Element
--Not Named----Not Named--WorldModeldgWrapperDatagramWrapper
--Not Named----Not Named--WorldModelcfgDataConfigurationData
--Not Named----Not Named--WorldModeldisplayWorldModelDisplayWorldModel
--Not Named----Not Named--WorldModelplayerPlayerFoundation
--Not Named----Not Named--WorldModeldynamicObjectsArrayList
--Not Named----Not Named--WorldModelhearInformationArrayList
--Not Named----Not Named--WorldModelstaticObjectsHashMap
--Not Named----Not Named--WorldModelselfSelfInfo
--Not Named----Not Named--WorldModellastMessageRefereeMessage
--Not Named--worldModelWorldModel--Not Named--DisplayWorldModel
--Not Named----Not Named--WorldModelballinfoBallInfo
--Not Named--wmWorldModel--Not Named--PlayerFoundation
--Not Named----Not Named--WorldModel--Not Named--DynamicObjectInfo



Property Settings

Java
GenerateFinalizerFalseGenerateStaticInitializerFalse
GenerateInstanceInitializerFalseGenerateDefaultConstructorFalse
FinalFalseStaticFalse
ConstructorIspublicCtor_Setpublic, protected, private, package
GenerateCodeTrueDisableAutoSyncFalse


Data Modeler
dmItemFalseDMName 
IsTableFalseIsViewFalse
Synonymns TableSpace 
SourceId SourceType 
SelectClause IsUpdatableFalse
CheckOption0