public class SiThreadedPsdEvaluator extends MultithreadedPsdEvaluator implements IFinishListener, IIntervalListener
Modifier and Type | Field and Description |
---|---|
private SiFrame |
frame |
private long |
timeLastRender |
FPS_GRAPHICS, workers
Constructor and Description |
---|
SiThreadedPsdEvaluator(Parser parser,
int measureInterval,
int numThreads) |
Modifier and Type | Method and Description |
---|---|
protected double |
calculateHierarchyError(Individual i)
It is not implemented
|
protected double |
calculateHierarchyErrorDiscrete(Individual ind) |
protected double |
calculateHierarchyErrorFromReference(Individual i)
It is not implemented
|
void |
handleSimulationFinish(int workerId,
int workId) |
void |
setHierarchy(double[] genes) |
AbstractEvaluator |
setShowGraphics(boolean showGraphics) |
calculatePsdFromIndividual, dispose, evaluate, handleSimulationIntervalFinish
calculateFrobeniusNormErrorMatrix, getCurrentDifference, getCurrentError, getCurrentIteration, getCurrentPopulation, getCurrentPsd, getCurrentSimulation, getIndividualCount, getMeasureInterval, getProgressPercent, getPsdSizeX, getPsdSizeY, getRepeats, getSimulationCount, hasKmcFailed, kmcHasFailed, resetKmcError, setCurrentPopulation, setCurrentSimulation, setExpectedSimulationTime, setPsd, setPsdSizeX, setPsdSizeY, setRepeats
getSurface, getWheight, setWheight, showGraphics
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
handleSimulationIntervalFinish
private SiFrame frame
private long timeLastRender
public SiThreadedPsdEvaluator(Parser parser, int measureInterval, int numThreads)
public AbstractEvaluator setShowGraphics(boolean showGraphics)
setShowGraphics
in class AbstractEvaluator
public void handleSimulationFinish(int workerId, int workId)
handleSimulationFinish
in interface IFinishListener
handleSimulationFinish
in class MultithreadedPsdEvaluator
protected double calculateHierarchyError(Individual i)
calculateHierarchyError
in class AbstractPsdEvaluator
i
- protected double calculateHierarchyErrorFromReference(Individual i)
calculateHierarchyErrorFromReference
in class AbstractPsdEvaluator
i
- protected double calculateHierarchyErrorDiscrete(Individual ind)
calculateHierarchyErrorDiscrete
in class AbstractPsdEvaluator
public void setHierarchy(double[] genes)
setHierarchy
in class AbstractPsdEvaluator