|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.simbrain.gauge.core.Settings
public class Settings
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 String |
addMethod
Method to add new datapoints. |
static String |
NN_SUBSPACE
Method for adding new datapoints. |
protected double |
perturbationAmount
Amount by which to perturb overlapping points. |
static String |
REFRESH
Method for adding new datapoints. |
protected double |
tolerance
Distance within which added points are considered old and are thus not added. |
static String |
TRIANGULATE
Method for adding new datapoints. |
| Constructor Summary | |
|---|---|
Settings()
|
|
| Method Summary | |
|---|---|
String |
getAddMethod()
|
static String[] |
getAddMethods()
|
double |
getEpsilon()
|
int |
getHiD1()
|
int |
getHiD2()
|
double |
getPerturbationAmount()
|
double |
getTolerance()
|
boolean |
isAutoFind()
|
void |
setAddMethod(String i)
|
void |
setAutoFind(boolean b)
|
void |
setEpsilon(double d)
|
void |
setHiD1(int i)
|
void |
setHiD2(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 |
|---|
public static final String REFRESH
public static final String TRIANGULATE
public static final String NN_SUBSPACE
protected double tolerance
protected double perturbationAmount
protected String addMethod
| Constructor Detail |
|---|
public Settings()
| Method Detail |
|---|
public boolean isAutoFind()
public double getEpsilon()
public int getHiD1()
public int getHiD2()
public void setAutoFind(boolean b)
b - whether coordinate projection is in auto-find modepublic void setEpsilon(double d)
d - epsilon value for Sammon mappublic void setHiD1(int i)
i - first coordinate projection axis for coordinate projectionpublic void setHiD2(int i)
i - second coordinate projection axis for coordinate projectionpublic double getPerturbationAmount()
public double getTolerance()
public void setPerturbationAmount(double d)
d - how much to perturn overlapping pointspublic void setTolerance(double d)
d - distance within which new points are not considered new.public String getAddMethod()
public void setAddMethod(String i)
i - method to use to add new pointspublic static String[] getAddMethods()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||