The Physiologist's Friend Simulation API

ch.unizh.ini.friend.simulation
Interface AcceptsInput

All Superinterfaces:
Serializable
All Known Implementing Classes:
AbstractAcceptsInput, AbstractCell, AbstractMonitor, AbstractSpikingCell, AbstractSynapse, AudioOutput, BipolarCell, ColorPhotoreceptor, GanglionCell, HorizontalCell, IntegrateFireCell, OscillatingOutput, OutputPrinter, Photoreceptor, PoissonSoma, ScalingSynapse, SimpleOutputMonitor, SimulationReporter

public interface AcceptsInput
extends Serializable

Common interface to simulation components that accept inputs.

Version:
$Revision: 1.9 $
Author:
Christof Marti

Method Summary
 ServesOutput getInput()
          Returns the first (if any) input.
 Collection getInputs()
          Returns a collection of all inputs to this simulation component.
 void setInput(ServesOutput input)
          Sets the first (and only) input.
 void setInputs(Collection inputs)
          Sets the collection of all inputs to this simulation component to the given.
 

Method Detail

getInputs

Collection getInputs()
Returns a collection of all inputs to this simulation component.

Returns:
The inputs.

setInputs

void setInputs(Collection inputs)
Sets the collection of all inputs to this simulation component to the given.

Parameters:
inputs - The inputs.

getInput

ServesOutput getInput()
Returns the first (if any) input.

Returns:
The input.

setInput

void setInput(ServesOutput input)
Sets the first (and only) input.

Parameters:
input - The input.

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