comirva.mlearn
Class SammonsMapping
java.lang.Object
comirva.mlearn.SammonsMapping
public class SammonsMapping
- extends Object
Method Summary |
double |
getError()
|
double[][] |
getLowcoords()
|
void |
iterate(int iterations,
double threshold,
long milliseconds)
iterates until one of the given constraints is satisfied |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SammonsMapping
public SammonsMapping(double[][] datadistances)
iterate
public void iterate(int iterations,
double threshold,
long milliseconds)
- iterates until one of the given constraints is satisfied
- Parameters:
iterations
- maximum number of iterationthreshold
- decrease of error between 2 subsequent iterations is below this valuemilliseconds
- time tolerated
getError
public double getError()
getLowcoords
public double[][] getLowcoords()