Neural Network Software

com.practicalstudies.neural
Class LinearAdder

java.lang.Object
  |
  +--com.practicalstudies.neural.LinearAdder
All Implemented Interfaces:
Adder

public class LinearAdder
extends java.lang.Object
implements Adder

Class representing a linear combination of the outputs of a group of Nodes weighted according to weights contained in associated WeightedConnections.

Author:
Michael Wax

Constructor Summary
LinearAdder()
           
 
Method Summary
 double getWeightedInput(java.util.List inputConnections)
          Returns a linear combination of the weighted inputs of the input WeightedConnections to a Node
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LinearAdder

public LinearAdder()
Method Detail

getWeightedInput

public double getWeightedInput(java.util.List inputConnections)
Returns a linear combination of the weighted inputs of the input WeightedConnections to a Node

Specified by:
getWeightedInput in interface Adder
Parameters:
inputConnections - an ArrayList of the WeightedConnection inputs to this Node
Returns:
the weighted input

PracticalStudies.com