|
Evolvica Core API Version 0.6.3 Last Modified: July 20 2004 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.evolvica.engine.AbstractOperator
org.evolvica.core.common.AbstractGeneticOperator
org.evolvica.core.common.AbstractWriter
org.evolvica.core.common.FileWriter
org.evolvica.core.common.ASCIIFileWriter
Processor for saving individual sets to plain ASCII files. This processor performs a toString() on each individual in the collection. Everytime the write() method is invoked the collection is written to a different file. A set written to an ASCII file cannot be restored from that file.
| Field Summary | |
protected boolean |
genotypeSurpressed
Indicator if printing of genetic representation should be surpressed. |
| Fields inherited from class org.evolvica.core.common.FileWriter |
body, directory, suffix |
| Fields inherited from class org.evolvica.engine.AbstractOperator |
descriptor, element, id, name |
| Constructor Summary | |
ASCIIFileWriter()
Constructor. |
|
ASCIIFileWriter(java.lang.String body,
java.lang.String suffix)
Constructor with filename body and suffix. |
|
| Method Summary | |
boolean |
isGenotypeSurpressed()
Checks if the printing of the genotype will be surpressed. |
void |
setGenotypeSurpressed(boolean b)
Sets a flag to surpress the printing of the genotype. |
void |
write(IIndividualSet set)
Saves the individual collection to a file. |
| Methods inherited from class org.evolvica.core.common.FileWriter |
getBody, getDirectory, getSuffix, setBody, setDirectory, setSuffix |
| Methods inherited from class org.evolvica.core.common.AbstractWriter |
process |
| Methods inherited from class org.evolvica.engine.AbstractOperator |
attachDescriptor, attachElement, descriptor, element, getId, getName, setId, setName |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.evolvica.engine.IOperator |
attachDescriptor, attachElement, descriptor, element, getId, getName, setId, setName |
| Field Detail |
protected boolean genotypeSurpressed
| Constructor Detail |
public ASCIIFileWriter()
public ASCIIFileWriter(java.lang.String body,
java.lang.String suffix)
body - body of filename to write tosuffix - suffix to be used| Method Detail |
public void write(IIndividualSet set)
set - individual set to be savedpublic boolean isGenotypeSurpressed()
public void setGenotypeSurpressed(boolean b)
b - flag if genotype printing should be surpressed
|
Evolvica Core API Version 0.6.3 Last Modified: July 20 2004 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||