|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Persistence
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 |
---|
static final java.lang.String PERSISTENCE_CLASS_KEY
Method Detail |
---|
void init(Properties newProps)
init
in interface Configurable
newProps
- configuration parametersvoid reset()
void store(Chromosome c) throws java.lang.Exception
c
- chromosome to store
java.lang.Exception
void store(Activator a) throws java.lang.Exception
a
- activator to store
java.lang.Exception
void store(Run r) throws java.lang.Exception
r
- run to store
java.lang.Exception
void deleteChromosome(java.lang.String id) throws java.lang.Exception
id
id
- id of chromosome to delete
java.lang.Exception
Chromosome loadChromosome(java.lang.String id, Configuration config)
id
- config
-
Genotype loadGenotype(Configuration config)
config
-
void startRun(java.lang.String runId)
runId
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |