public class KWTA extends NeuronGroup
Modifier and Type | Class and Description |
---|---|
(package private) class |
KWTA.PointNeuronComparator
Used to sort PointNeurons by excitatory conductance.
|
DEFAULT_GROUP_SIZE, DEFAULT_LAYOUT, FLUSH_FREQUENCY
Constructor and Description |
---|
KWTA(Network root,
int k)
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
int |
getK()
Returns the initial number of neurons.
|
void |
setK(int k) |
void |
update()
Updates all the neurons in the neuron group according to their
NeuronUpdateRule(s).
|
addIncomingSg, addNeuron, addNeuron, addOutgoingSg, applyInputs, applyLayout, applyLayout, clearActivations, clearNeuronList, containsAsIncoming, containsAsOutgoing, containsNeuron, copyActivations, deepCopy, delete, forceSetActivationLevels, forceSetActivations, getActivations, getBetweenNeuronInterval, getBiases, getCenterX, getCenterY, getExternalActivations, getFourCorners, getGridThreshold, getHeight, getIncomingSgs, getIncomingWeights, getLabelsOfActiveNeurons, getLayout, getMaxDim, getMaxX, getMaxY, getMinX, getMinY, getMostActiveNeuron, getNeuronList, getNeuronsInRadius, getNeuronType, getNumSubSamples, getOutgoingSg, getOutgoingWeights, getPosition, getSpikeIndexes, getTestData, getTypeDescription, getUpdateMethodDesecription, getWidth, inFanInOfSomeNode, isAllClamped, isAllUnclamped, isEmpty, isInputMode, isRecordAsSpikes, isRecording, isSpikingNeuronGroup, isUseSubSampling, offset, printActivations, prune, randomize, randomizeBiases, randomizeIncomingWeights, randomizeOutgoingWeights, readNextInputs, removeIncomingSg, removeNeuron, removeOutgoingSg, resetSubsamplingIndices, setActivationLevels, setActivations, setBetweenNeuronInterval, setClamped, setGridThreshold, setIncrement, setInputMode, setInputValues, setLayout, setLayoutBasedOnSize, setLayoutBasedOnSize, setLocation, setLowerBound, setNeuronType, setNeuronType, setNumSubSamples, setRecordAsSpikes, setSpikingNeuronGroup, setTestData, setUpperBound, setUseSubSampling, setXYZCoordinatesFromFile, size, startRecording, stopRecording, testAndSetIfSpiking, toString, writeActsToFile
getId, getLabel, getParentGroup, getParentNetwork, getStateInfo, hasParentGroup, isMarkedForDeletion, isTopLevelGroup, recursivelySetIds, setId, setLabel, setMarkedForDeletion, setParentGroup, setStateInfo
public KWTA(Network root, int k)
k
- for the number of Neurons in the Kwta Network.root
- reference to Network.public void update()
NeuronGroup
update
in class NeuronGroup
public int getK()
public void setK(int k)
k
- The k to set.