eaLib API Docs
Last Modified : January 7 2002

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

Fields inherited from class mss.ea.core.GeneticOperator
description, ID, name
 
Constructor Summary
XMLPrintProcessor()
          Constructor.
XMLPrintProcessor(java.io.PrintWriter pw)
          Constructor with printwriter.
XMLPrintProcessor(java.lang.String file, boolean append)
          Constructor with file.
 
Method Summary
 IndividualStream process(IndividualStream is)
          Processes an individual stream.
 
Methods inherited from class mss.ea.core.GeneticOperator
getDescription, getID, getName, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface mss.ea.core.StreamProcessor
getName
 

Constructor Detail

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 to
append - flag for setting append mode
Method Detail

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 -  

eaLib API Docs
Last Modified : January 7 2002

Copyright © 2000-2001 Technical University of Ilmenau, Department ESS