The Physiologist's Friend Simulation API

ch.unizh.ini.friend.simulation.synapses
Class AbstractSynapse

java.lang.Object
  extended by ch.unizh.ini.friend.simulation.AbstractAcceptsInput
      extended by 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

Field Summary
 
Fields inherited from class ch.unizh.ini.friend.simulation.AbstractAcceptsInput
inputs
 
Constructor Summary
AbstractSynapse()
          Creates a new instance with currently no inputs.
AbstractSynapse(Collection inputs)
          Creates a new instance with the given collection of inputs.
AbstractSynapse(int n)
          Creates a new instance with currently no inputs and with the given initial capacity.
AbstractSynapse(Object input)
          Creates a new instance with the given input.
 
Method Summary
 
Methods inherited from class ch.unizh.ini.friend.simulation.AbstractAcceptsInput
averageInputs, cloneObject, connectOneToAll, connectOneToOne, getCollectionInstance, getInput, getInputs, integrateInputs, setInput, setInputs
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface ch.unizh.ini.friend.simulation.ServesOutput
output
 

Constructor Detail

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.

http://www.ini.unizh.ch/~tobi/friend