dLife Home Page

dlife.nn
Class BipolarNeuron

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

public class BipolarNeuron
extends Object
implements Neuron

Implementation of a bipolar 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
BipolarNeuron()
           
 
Method Summary
 double dfdx(double x)
          The derivative of the BipolarNeuron transfer function does not exist.
 double f(double x)
          The transfer function of the BipolarNeuron.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BipolarNeuron

public BipolarNeuron()
Method Detail

dfdx

public double dfdx(double x)
The derivative of the BipolarNeuron 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 BipolarNeuron.

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

dLife Home Page