org.hisee.core
Class Settings

java.lang.Object
  |
  +--org.hisee.core.Settings

public class Settings
extends java.lang.Object

Settings stores gauge parameters which must persist when the projection algorithm is changed, but which should not be static (which must be different when different instances of the Gauge class are created). Examples include settings particular to a specific projection algorithm.


Field Summary
protected  java.lang.String addMethod
           
static java.lang.String[] addMethods
           
static java.lang.String NN_SUBSPACE
           
protected  double perturbationAmount
           
static java.lang.String REFRESH
           
protected  double tolerance
           
static java.lang.String TRIANGULATE
           
 
Constructor Summary
Settings()
           
 
Method Summary
 java.lang.String getAddMethod()
           
 double getEpsilon()
           
 int getHi_d1()
           
 int getHi_d2()
           
 double getPerturbationAmount()
           
 double getTolerance()
           
 boolean isAutoFind()
           
 void setAddMethod(java.lang.String i)
           
 void setAutoFind(boolean b)
           
 void setEpsilon(double d)
           
 void setHi_d1(int i)
           
 void setHi_d2(int i)
           
 void setPerturbationAmount(double d)
           
 void setTolerance(double d)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

REFRESH

public static final java.lang.String REFRESH
See Also:
Constant Field Values

TRIANGULATE

public static final java.lang.String TRIANGULATE
See Also:
Constant Field Values

NN_SUBSPACE

public static final java.lang.String NN_SUBSPACE
See Also:
Constant Field Values

addMethods

public static java.lang.String[] addMethods

tolerance

protected double tolerance

perturbationAmount

protected double perturbationAmount

addMethod

protected java.lang.String addMethod
Constructor Detail

Settings

public Settings()
Method Detail

isAutoFind

public boolean isAutoFind()
Returns:
whether coordinate projection is in auto-find mode

getEpsilon

public double getEpsilon()
Returns:
epsilon value for Sammon map

getHi_d1

public int getHi_d1()
Returns:
first coordinate projection axis for coordinate projection

getHi_d2

public int getHi_d2()
Returns:
second coordinate projection axis for coordinate projection

setAutoFind

public void setAutoFind(boolean b)
Parameters:
b - whether coordinate projection is in auto-find mode

setEpsilon

public void setEpsilon(double d)
Parameters:
d - epsilon value for Sammon map

setHi_d1

public void setHi_d1(int i)
Parameters:
i - first coordinate projection axis for coordinate projection

setHi_d2

public void setHi_d2(int i)
Parameters:
i - second coordinate projection axis for coordinate projection

getPerturbationAmount

public double getPerturbationAmount()
Returns:
how much to perturb overlapping points

getTolerance

public double getTolerance()
Returns:
distance within which added points are not considered new

setPerturbationAmount

public void setPerturbationAmount(double d)
Parameters:
d - how much to perturn overlapping points

setTolerance

public void setTolerance(double d)
Parameters:
d - distance within which new points are not considered new.

getAddMethod

public java.lang.String getAddMethod()
Returns:
what method is being used to add new points

setAddMethod

public void setAddMethod(java.lang.String i)
Parameters:
i - what method to use to add new points


for more information see hisee.sourceforge.net