org.moyoman.debug
Class Continuous

java.lang.Object
  |
  +--org.moyoman.debug.Debug
        |
        +--org.moyoman.debug.Continuous

public class Continuous
extends Debug

This class is used to store evaluations of different moves. It contains a list of RatedMove objects, each of which represents a move along with its rating and the confidence of that rating.


Field Summary
private  ArrayList ratedMoves
          Each element is a RatedMove object.
 
Fields inherited from class org.moyoman.debug.Debug
 
Constructor Summary
Continuous(String h)
          Create a new Continuous object.
 
Method Summary
 void addMove(RatedMove move)
          Add a RatedMove to the list.
 void addMoves(RatedMove[] moves)
          Add an array of RatedMove objects to the list.
 RatedMove[] getRatedMoves()
          Return the RatedMove objects.
 DebugType getType()
          Get the debug type of this object.
 String toString()
          Return a String representation of this object.
 
Methods inherited from class org.moyoman.debug.Debug
getHeaderType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ratedMoves

private ArrayList ratedMoves
Each element is a RatedMove object.

Constructor Detail

Continuous

public Continuous(String h)
Create a new Continuous object.

Parameters:
h - The header.
Method Detail

addMove

public void addMove(RatedMove move)
Add a RatedMove to the list.

Parameters:
move - The RatedMove object to add.

addMoves

public void addMoves(RatedMove[] moves)
Add an array of RatedMove objects to the list.

Parameters:
moves - An array of RatedMove objects.

getRatedMoves

public RatedMove[] getRatedMoves()
Return the RatedMove objects.

Returns:
The array of RatedMove objects.

toString

public String toString()
Return a String representation of this object.

Overrides:
toString in class Object
Returns:
A String which represents this object.

getType

public DebugType getType()
Get the debug type of this object.

Specified by:
getType in class Debug
Returns:
DebugType.CONTINUOUS.