|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.anji.integration.ActivatorTranscriber
Factory interface to abstract construction of neural network objects. JOONE implementation is not currently supported, but the guts of the code remain to be re-addressed later.
Field Summary | |
static java.lang.String |
ANJI_TYPE
enumerated type constant for ANJI ANN |
static java.lang.String |
JOONE_TYPE
enumerated type constant for JOONE ANN |
static java.lang.String |
RECURRENT_CYCLES_KEY
# recurrent cycles properties key |
static java.lang.String |
TYPE_KEY
neural network type properties key |
Constructor Summary | |
ActivatorTranscriber()
|
Method Summary | |
java.lang.Class |
getPhenotypeClass()
|
void |
init(Properties props)
See Parameter Details for specific property settings. |
Activator |
newActivator(Chromosome ch)
Constructs Activator phenotype from Chromosome genotype. |
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 |
Field Detail |
public static final java.lang.String TYPE_KEY
public static final java.lang.String RECURRENT_CYCLES_KEY
public static final java.lang.String ANJI_TYPE
public static final java.lang.String JOONE_TYPE
Constructor Detail |
public ActivatorTranscriber()
Method Detail |
public void init(Properties props)
init
in interface Configurable
props
- configuration parameterspublic Activator newActivator(Chromosome ch) throws TranscriberException
Activator
phenotype from Chromosome
genotype. The
specific implementatrion of Activator is determined by configuration parameters.
ch
- Chromosome
from which activator will be built
Chromosome
genotype
TranscriberException
public java.lang.Class getPhenotypeClass()
getPhenotypeClass
in interface Transcriber
transcribe()
Transcriber.getPhenotypeClass()
public java.lang.Object transcribe(Chromosome c) throws TranscriberException
Transcriber
transcribe
in interface Transcriber
c
- chromosome to transcribe
TranscriberException
Transcriber.transcribe(Chromosome)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |