GeneThello Home

net.sf.genethello.applet
Class Constants

java.lang.Object
  extended by net.sf.genethello.applet.Constants

public class Constants
extends java.lang.Object

Constants shared by several modules.

Author:
praz

Field Summary
static int BLACK
          Square value of black player.
static int COLNUM
          Number of columns.
static java.lang.String[] COLS
          Column's alphabet notation.
static int DEFAULT_PLAYING_TIME
          Default playing time in seconds.
static int EVAL_CORNERS
          Feature index of corners number.
static int EVAL_DISCS
          Feature index of discs number.
static int EVAL_FLIPS
          Feature index of flips number.
static int EVAL_MOBILITY
          Feature index of mobility.
static int EVAL_PATTERN
          Feature index of pattern.
static int EVAL_XSQUARES
          Feature index of x-squares number.
static int GENERATE_LENGTH
          Maximum length of valid moves.
static int MACHINE
          Computer player.
static int MAN
          Human player.
static int MAX_DEPTH
          Maximum thinking depth
static int OUTSIDE
          Outside the board.
static java.lang.String PROPERTY
          Property change event when a move is performed.
static java.lang.String REPLAYING_PROPERTY
          Property change event when a move is performed while replaying.
static int ROWNUM
          Number of rows.
static int SQNUM
          Number of squares.
static int UNDO_DEPTH
          Maximum depth of undo.
static int WHITE
          Square value of white player.
 
Constructor Summary
Constants()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SQNUM

public static final int SQNUM
Number of squares.

See Also:
Constant Field Values

COLNUM

public static final int COLNUM
Number of columns.

See Also:
Constant Field Values

ROWNUM

public static final int ROWNUM
Number of rows.

See Also:
Constant Field Values

UNDO_DEPTH

public static final int UNDO_DEPTH
Maximum depth of undo.

See Also:
Constant Field Values

GENERATE_LENGTH

public static final int GENERATE_LENGTH
Maximum length of valid moves.

See Also:
Constant Field Values

EVAL_FLIPS

public static final int EVAL_FLIPS
Feature index of flips number.

See Also:
Constant Field Values

EVAL_DISCS

public static final int EVAL_DISCS
Feature index of discs number.

See Also:
Constant Field Values

EVAL_MOBILITY

public static final int EVAL_MOBILITY
Feature index of mobility.

See Also:
Constant Field Values

EVAL_CORNERS

public static final int EVAL_CORNERS
Feature index of corners number.

See Also:
Constant Field Values

EVAL_XSQUARES

public static final int EVAL_XSQUARES
Feature index of x-squares number.

See Also:
Constant Field Values

EVAL_PATTERN

public static final int EVAL_PATTERN
Feature index of pattern.

See Also:
Constant Field Values

BLACK

public static final int BLACK
Square value of black player. For convenience, choose the values such that OUTSIDE = BLACK + WHITE

See Also:
Constant Field Values

WHITE

public static final int WHITE
Square value of white player. For convenience, choose the values such that OUTSIDE = BLACK + WHITE

See Also:
Constant Field Values

OUTSIDE

public static final int OUTSIDE
Outside the board. For convenience, choose the values such that OUTSIDE = BLACK + WHITE

See Also:
Constant Field Values

MAN

public static final int MAN
Human player.

See Also:
Constant Field Values

MACHINE

public static final int MACHINE
Computer player.

See Also:
Constant Field Values

PROPERTY

public static final java.lang.String PROPERTY
Property change event when a move is performed.

See Also:
Constant Field Values

REPLAYING_PROPERTY

public static final java.lang.String REPLAYING_PROPERTY
Property change event when a move is performed while replaying.

See Also:
Constant Field Values

COLS

public static final java.lang.String[] COLS
Column's alphabet notation.


MAX_DEPTH

public static int MAX_DEPTH
Maximum thinking depth


DEFAULT_PLAYING_TIME

public static final int DEFAULT_PLAYING_TIME
Default playing time in seconds.

See Also:
Constant Field Values
Constructor Detail

Constants

public Constants()

GeneThello Home

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