|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--edu.wlu.cs.levy.SNARLI.Map2D
Map2D is a general class for two-dimensional maps (SOM, IGG, ...).
Method Summary | |
int |
getColumnDimension()
Returns the number of columns in this map. |
int |
getRowDimension()
Returns the number of rows in this map. |
int[] |
getUnit(double[] v)
Returns indices of grid point whose reference vector is closest to a given vector. |
int[][] |
getUnits()
Returns indices of grid points from reference vectors. |
double[][][] |
getWeights()
Returns current reference vector weights. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public double[][][] getWeights()
public int[] getUnit(double[] v)
v
- vector
java.lang.IllegalArgumentException
- if v mismatches dimensionality of IGGpublic int[][] getUnits()
public int getRowDimension()
public int getColumnDimension()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |