JMSLTM Numerical Library 6.1

com.imsl.datamining.neural
Class Layer

java.lang.Object
  extended by com.imsl.datamining.neural.Layer
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
HiddenLayer, InputLayer, OutputLayer

public abstract class Layer
extends Object
implements Serializable

The base class for Layers in a neural network.

See Also:
InputLayer, HiddenLayer, HiddenLayer, Serialized Form

Constructor Summary
protected Layer(FeedForwardNetwork network)
          Constructs a Layer.
 
Method Summary
protected  void addNode(Node node)
          Associates a Perceptron with this Layer.
 int getIndex()
          Returns the index of this Layer.
 Node[] getNodes()
          Return a list of the Perceptrons in this Layer.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Layer

protected Layer(FeedForwardNetwork network)
Constructs a Layer.

Parameters:
network - The FeedForwardNetwork to which this Layer is to be associated.
Method Detail

addNode

protected void addNode(Node node)
Associates a Perceptron with this Layer.

Parameters:
node - A Node to associate with this Layer.

getIndex

public int getIndex()
Returns the index of this Layer.

Returns:
An int which contains the value of property index.

getNodes

public Node[] getNodes()
Return a list of the Perceptrons in this Layer.

Returns:
An array containing the Nodes associated with this Layer.

JMSLTM Numerical Library 6.1

Copyright © 1970-2010 Visual Numerics, Inc.
Built July 30 2010.