|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.simbrain.gauge.core.Gauge
public class Gauge
Gauge is the main class of the high dimensional visualizer, which provides methods for changing and initializing various projection algorithms.
| Field Summary | |
|---|---|
static String[] |
PROJECTOR_LIST
List of available projection algorithms. |
| Constructor Summary | |
|---|---|
Gauge()
Default constructor for gauge. |
|
| Method Summary | |
|---|---|
void |
addDatapoint(double[] point)
Add a new point to the dataset, using the currently selected add method. |
Projector |
getCurrentProjector()
|
Projector |
getCurrentProjectorC()
|
String |
getDefaultProjector()
|
Dataset |
getDownstairs()
Convenience method to get downstairs dataset. |
double |
getError()
Returns error, which is only set by some projection functions. |
GaugedVariables |
getGaugedVars()
|
Projector |
getProjectorByName(String name)
|
static String[] |
getProjectorList()
|
Dataset |
getUpstairs()
Convenience method to get upstairs dataset. |
void |
init(int dims)
Initialize gauge to accept data of a specified dimension. |
boolean |
isOn()
If the gauge is on it should actively represent changing states of the network. |
void |
iterate(int numTimes)
Iterate the dataset some fixed number of times. |
void |
openHighDDataset(File file)
Opens a high demension dataset. |
void |
setCurrentProjector(Projector proj)
|
void |
setCurrentProjector(String proj)
|
void |
setCurrentProjectorC(Projector proj)
Used by Castor. |
void |
setDefaultProjector(String defaultProjector)
|
void |
setGaugedVars(GaugedVariables gaugedVars)
Sets the gauged variables. |
void |
setOn(boolean b)
Turn the gauge on and off; i.e., allow new data or not. |
void |
updateProjector()
Update the projector; used when loading a dataset or changing projection methods. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String[] PROJECTOR_LIST
| Constructor Detail |
|---|
public Gauge()
| Method Detail |
|---|
public void updateProjector()
public void init(int dims)
dims - dimensionality of the high dimensional datasetpublic void openHighDDataset(File file)
file - file of high dimension dataset to openpublic void addDatapoint(double[] point)
point - the point to addpublic void iterate(int numTimes)
numTimes - Number of times to iterate the gaugepublic static String[] getProjectorList()
public void setCurrentProjector(String proj)
proj - the name of the projection algorithm to switch topublic Projector getProjectorByName(String name)
name - name of projector
public Projector getCurrentProjectorC()
public void setCurrentProjectorC(Projector proj)
proj - current projectorpublic void setCurrentProjector(Projector proj)
proj - the new projection algorithmpublic Projector getCurrentProjector()
public Dataset getUpstairs()
public Dataset getDownstairs()
public double getError()
public boolean isOn()
public void setOn(boolean b)
b - boolean value to update gaugepublic GaugedVariables getGaugedVars()
public void setGaugedVars(GaugedVariables gaugedVars)
gaugedVars - variables to use in gaugepublic String getDefaultProjector()
public void setDefaultProjector(String defaultProjector)
defaultProjector - The defaultProjector to set.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||