|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Abstract interface to persistence layer.
Field Summary | |
static java.lang.String |
PERSISTENCE_CLASS_KEY
properties key; persistence class implementation |
Method Summary | |
void |
deleteChromosome(java.lang.String id)
delete chromosome identified by by id |
void |
init(Properties newProps)
See Parameter Details for specific property settings. |
Chromosome |
loadChromosome(java.lang.String id,
Configuration config)
|
Genotype |
loadGenotype(Configuration config)
loads genotype as of latest generation in run |
void |
reset()
remove all data from storage |
void |
startRun(java.lang.String runId)
Begin run. |
void |
store(Activator a)
|
void |
store(Chromosome c)
|
void |
store(Run r)
|
Field Detail |
public static final java.lang.String PERSISTENCE_CLASS_KEY
Method Detail |
public void init(Properties newProps)
init
in interface Configurable
newProps
- configuration parameterspublic void reset()
public void store(Chromosome c) throws java.lang.Exception
c
- chromosome to store
java.lang.Exception
public void store(Activator a) throws java.lang.Exception
a
- activator to store
java.lang.Exception
public void store(Run r) throws java.lang.Exception
r
- run to store
java.lang.Exception
public void deleteChromosome(java.lang.String id) throws java.lang.Exception
id
id
- id of chromosome to delete
java.lang.Exception
public Chromosome loadChromosome(java.lang.String id, Configuration config)
id
- config
-
public Genotype loadGenotype(Configuration config)
config
-
public void startRun(java.lang.String runId)
runId
-
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |