|
Evolvica Core API Version 0.6.2 Last Modified: June 29 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.Log4JWriter
Print processor that converts individuals to log messages. This class can be used for debugging purposes. Instead of simple printing, individual are sent to a Log4J log category. The log level is set to INFO.
Field Summary | |
protected org.apache.log4j.Category |
logCategory
The log category to send log messages to. |
protected java.lang.String |
logCategoryName
Name of the logging category. |
protected boolean |
surpressRepresentation
Indicator if printing of genetic representation should be surpressed. |
Fields inherited from class org.evolvica.engine.AbstractOperator |
descriptor, element, id, name |
Constructor Summary | |
Log4JWriter()
Defautl constructor. |
|
Log4JWriter(java.lang.String categoryName)
Constructor with log category name. |
Method Summary | |
void |
write(IIndividualSet set)
Sends all individuals in a set to the internal log category. |
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 surpressRepresentation
protected java.lang.String logCategoryName
protected org.apache.log4j.Category logCategory
Constructor Detail |
public Log4JWriter()
public Log4JWriter(java.lang.String categoryName)
categoryName
- log category nameMethod Detail |
public void write(IIndividualSet set)
set
- set of individuals to print
|
Evolvica Core API Version 0.6.2 Last Modified: June 29 2004 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |