|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.anji.ttt.TttPlayerTranscriber
Constructor Summary | |
TttPlayerTranscriber()
default ctor |
Method Summary | |
java.lang.Class |
getPhenotypeClass()
|
void |
init(Properties props)
|
BoardPlayer |
newBoardPlayer(Chromosome c)
|
Player |
newPlayer(Chromosome c)
|
java.lang.Object |
transcribe(Chromosome c)
Sub-classes must implement this method to convert the genotype to a phenotype. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public TttPlayerTranscriber()
Method Detail |
public java.lang.Object transcribe(Chromosome c) throws TranscriberException
Transcriber
transcribe
in interface Transcriber
c
- chromosome to transcribe
TranscriberException
Transcriber.transcribe(org.jgap.Chromosome)
public Player newPlayer(Chromosome c) throws TranscriberException
newPlayer
in interface PlayerTranscriber
c
- chromosome to transcribe
Player
phenotype
TranscriberException
PlayerTranscriber.newPlayer(org.jgap.Chromosome)
public BoardPlayer newBoardPlayer(Chromosome c) throws TranscriberException
c
-
TranscriberException
public java.lang.Class getPhenotypeClass()
getPhenotypeClass
in interface Transcriber
transcribe()
Transcriber.getPhenotypeClass()
public void init(Properties props) throws java.lang.Exception
init
in interface Configurable
props
- configuration parameters
java.lang.Exception
Configurable.init(com.anji.util.Properties)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |