Class AbstractProgessStreamer
java.lang.Object
com.dna.jopt.framework.stream.progress.AbstractProgessStreamer
- All Implemented Interfaces:
IProgressStreamer
- Direct Known Subclasses:
SimpleProgressStreamer
-
Constructor Summary
ConstructorDescriptionAbstractProgessStreamer
(com.dna.jopt.revision.algorithm.IOptimizationAlgorithm algo) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addPrintStream
(PrintStream printStream) double
int
com.dna.jopt.revision.algorithm.IOptimizationAlgorithm
void
setCurrentProgress
(double progress) void
setCurrentRepetion
(int repetion) void
setDebugData
(String debugString) void
setOptimization
(IOptimization opti) void
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.dna.jopt.framework.stream.progress.IProgressStreamer
getAsProgressString, stream2Optimization
-
Constructor Details
-
AbstractProgessStreamer
public AbstractProgessStreamer(com.dna.jopt.revision.algorithm.IOptimizationAlgorithm algo)
-
-
Method Details
-
setCurrentProgress
public void setCurrentProgress(double progress) - Specified by:
setCurrentProgress
in interfaceIProgressStreamer
-
getCurrentProgress
public double getCurrentProgress()- Specified by:
getCurrentProgress
in interfaceIProgressStreamer
-
setCurrentRepetion
public void setCurrentRepetion(int repetion) - Specified by:
setCurrentRepetion
in interfaceIProgressStreamer
-
getCurrentRepetion
public int getCurrentRepetion()- Specified by:
getCurrentRepetion
in interfaceIProgressStreamer
-
getOptimizationAlgorithm
public com.dna.jopt.revision.algorithm.IOptimizationAlgorithm getOptimizationAlgorithm()- Specified by:
getOptimizationAlgorithm
in interfaceIProgressStreamer
-
stream
- Specified by:
stream
in interfaceIProgressStreamer
-
setOptimization
- Specified by:
setOptimization
in interfaceIProgressStreamer
-
getOptimization
- Specified by:
getOptimization
in interfaceIProgressStreamer
-
addPrintStream
- Specified by:
addPrintStream
in interfaceIProgressStreamer
-
getPrintStreamer
- Specified by:
getPrintStreamer
in interfaceIProgressStreamer
-
setDebugData
- Specified by:
setDebugData
in interfaceIProgressStreamer
-
getDebugData
- Specified by:
getDebugData
in interfaceIProgressStreamer
-