mechanics.intelligence
Class Memory

java.lang.Object
  extended by mechanics.intelligence.Memory
All Implemented Interfaces:
java.io.Serializable

public class Memory
extends java.lang.Object
implements java.io.Serializable

See Also:
Serialized Form

Field Summary
protected  boolean m_low
           
protected  PokemonType m_me
           
protected  java.lang.String m_move
           
protected  PokemonType m_opponent
           
protected  int m_score
           
 
Constructor Summary
Memory(PokemonType me, PokemonType opponent, boolean low, java.lang.String move)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
          Return whether two memories are semantically equal.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_me

protected PokemonType m_me

m_opponent

protected PokemonType m_opponent

m_low

protected boolean m_low

m_score

protected int m_score

m_move

protected java.lang.String m_move
Constructor Detail

Memory

public Memory(PokemonType me,
              PokemonType opponent,
              boolean low,
              java.lang.String move)
Parameters:
me - my type
opponent - the type of my opponent
low - whether my health is low (as defined by my own rules)
Method Detail

equals

public boolean equals(java.lang.Object obj)
Return whether two memories are semantically equal.

Overrides:
equals in class java.lang.Object