All Data Structures Files Functions Variables Enumerations Enumerator Properties Defines
/Projects/Cogito/src/GameObjects/CogitoAgents/CogitoAgent.h
Go to the documentation of this file.
00001 //
00002 //  CogitoAgent.h
00003 //  Author: Thomas Taylor
00004 //
00005 //  Base class for machine learning
00006 //
00007 //  20/02/2012: Created class
00008 //
00009 
00010 #import "AgentStats.h"
00011 #import "Lemming.h"
00012 #import "State.h"
00013 
00014 @interface CogitoAgent : Lemming
00015 
00016 {
00017     BOOL learningMode;
00018 }
00019 
00020 -(Action)selectAction:(State*)_state;
00021 -(Action)chooseRandomAction:(CCArray*)_actions;
00022 -(CCArray*)calculateAvailableActions:(State*)_state;
00023 -(State*)getStateForGameObject:(GameObject*)_object;
00024 
00025 @end