Algorithm
Development Kit 1.0

algs.model.gametree
Class Pair

java.lang.Object
  extended by algs.model.gametree.Pair

public class Pair
extends java.lang.Object

Combines an IGameState position with a MoveEvaluation that produced the game state.

Since:
1.0
Version:
1.0, 6/15/08
Author:
George Heineman

Field Summary
 MoveEvaluation move
          The move evaluation that generated the state.
 IGameState state
          The game state in consideration.
 
Constructor Summary
Pair(IGameState s, MoveEvaluation m)
          Pair together the given game state and move evaluation.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

state

public final IGameState state
The game state in consideration.


move

public final MoveEvaluation move
The move evaluation that generated the state.

Constructor Detail

Pair

public Pair(IGameState s,
            MoveEvaluation m)
Pair together the given game state and move evaluation.


Algorithm Development Kit 1.0

This code supports the Algorithms in a Nutshell book, published by O'Reilly Media, Inc. in November 2008. Please visit the book web page to learn of any changes to the code repository or to record a potential defect.