|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.anji.gomoku.GomokuPlayerTranscriber
public class GomokuPlayerTranscriber
| Constructor Summary | |
|---|---|
GomokuPlayerTranscriber()
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 GomokuPlayerTranscriber()
| Method Detail |
|---|
public java.lang.Object transcribe(Chromosome c)
throws TranscriberException
Transcriber
transcribe in interface Transcriberc - chromosome to transcribe
TranscriberExceptionTranscriber.transcribe(org.jgap.Chromosome)
public Player newPlayer(Chromosome c)
throws TranscriberException
newPlayer in interface PlayerTranscriberc - chromosome to transcribe
Player phenotype
TranscriberExceptionPlayerTranscriber.newPlayer(org.jgap.Chromosome)
public BoardPlayer newBoardPlayer(Chromosome c)
throws TranscriberException
c -
TranscriberExceptionpublic java.lang.Class getPhenotypeClass()
getPhenotypeClass in interface Transcribertranscribe()Transcriber.getPhenotypeClass()
public void init(Properties props)
throws java.lang.Exception
init in interface Configurableprops - configuration parameters
java.lang.ExceptionConfigurable.init(com.anji.util.Properties)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||