Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.encog.neural.freeform
Interface FreeformLayer

All Known Implementing Classes:
  BasicFreeformLayer

    public interface FreeformLayer

Defines a freeform layer. A layer is a group of similar neurons.

Method Summary
`void` | `add(FreeformNeuron basicFreeformNeuron)` Add a neuron to this layer.
`List<FreeformNeuron>` | `getNeurons()`
`boolean` | `hasBias()`
`void` | `setActivation(int i, double data)` Set the activation for the specified index.
`int` | `size()`
`int` | `sizeNonBias()`

Method Detail

### add

    void add(FreeformNeuron basicFreeformNeuron)

  Add a neuron to this layer.

  Parameters:
    `basicFreeformNeuron` - The neuron to add.

### getNeurons

    List<FreeformNeuron> getNeurons()

  Returns:
    The neurons in this layer.

### hasBias

    boolean hasBias()

  Returns:
    True if this layer has bias.

### setActivation

    void setActivation(int i,
                       double data)

  Set the activation for the specified index.

  Parameters:
    `i` - The index.
    `data` - The data for that index.

### size

    int size()

  Returns:
    The size of this layer, including bias.

### sizeNonBias

    int sizeNonBias()

  Returns:
    The size of this layer, no bias counted.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2014. All Rights Reserved.