Class AbstractResultStreamer
java.lang.Object
com.dna.jopt.framework.stream.result.AbstractResultStreamer
- All Implemented Interfaces:
IResultStreamer
- Direct Known Subclasses:
SimpleResultStreamer
-
Constructor Summary
ConstructorsConstructorDescriptionAbstractResultStreamer(com.dna.jopt.revision.algorithm.IOptimizationAlgorithm algo) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddDebugData(String debugString) voidvoidaddPrintStream(PrintStream printStream) com.dna.jopt.revision.algorithm.IOptimizationAlgorithmvoidsetOptimization(IOptimization opti) voidMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.dna.jopt.framework.stream.result.IResultStreamer
getAsResultString, stream2Optimization
-
Constructor Details
-
AbstractResultStreamer
public AbstractResultStreamer(com.dna.jopt.revision.algorithm.IOptimizationAlgorithm algo)
-
-
Method Details
-
getOptimizationAlgorithm
public com.dna.jopt.revision.algorithm.IOptimizationAlgorithm getOptimizationAlgorithm()- Specified by:
getOptimizationAlgorithmin interfaceIResultStreamer
-
stream
- Specified by:
streamin interfaceIResultStreamer
-
setOptimization
- Specified by:
setOptimizationin interfaceIResultStreamer
-
getOptimization
- Specified by:
getOptimizationin interfaceIResultStreamer
-
addPrintStream
- Specified by:
addPrintStreamin interfaceIResultStreamer
-
getPrintStreamer
- Specified by:
getPrintStreamerin interfaceIResultStreamer
-
addObjectOutputStream
- Specified by:
addObjectOutputStreamin interfaceIResultStreamer
-
getObjectOutputStreams
- Specified by:
getObjectOutputStreamsin interfaceIResultStreamer
-
addDebugData
- Specified by:
addDebugDatain interfaceIResultStreamer
-