learningRules
Interface LearningRule

All Known Implementing Classes:
BgLearning, CondorcetLearning, HybridLearning, ImitateBestLearning, MyopicBRLearning, NeighborReinforce, PayoffLearning, SmoothBGLearning, SmoothPayoffLearning, SmoothReinforcement, StratReinforce

public interface LearningRule

An interface for strategy learning


Method Summary
 void newGeneration(Individual i)
          A function that resets the learning rule for a new generation
 int pickStrat(Individual i)
          Pick a strategy to play in a new generation
 void processPayoff(Individual i)
          Process the payoffs once they have played the game fully
 

Method Detail

newGeneration

public void newGeneration(Individual i)
                   throws ModelError
A function that resets the learning rule for a new generation

Parameters:
i - The calling individual
ModelError

processPayoff

public void processPayoff(Individual i)
                   throws ModelError
Process the payoffs once they have played the game fully

Parameters:
i - The calling individual
ModelError

pickStrat

public int pickStrat(Individual i)
Pick a strategy to play in a new generation

Parameters:
i - The calling individual