dLife Home Page

dlife.nn
Class UnipolarNeuron

java.lang.Object
  extended by dlife.nn.UnipolarNeuron
All Implemented Interfaces:
Neuron, Serializable

public class UnipolarNeuron
extends Object
implements Neuron

Implementation of a unipolar transfer function for a Neuron. This Neuron has the transfer function:

Version:
Feb 2, 2007
Author:
Grant Braught, Dickinson College
See Also:
Serialized Form

Constructor Summary
UnipolarNeuron()
           
 
Method Summary
 double dfdx(double x)
          The derivative of the UnipolarNeuron transfer function does not exist.
 double f(double x)
          The transfer function of the UnipolarNeuron.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UnipolarNeuron

public UnipolarNeuron()
Method Detail

dfdx

public double dfdx(double x)
The derivative of the UnipolarNeuron transfer function does not exist.

Specified by:
dfdx in interface Neuron
Parameters:
x - the input to the derivative.
Returns:
the output of the derivative.
Throws:
UnsupportedOperationException - always.

f

public double f(double x)
The transfer function of the UnipolarNeuron.

Specified by:
f in interface Neuron
Parameters:
x - the input to this Neuron.
Returns:
the output of the unipolar neuron for input x.

dLife Home Page