|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.hisee.core.Projector | +--org.hisee.core.ProjectCoordinate
Project Coordinate is perhaps the simplest possible projection algorithm; It simply takes two specificed dimensions in the high dimensional space, and uses these as the basis for the low-dimensional space. In effect it just takes a 2-dimensional subspace of the high-dimensional space.
Field Summary |
Fields inherited from class org.hisee.core.Projector |
addMethod, downstairs, theSettings, upstairs |
Constructor Summary | |
ProjectCoordinate()
|
|
ProjectCoordinate(Settings set)
|
Method Summary | |
void |
checkCoordinates()
If the current coordinate axes are outside acceptable bounds, set them to acceptable values (currently 0 and 1). |
int |
getHi_d1()
|
int |
getHi_d2()
|
void |
init(Dataset up,
Dataset down)
Initialize the projector with high and low-d data |
boolean |
isAutoFind()
In auto-find the projection automatically uses the most variant dimensions |
boolean |
isExtendible()
|
boolean |
isIterable()
|
double |
iterate()
Iterate, if it is iterable. |
void |
project()
Perform operations necessay to project the data. |
void |
setAutoFind(boolean b)
In auto-find the projection automatically uses the most variant dimensions |
void |
setHi_d1(int i)
|
void |
setHi_d2(int i)
|
Methods inherited from class org.hisee.core.Projector |
addDatapoint, addUpstairs, checkDatasets, compareDatasets, getAddMethod, getAddMethodIndex, getDownstairs, getPerturbationAmount, getTheSettings, getTolerance, getUpstairs, init, setAddMethod, setPerturbationAmount, setTheSettings, setTolerance |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ProjectCoordinate()
public ProjectCoordinate(Settings set)
Method Detail |
public void init(Dataset up, Dataset down)
Projector
init
in class Projector
up
- Reference to high dimensional datasetdown
- Reference to low dimensional dataset. Pass NULL if not availablepublic void project()
Projector
project
in class Projector
public void checkCoordinates()
public boolean isExtendible()
isExtendible
in class Projector
public boolean isIterable()
isIterable
in class Projector
public double iterate()
Projector
iterate
in class Projector
public int getHi_d1()
public int getHi_d2()
public void setHi_d1(int i)
i
- the first coordinate to project ontopublic void setHi_d2(int i)
i
- the second coordinate to project ontopublic boolean isAutoFind()
public void setAutoFind(boolean b)
b
- whether to use auto-find mode
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |