mosaic.sim.neuron.netinputs
Interface VectorInputCoder

All Known Implementing Classes:
TemporalCodedInput, RateCodedInputVector

public interface VectorInputCoder

This is an interface for giving a one-dimensional vector of real numbered values to the network. It must be implemented by a class with a defined Spike coding scheme (the so-called coder).

See Also:
MatrixInputCoder

Method Summary
 void enterVector(double[] vector)
          Enters a new real numbered input vector into the simulation.
 NeuronOutput getOutput(int index)
          Returns the output with the given index.
 

Method Detail

enterVector

public void enterVector(double[] vector)
                 throws CodingException
Enters a new real numbered input vector into the simulation.
Parameters:
vector - The input vector to be used.

getOutput

public NeuronOutput getOutput(int index)
Returns the output with the given index.
Parameters:
index - The number of the output to return.