![]() |
00001 // 00002 // QLearningAgent.h 00003 // Author: Thomas Taylor 00004 // 00005 // Handles the machine learning using Q-learning 00006 // 00007 // 15/01/2012: Created class 00008 // 00009 00010 #import "AgentStats.h" 00011 #import "CogitoAgent.h" 00012 #import "KnowledgeBase.h" 00013 #import "QState.h" 00014 00015 @interface QLearningAgent : CogitoAgent 00016 00017 { 00018 CCArray* gameStates; 00019 00020 QState* currentState; 00021 Action currentAction; 00022 } 00023 00024 @end