spoke.signal.kohonen
Class Node
java.lang.Object
spoke.signal.kohonen.Node
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- SOMNode
public class Node
- extends java.lang.Object
- implements java.io.Serializable
- See Also:
- Serialized Form
Field Summary |
java.lang.String |
code
|
double[] |
weight
|
Constructor Summary |
Node(double[] weight,
java.lang.String code)
|
Method Summary |
double |
distance(double[] sample)
|
void |
move(double[] sample,
double l,
boolean sens)
|
static double[] |
randomize(int dimension)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
weight
public double[] weight
code
public java.lang.String code
Node
public Node(double[] weight,
java.lang.String code)
distance
public double distance(double[] sample)
move
public void move(double[] sample,
double l,
boolean sens)
randomize
public static double[] randomize(int dimension)