org.neuroph.core.input
Class Or

java.lang.Object
  extended by org.neuroph.core.input.InputFunction
      extended by org.neuroph.core.input.Or
All Implemented Interfaces:
Serializable

public class Or
extends InputFunction
implements Serializable

Performs logic OR operation on input vector.

Author:
Zoran Sevarac
See Also:
Serialized Form

Constructor Summary
Or()
           
 
Method Summary
 double getOutput(Connection[] inputConnections)
          Returns ouput value of this input function for the given neuron inputs
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Or

public Or()
Method Detail

getOutput

public double getOutput(Connection[] inputConnections)
Description copied from class: InputFunction
Returns ouput value of this input function for the given neuron inputs

Specified by:
getOutput in class InputFunction
Parameters:
inputVector - Input values >= 0.5d are considered true, otherwise false.
Returns:
input total net input


Copyright © 2012. All Rights Reserved.