spoke.signal.kohonen
Class Node

java.lang.Object
  extended by 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
 

Field Detail

weight

public double[] weight

code

public java.lang.String code
Constructor Detail

Node

public Node(double[] weight,
            java.lang.String code)
Method Detail

distance

public double distance(double[] sample)

move

public void move(double[] sample,
                 double l,
                 boolean sens)

randomize

public static double[] randomize(int dimension)