Description
removing the 2 arg version;
From #331 (comment)
This would require std::vector<SynapseIdx> &numActivePotentialSynapsesForSegment,
be used as an optional param, with default value that skips its execution (unless given by user)
void computeActivity(std::vector &numActiveConnectedSynapsesForSegment,
std::vector &numActivePotentialSynapsesForSegment,
const std::vector &activePresynapticCells) const;
void computeActivity(std::vector &numActiveConnectedSynapsesForSegment, //TODO remove the 2 arg version, use only the 3 arg (with 1 being optional)
const std::vector &activePresynapticCells) const;
ctrl-z-9000-times 7 hours ago Member
No can do, the two different versions do different things. One computes less than have as much as the other, making it significantly faster. Removing it would likely double the spatial poolers runtime.
breznak 6 hours ago Author Member
One computes less than have as much as the other, making it significantly faster.
I'm aware, if we use {} the loop will skip, or some empheral value, as in TM(?)