org.neuroph.core.input
Class WeightedSum

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

public class WeightedSum
extends InputFunction

Optimized version of weighted input function

Author:
Zoran Sevarac
See Also:
Serialized Form

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

Constructor Detail

WeightedSum

public WeightedSum()
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:
inputConnections - neuron's input connections
Returns:
input total net input

getOutput

public static double[] getOutput(double[] inputs,
                                 double[] weights)


Copyright © 2012. All Rights Reserved.