yawn.nn
Class NeuralNode
java.lang.Object
yawn.nn.NeuralNode
- Direct Known Subclasses:
- PerceptronNode, PredictionNeuralNode, RadialBasisFunctionsNeuralNode
public abstract class NeuralNode
- extends java.lang.Object
An abstract neural node.
$Id: NeuralNode.java,v 1.6 2005/04/07 17:28:28 supermarti Exp $
- Version:
- $Revision: 1.6 $
- Author:
- Luis Martí (luis dot marti at uc3m dot es)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
input
protected Pattern input
inputSize
protected int inputSize
NeuralNode
public NeuralNode(int inputSize)
setInputSize
public void setInputSize(int inputSize)
- Parameters:
inputSize
-
getInputSize
public int getInputSize()
reset
public void reset()
- resets the current activation. By default removes the current input.
setInput
public void setInput(Pattern val)
- sets the current input of the node
- Parameters:
val
- the input
output
public double output()
activationFunction
protected abstract double activationFunction(Pattern input)
setInputElement
public void setInputElement(double val,
int i)
Copyright © 2003-2005 GIAA, Universidad Carlos III de Madrid. All Rights Reserved.