Package com.macrofocus.high_d.mds
Class AbstractMDSEngine
- java.lang.Object
-
- com.macrofocus.high_d.mds.AbstractMDSEngine
-
- All Implemented Interfaces:
MDSEngine
- Direct Known Subclasses:
PCAMDSEngine
,SammonMDSEngine
,SpringMDSEngine
,TSNEMDSEngine
public abstract class AbstractMDSEngine extends java.lang.Object implements MDSEngine
Created by luc on 26/04/16.
-
-
Constructor Summary
Constructors Constructor Description AbstractMDSEngine(CPExecutor executor)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description void
addEngineListener(MDSEngineListener engineListener)
double
computeStress()
abstract CPExecutor.Command
createRunCommand()
protected abstract com.macrofocus.molap.dataframe.matrix.Matrix
getDistanceTable()
boolean
isAlive()
boolean
isInterrupted()
protected void
notifyEngineFinished(MDSEngineEvent event)
protected void
notifyEngineIterated(MDSEngineEvent event)
void
removeEngineListener(MDSEngineListener engineListener)
void
startEngine()
void
stopEngine()
-
-
-
Constructor Detail
-
AbstractMDSEngine
public AbstractMDSEngine(CPExecutor executor)
-
-
Method Detail
-
computeStress
public double computeStress()
- Specified by:
computeStress
in interfaceMDSEngine
-
getDistanceTable
protected abstract com.macrofocus.molap.dataframe.matrix.Matrix getDistanceTable()
-
startEngine
public void startEngine()
- Specified by:
startEngine
in interfaceMDSEngine
-
stopEngine
public void stopEngine()
- Specified by:
stopEngine
in interfaceMDSEngine
-
isInterrupted
public boolean isInterrupted()
-
createRunCommand
public abstract CPExecutor.Command createRunCommand()
-
addEngineListener
public void addEngineListener(MDSEngineListener engineListener)
- Specified by:
addEngineListener
in interfaceMDSEngine
-
removeEngineListener
public void removeEngineListener(MDSEngineListener engineListener)
- Specified by:
removeEngineListener
in interfaceMDSEngine
-
notifyEngineIterated
protected void notifyEngineIterated(MDSEngineEvent event)
-
notifyEngineFinished
protected void notifyEngineFinished(MDSEngineEvent event)
-
-