public class SpikingNetEvolver extends NetEvolver
net, pruneInput, pruneOutput
netEvolver, trainEvolver
Constructor and Description |
---|
SpikingNetEvolver(SpikingNeuralNet template)
Creates the spiking net evolver.
|
Modifier and Type | Method and Description |
---|---|
protected void |
buildMatrix(NeuralNet template)
Builds a spike matrix from an arbitrary network.
|
protected void |
createLinks(NeuralNet net)
Creates the spiking links with their spiking parameters.
|
protected void |
createNeurons(NeuralNet net)
Creates the spiking neurons with their spiking parameters.
|
protected void |
develop()
Creates the evolved net from the net matrix.
|
void |
setAbsRefPeriods(java.util.List<java.lang.Double> periods)
Sets the neurons' absolute refractory periods in the spike matrix.
|
void |
setDelays(java.util.List<java.lang.Double> delays)
Stores the evolved link delays in the spike matrix.
|
void |
setRelRefPeriods(java.util.List<java.lang.Double> periods)
Sets the neurons' relative refractory periods in the spike matrix.
|
void |
setThresholds(java.util.List<java.lang.Double> thresholds)
Stores the evolved threshold values in the spike matrix.
|
createNet, getBiasCount, getHiddenCount, getInputCount, getNet, getNeuronCount, getOutputCount, getWeightCount, hasLink, isPruneInput, isPruneOutput, setBias, setFunctions, setLinks, setNeurons, setPruneInput, setPruneOutput, setWeights
addFeature, develop, getFitnessFunction, getNetEvolver, getTrainEvolver, prepare, toString
public SpikingNetEvolver(SpikingNeuralNet template)
template
- a network template as a base for evolutionprotected void develop()
develop
in class NetEvolver
public void setThresholds(java.util.List<java.lang.Double> thresholds)
thresholds
- the values [mV]public void setDelays(java.util.List<java.lang.Double> delays)
delays
- the values [ms]public void setAbsRefPeriods(java.util.List<java.lang.Double> periods)
periods
- the valuespublic void setRelRefPeriods(java.util.List<java.lang.Double> periods)
periods
- the valuesprotected void createNeurons(NeuralNet net)
createNeurons
in class NetEvolver
net
- spiking netprotected void createLinks(NeuralNet net)
createLinks
in class NetEvolver
net
- spiking netprotected void buildMatrix(NeuralNet template)
buildMatrix
in class NetEvolver
template
- a template net translated into spike matrix