GeneThello Home

net.sf.genethello.applet
Class PlayerInfo

java.lang.Object
  extended by net.sf.genethello.applet.PlayerInfo
All Implemented Interfaces:
java.io.Serializable

public class PlayerInfo
extends java.lang.Object
implements java.io.Serializable

Information of player.

Author:
praz
See Also:
Serialized Form

Field Summary
 int birth
          Generation of birth.
 java.lang.String chromosome
          String representation of chromosome.
 int current
          Current generation.
 int draw
          Number of draw.
 int elo
          ELO rating.
 int lose
          Number of lose.
 int win
          Number of win.
 
Constructor Summary
PlayerInfo()
          Creates new instance of player info.
PlayerInfo(java.lang.String c, int w, int l, int d, int e, int b, int cu)
          Creates new instance of player info.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

chromosome

public java.lang.String chromosome
String representation of chromosome.


birth

public int birth
Generation of birth.


current

public int current
Current generation.


win

public int win
Number of win.


lose

public int lose
Number of lose.


draw

public int draw
Number of draw.


elo

public int elo
ELO rating.

Constructor Detail

PlayerInfo

public PlayerInfo()
Creates new instance of player info.


PlayerInfo

public PlayerInfo(java.lang.String c,
                  int w,
                  int l,
                  int d,
                  int e,
                  int b,
                  int cu)
Creates new instance of player info.

Parameters:
c - string representation of chromosome
w - number of win
l - number of lose
d - number of draw
e - ELO rating
b - generation of birth
cu - current generation

GeneThello Home

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