mss.ea.stat
Class XMLPrintProcessor
java.lang.Object
|
+--mss.ea.core.GeneticOperator
|
+--mss.ea.stat.XMLPrintProcessor
- All Implemented Interfaces:
- SingleStreamProcessor, StreamProcessor
- public class XMLPrintProcessor
- extends GeneticOperator
- implements SingleStreamProcessor
Processor for printing individual streasm into XML files.
This operator could/should be used for debug purposes.
- Since:
- 0.1
- Version:
- 0.1 (07-26-2001)
- Author:
- Andreas Rummler
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
XMLPrintProcessor
public XMLPrintProcessor()
- Constructor.
This sets the xml printer to System.out.
XMLPrintProcessor
public XMLPrintProcessor(java.io.PrintWriter pw)
- Constructor with printwriter.
- Parameters:
pw
- printwriter to write to
XMLPrintProcessor
public XMLPrintProcessor(java.lang.String file,
boolean append)
- Constructor with file.
- Parameters:
file
- file to write toappend
- flag for setting append mode
process
public IndividualStream process(IndividualStream is)
- Description copied from interface:
SingleStreamProcessor
- Processes an individual stream.
- Specified by:
process
in interface SingleStreamProcessor
- Following copied from interface:
mss.ea.core.SingleStreamProcessor
- Parameters:
is
- individual stream to process- Returns:
- processed stream of individuals
- Throws:
EAException
-
Copyright © 2000-2001 Technical University of Ilmenau, Department ESS