public abstract class AbstractProgessStreamer extends Object implements IProgressStreamer
Constructor and Description |
---|
AbstractProgessStreamer(com.dna.jopt.revision.algorithm.IOptimizationAlgorithm algo) |
Modifier and Type | Method and Description |
---|---|
void |
addPrintStream(PrintStream printStream) |
double |
getCurrentProgress() |
int |
getCurrentRepetion() |
String |
getDebugData() |
IOptimization |
getOptimization() |
com.dna.jopt.revision.algorithm.IOptimizationAlgorithm |
getOptimizationAlgorithm() |
List<PrintStream> |
getPrintStreamer() |
void |
setCurrentProgress(double progress) |
void |
setCurrentRepetion(int repetion) |
void |
setDebugData(String debugString) |
void |
setOptimization(IOptimization opti) |
void |
stream(IEntity winner) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAsProgressString, stream2Optimization
public AbstractProgessStreamer(com.dna.jopt.revision.algorithm.IOptimizationAlgorithm algo)
public void setCurrentProgress(double progress)
setCurrentProgress
in interface IProgressStreamer
public double getCurrentProgress()
getCurrentProgress
in interface IProgressStreamer
public void setCurrentRepetion(int repetion)
setCurrentRepetion
in interface IProgressStreamer
public int getCurrentRepetion()
getCurrentRepetion
in interface IProgressStreamer
public com.dna.jopt.revision.algorithm.IOptimizationAlgorithm getOptimizationAlgorithm()
getOptimizationAlgorithm
in interface IProgressStreamer
public void stream(IEntity winner)
stream
in interface IProgressStreamer
public void setOptimization(IOptimization opti)
setOptimization
in interface IProgressStreamer
public IOptimization getOptimization()
getOptimization
in interface IProgressStreamer
public void addPrintStream(PrintStream printStream)
addPrintStream
in interface IProgressStreamer
public List<PrintStream> getPrintStreamer()
getPrintStreamer
in interface IProgressStreamer
public void setDebugData(String debugString)
setDebugData
in interface IProgressStreamer
public String getDebugData()
getDebugData
in interface IProgressStreamer
Copyright © 2017–2023 DNA Evolutions GmbH. All rights reserved.