org.hisee.core
Class ProjectCoordinate

java.lang.Object
  |
  +--org.hisee.core.Projector
        |
        +--org.hisee.core.ProjectCoordinate

public class ProjectCoordinate
extends Projector

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

ProjectCoordinate

public ProjectCoordinate()

ProjectCoordinate

public ProjectCoordinate(Settings set)
Method Detail

init

public void init(Dataset up,
                 Dataset down)
Description copied from class: Projector
Initialize the projector with high and low-d data

Overrides:
init in class Projector
Parameters:
up - Reference to high dimensional dataset
down - Reference to low dimensional dataset. Pass NULL if not available

project

public void project()
Description copied from class: Projector
Perform operations necessay to project the data. For iterable functions this is just a stub.

Specified by:
project in class Projector

checkCoordinates

public void checkCoordinates()
If the current coordinate axes are outside acceptable bounds, set them to acceptable values (currently 0 and 1).


isExtendible

public boolean isExtendible()
Specified by:
isExtendible in class Projector
Returns:
true if this projection algorithm accepts new new points, false otherwise

isIterable

public boolean isIterable()
Specified by:
isIterable in class Projector
Returns:
true if this projection algorithm is iterable, false otherwise

iterate

public double iterate()
Description copied from class: Projector
Iterate, if it is iterable. For non iterable-projectors this is just a stub

Specified by:
iterate in class Projector
Returns:
the current error

getHi_d1

public int getHi_d1()
Returns:
the first coordinate projected onto

getHi_d2

public int getHi_d2()
Returns:
the second coordinate projected onto

setHi_d1

public void setHi_d1(int i)
Parameters:
i - the first coordinate to project onto

setHi_d2

public void setHi_d2(int i)
Parameters:
i - the second coordinate to project onto

isAutoFind

public boolean isAutoFind()
In auto-find the projection automatically uses the most variant dimensions

Returns:
true if in auto-find mode, false otherwise

setAutoFind

public void setAutoFind(boolean b)
In auto-find the projection automatically uses the most variant dimensions

Parameters:
b - whether to use auto-find mode


for more information see hisee.sourceforge.net