org.moyoman.module.joseki
Interface Joseki

All Superinterfaces:
Cloneable, ModuleInterface, Serializable
All Known Implementing Classes:
JosekiImpl

public interface Joseki
extends ModuleInterface

The class that implements this interface determines sequences of moves in the corner. These moves may correspond to standard book moves, or they may be generated by the module.


Field Summary
static float CONFIDENCE
           
 
Method Summary
 float evaluateMove(Stone next)
          Evaluate the parameter as a possible move.
 MoveDescriptorForest getSequences()
          Return sequences of moves that match positions on the board.
 
Methods inherited from interface org.moyoman.module.ModuleInterface
clone, getMoves, getScheduler
 

Field Detail

CONFIDENCE

public static final float CONFIDENCE
See Also:
Constant Field Values
Method Detail

getSequences

public MoveDescriptorForest getSequences()
Return sequences of moves that match positions on the board. Sequences for all four corners are returned. No attempt is made to match the correct joseki to the whole board situation. That is the responsibility of the fuseki module. This method only returns good moves.

Returns:
a MoveDescriptorForest object which contains possible sequences.

evaluateMove

public float evaluateMove(Stone next)
Evaluate the parameter as a possible move.

Parameters:
next - The potential next move.
Returns:
A float, where 1.0 is a good move, and -1.0 is a bad move.