This class represents the input of a Kohonen Feature Map. Although it is called a "matrix", the elements are stored in an array. It is a specific class for a Kohonen Feature Map neural net.
public class InputMatrix
java.lang.Object
public InputMatrix ( int size, int dimension )
Creates an input matrix with size input values and dimension dimensions.
int getDimension ()
Returns the dimension of an input matrix.
void setInputX ( int[] inputX )
Initializes all x-dimension values of an input matrix with values from inputX.
void setInputY ( int[] inputY )
Initializes all y-dimension values of an input matrix with values from inputY.
void setInputZ ( int[] inputZ )
Initializes all z-dimension values of an input matrix with values from inputZ.
void setInputValues ( int[] inputX, int[] inputY, int[] inputZ )
Initializes the values for all dimensions of an input matrix with values from inputX, inputY and inputZ.
int size ()
Returns the number of input values in an input matrix.