org.vizzini.game.search
Class DefaultTranspositionKeyCreator

java.lang.Object
  extended by org.vizzini.game.search.AbstractTranspositionKeyCreator
      extended by org.vizzini.game.search.DefaultTranspositionKeyCreator
All Implemented Interfaces:
ITranspositionKeyCreator

public class DefaultTranspositionKeyCreator
extends AbstractTranspositionKeyCreator

Provides a default transposition key creator. This class creates a key which consists of the first letter of each team and the first letter of each token name.

Since:
v0.3
Version:
v0.3
Author:
Jeffrey M. Thompson

Constructor Summary
DefaultTranspositionKeyCreator()
           
 
Method Summary
 String createKey(IEnvironment environment)
          Create a key as a String representation of the given environment.
 
Methods inherited from class org.vizzini.game.search.AbstractTranspositionKeyCreator
createKeyFromTokens, getFirstCharOrBlank
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultTranspositionKeyCreator

public DefaultTranspositionKeyCreator()
Method Detail

createKey

public String createKey(IEnvironment environment)
Description copied from interface: ITranspositionKeyCreator
Create a key as a String representation of the given environment.

Parameters:
environment - Environment.


Copyright 2007 Vizzini.org. All Rights Reserved. 2007.12.25.03.00.02