All Data Structures Files Functions Variables Enumerations Enumerator Properties Defines
/Projects/Cogito/src/GameObjects/CogitoAgents/ShortestRouteAgent.h
Go to the documentation of this file.
00001 //
00002 //  ShortestRouteAgent.h
00003 //  Author: Thomas Taylor
00004 //
00005 //  Handles the machine learning using a shortest route policy
00006 //
00007 //  18/02/2012: Created class
00008 //
00009 
00010 #import "AgentStats.h"
00011 #import "CogitoAgent.h"
00012 #import "Route.h"
00013 #import "State.h"
00014 
00015 @interface ShortestRouteAgent : CogitoAgent
00016 
00017 {
00018     CCArray* routes;        // list of all taken routes
00019     Route* currentRoute;    // the current route
00020     
00021     // shortest route vars
00022     Route* optimumRoute;  
00023     int optimumRouteIndex;    
00024 }
00025 
00026 @end