|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.anji.neat.NeatActivator
public class NeatActivator
Transcribe Chromosome object (loaded from persistence if necessary) into
Activator object and activate it with specified stimuli.
| Constructor Summary | |
|---|---|
NeatActivator()
|
|
| Method Summary | |
|---|---|
java.util.SortedMap |
activate(Activator activator)
Activate activator with stimuli, and return results |
java.util.SortedMap |
activate(java.lang.String chromId)
Load chromosome from persistence and activate it. |
java.lang.String |
displayActivation(java.lang.String chromId)
Load chromosome from persistencem transcribe it into activator, and activate it. |
void |
init(Properties props)
See Parameter Details for specific property settings. |
static void |
main(java.lang.String[] args)
Loads chromosome from persistence, transcribes it into activator, and displays activation. |
void |
reset()
reshuffle stimuli |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NeatActivator()
| Method Detail |
|---|
public void init(Properties props)
init in interface Configurableprops - configuration parameters.public void reset()
public java.util.SortedMap activate(java.lang.String chromId)
throws java.lang.Exception
chromId - persistence ID of chromosome
java.lang.Exceptionactivate(Activator)
public java.util.SortedMap activate(Activator activator)
throws java.lang.Exception
activator with stimuli, and return results
activator -
java.lang.Exception
public java.lang.String displayActivation(java.lang.String chromId)
throws java.lang.Exception
chromId - persistence ID of chromosome
java.lang.Exception
public static void main(java.lang.String[] args)
throws java.lang.Exception
args - args[0] is properties file name, args[1] is chromosome ID
java.lang.Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||