org.neuroph.core.input
Class And

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

public class And
extends InputFunction
implements Serializable

Performs logic AND operation on input vector.

Author:
Zoran Sevarac
See Also:
Serialized Form

Constructor Summary
And()
           
 
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

And

public And()
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.