public abstract class AbstractResultStreamer extends Object implements IResultStreamer
Constructor and Description |
---|
AbstractResultStreamer(com.dna.jopt.revision.algorithm.IOptimizationAlgorithm algo) |
Modifier and Type | Method and Description |
---|---|
void |
addDebugData(String debugString) |
void |
addObjectOutputStream(ObjectOutputStream oos) |
void |
addPrintStream(PrintStream printStream) |
List<ObjectOutputStream> |
getObjectOutputStreams() |
IOptimization |
getOptimization() |
com.dna.jopt.revision.algorithm.IOptimizationAlgorithm |
getOptimizationAlgorithm() |
List<PrintStream> |
getPrintStreamer() |
void |
setOptimization(IOptimization opti) |
void |
stream(IEntity winner) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAsResultString, stream2Optimization
public AbstractResultStreamer(com.dna.jopt.revision.algorithm.IOptimizationAlgorithm algo)
public com.dna.jopt.revision.algorithm.IOptimizationAlgorithm getOptimizationAlgorithm()
getOptimizationAlgorithm
in interface IResultStreamer
public void stream(IEntity winner)
stream
in interface IResultStreamer
public void setOptimization(IOptimization opti)
setOptimization
in interface IResultStreamer
public IOptimization getOptimization()
getOptimization
in interface IResultStreamer
public void addPrintStream(PrintStream printStream)
addPrintStream
in interface IResultStreamer
public List<PrintStream> getPrintStreamer()
getPrintStreamer
in interface IResultStreamer
public void addObjectOutputStream(ObjectOutputStream oos)
addObjectOutputStream
in interface IResultStreamer
public List<ObjectOutputStream> getObjectOutputStreams()
getObjectOutputStreams
in interface IResultStreamer
public void addDebugData(String debugString)
addDebugData
in interface IResultStreamer
Copyright © 2017–2023 DNA Evolutions GmbH. All rights reserved.