org.encog.neural.freeform

## Interface InputSummation

- All Known Implementing Classes:
    BasicActivationSummation

      public interface InputSummation

  Specifies how the inputs to a neuron are to be summed.

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `add(FreeformConnection connection)` Add an input connection.
    `double` | `calculate()` Perform the summation, and apply the activation function.
    `ActivationFunction` | `getActivationFunction()`
    `double` | `getSum()`
    `List<FreeformConnection>` | `list()`

- - ### Method Detail

    - #### add

          void add(FreeformConnection connection)

      Add an input connection.
      Parameters:
        `connection` - The connection to add.

    - #### calculate

          double calculate()

      Perform the summation, and apply the activation function.
      Returns:
        The sum.

    - #### getActivationFunction

          ActivationFunction getActivationFunction()

      Returns:
        The activation function

    - #### getSum

          double getSum()

      Returns:
        The preactivation sum.

    - #### list

          List<FreeformConnection> list()

      Returns:
        The input connections.

Copyright © 2014. All Rights Reserved.