GeneThello Home

net.sf.genethello.gametheory
Class RatedMove

java.lang.Object
  extended by net.sf.genethello.gametheory.Move
      extended by net.sf.genethello.gametheory.RatedMove

public class RatedMove
extends Move

A move of game with rating.

Author:
Administrator

Field Summary
 int rating
           
 
Fields inherited from class net.sf.genethello.gametheory.Move
index
 
Constructor Summary
RatedMove(int i, int r)
          Creates a new instance of Move
 
Method Summary
 int getRating()
          Gets rating of the move.
 void setRating(int rt)
          Sets rating of the move
 java.lang.String toString()
           
 
Methods inherited from class net.sf.genethello.gametheory.Move
equals, hashCode
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

rating

public int rating
Constructor Detail

RatedMove

public RatedMove(int i,
                 int r)
Creates a new instance of Move

Method Detail

getRating

public final int getRating()
Gets rating of the move.

Returns:
rating

setRating

public final void setRating(int rt)
Sets rating of the move

Parameters:
rt - rating

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

GeneThello Home

Get GeneThello: Genetic Othello at SourceForge.net. Fast, secure and Free Open Source software downloads