Package samer.mds
Class NewMDS.Laplacian
- java.lang.Object
- 
- samer.mds.NewMDS.Laplacian
 
- 
- All Implemented Interfaces:
- NewMDS.Stress
 - Enclosing class:
- NewMDS
 
 
 public static class NewMDS.Laplacian extends java.lang.Object implements NewMDS.Stress 
- 
- 
Constructor SummaryConstructors Constructor and Description Laplacian(int E)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method and Description booleanadd(double target, double[] x, double[] y, double[] g)add stress due to link from x to y.doubledone()finish accumulating stress terms: reset accumulators for next iteration and return normalised stress (ie per link)doubleget()return last stress value
 
- 
- 
- 
Method Detail- 
addpublic boolean add(double target, double[] x, double[] y, double[] g)add stress due to link from x to y. Force in link is returned in g. Target is assumed to be a length measured according to a 1-norm.- Specified by:
- addin interface- NewMDS.Stress
 
 - 
donepublic double done() finish accumulating stress terms: reset accumulators for next iteration and return normalised stress (ie per link)- Specified by:
- donein interface- NewMDS.Stress
 
 - 
getpublic double get() return last stress value- Specified by:
- getin interface- NewMDS.Stress
 
 
- 
 
-