org.neuroph.core.input
Class And

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

public class And
extends SummingFunction
implements java.io.Serializable

Performs logic AND operation on input vector.

Author:
Zoran Sevarac
See Also:
Serialized Form

Constructor Summary
And()
           
 
Method Summary
 double getOutput(java.util.Vector<java.lang.Double> inputVector)
          Returns summing function output
 
Methods inherited from class org.neuroph.core.input.SummingFunction
toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

And

public And()
Method Detail

getOutput

public double getOutput(java.util.Vector<java.lang.Double> inputVector)
Description copied from class: SummingFunction
Returns summing function output

Specified by:
getOutput in class SummingFunction
Parameters:
inputVector - Input values >= 0.5d are considered true, otherwise false.
Returns:
summing function output