public class SpikeSet extends PatternSet
SpikingNeuralNet.
Use SpikingNeuralNet.setInput(SpikeSet) to set the network input to the input data of a given spike set.
Use SpikingNeuron.record(SpikeSet, double, double) or SpikingNeuron.recordStart(SpikeSet)
to record the output of a specific SpikingNeuron into a given spike set .
| Constructor and Description |
|---|
SpikeSet() |
| Modifier and Type | Method and Description |
|---|---|
SpikeSet |
clone()
Returns a deep clone of the spike set.
|
java.util.List<java.lang.Double> |
getInputSpikes(Neuron inputNeuron)
Get the input of the specified input neuron.
|
java.util.List<java.lang.Double> |
getOutputSpikes(Neuron outputNeuron)
Get the output of the specified output neuron.
|
java.util.List<java.lang.Double> |
getTargetSpikes(Neuron outputNeuron)
Get the target values of the specified output neuron.
|
void |
setInputSpikes(Neuron inputNeuron,
java.util.List<java.lang.Double> input)
Set the input for the specified input neuron.
|
void |
setOutputSpikes(Neuron outputNeuron,
java.util.List<java.lang.Double> output)
Set the output for the specified output neuron.
|
void |
setTargetSpikes(Neuron outputNeuron,
java.util.List<java.lang.Double> target)
Set the target values for the specified output neuron.
|
addInput, fromXML, getFilter, getInput, getInputPatternSize, getInputs, getNames, getNextElement, getOutput, getOutputPatternSize, getOutputs, getProperties, getTarget, getTargetLabel, getTargetLabelCount, getTargetLabelOfPattern, getTargetPatternSize, getTargets, hasMoreElements, load, load, save, save, setFilter, setInputs, setProperties, setTargetLabel, setTargets, shuffle, size, toString, toXML, writeValuespublic java.util.List<java.lang.Double> getInputSpikes(Neuron inputNeuron)
inputNeuron - the input neuron that will emit the spikesnull if no input is linked to the specified input neuronpublic void setInputSpikes(Neuron inputNeuron, java.util.List<java.lang.Double> input)
inputNeuron - the input neuron that will emit the spikesinput - a list of doubles defining the points in the simulation time, at which the linked input neuron will emit a spike, or null if no input is linked to the specified input neuronpublic java.util.List<java.lang.Double> getTargetSpikes(Neuron outputNeuron)
SpikingNeuralNet.outputNeuron - the output neuron that emits the spikesnull if no list is linked to the specified output neuronpublic void setTargetSpikes(Neuron outputNeuron, java.util.List<java.lang.Double> target)
SpikingNeuralNet.outputNeuron - the output neuron that emits the spikestarget - a list of doubles defining the points in the simulation time, at which the linked output neuron is expected to emit a spike, or null if no list is linked to the specified output neuronpublic java.util.List<java.lang.Double> getOutputSpikes(Neuron outputNeuron)
outputNeuron - the output neuron that emitted the spikesnull if no output is linked to the specified neuronpublic void setOutputSpikes(Neuron outputNeuron, java.util.List<java.lang.Double> output)
outputNeuron - the output neuron that emitted the spikesoutput - a list of doubles representing the points in the simulation time, at which the linked output neuron emitted a spike, or null if no output is linked to the specified neuronpublic SpikeSet clone() throws java.lang.CloneNotSupportedException
clone in class PatternSetjava.lang.CloneNotSupportedException - should not happen