ch.unizh.ini.friend.simulation.synapses
Class AbstractSynapse
java.lang.Object
ch.unizh.ini.friend.simulation.AbstractAcceptsInput
ch.unizh.ini.friend.simulation.synapses.AbstractSynapse
- All Implemented Interfaces:
- AcceptsInput, ServesOutput, Serializable
- Direct Known Subclasses:
- ScalingSynapse
public abstract class AbstractSynapse
- extends AbstractAcceptsInput
- implements ServesOutput
Default implementations for synapses.
- Version:
- $Revision: 1.2 $
- Author:
- Christof Marti
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractSynapse
public AbstractSynapse()
- Creates a new instance with currently no inputs.
AbstractSynapse
public AbstractSynapse(int n)
- Creates a new instance with currently no inputs and
with the given initial capacity.
- Parameters:
n
- Number of initial capacity for inputs.
AbstractSynapse
public AbstractSynapse(Collection inputs)
- Creates a new instance with the given collection of inputs.
- Parameters:
inputs
- The collection of inputs.
AbstractSynapse
public AbstractSynapse(Object input)
- Creates a new instance with the given input.
- Parameters:
input
- The input.