MW::HeuristicAgent Class Reference

Inheritance diagram for MW::HeuristicAgent:
[legend]
Collaboration diagram for MW::HeuristicAgent:
[legend]

List of all members.

Public Member Functions

def getAllMoves
def getMoveHelper


Detailed Description

This agent is based off of the results from the learning agent, it is
essentially the strategy of the learning agent in a boiled down form, so
that a human player could remember and use the strategy; thus, the
heuristic nature of the strategy.  The strategy itself is explained
in my project write-up

Member Function Documentation

def MW::HeuristicAgent::getAllMoves (   self  ) 

This function gets all of the moves for each player simultaneously
by calling getMoveHelper, which applies the heuristic that
we have developed

def MW::HeuristicAgent::getMoveHelper (   self,
  player 
)

This function divides a player's situation up into
'buckets' and then makes a buying decision based on which
buckets the player falls into.  The heuristic is 
relatively simple and is designed so that a player
playing this game during a behavioral experiment
could remember it.


The documentation for this class was generated from the following file:

Generated on Mon Apr 21 22:45:48 2008 for Milks and Wheats by  doxygen 1.5.5