|
SOMVizard documentation Public API |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--som.Layer
One layer in SOM.
Field Summary | |
protected java.lang.String |
featureName
The name of the feature the surface represents. |
protected som.Cell[][] |
map
Cells in the SOM. |
protected double[][] |
surface
The surface. |
protected int |
winnerColumn
Column of the BMU. |
protected int |
winnerRow
Row of the BMU. |
Constructor Summary | |
protected |
Layer()
Create a new layer. |
protected |
Layer(som.Cell[][] map)
Create a new layer with given cells. |
protected |
Layer(som.Cell[][] map,
java.lang.String featureName)
Create a new map with given cells and feature name. |
Method Summary | |
int |
getColumns()
|
java.lang.String |
getFeatureName()
|
int |
getRows()
|
double |
getValue(int row,
int column)
Get a value in the surface. |
int |
getWinnerColumn()
|
int |
getWinnerRow()
|
void |
scale(double high)
|
void |
setValue(int row,
int column,
double value)
Set a value in the specified location in the surface. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected double[][] surface
protected som.Cell[][] map
protected java.lang.String featureName
protected int winnerRow
protected int winnerColumn
Constructor Detail |
protected Layer()
protected Layer(som.Cell[][] map)
map
- cells of the map.protected Layer(som.Cell[][] map, java.lang.String featureName)
map
- cells of the map.featureName
- name of the feature visulized with this layer.Method Detail |
public void setValue(int row, int column, double value)
public double getValue(int row, int column)
public java.lang.String getFeatureName()
public int getRows()
public int getColumns()
public int getWinnerRow()
public int getWinnerColumn()
public void scale(double high)
public java.lang.String toString()
toString
in class java.lang.Object
|
SOMVizard documentation Public API |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |