Spatial pooler ongoing dev

Refactored a lot to encapsulate state in another class and remove if from the Spatial Pooler - fix tests so they work with new architecture
Yeah it's not that way with my IDE? So white space chars are different with
github - I have seen this before in my repo from the start?


On Sun, Aug 24, 2014 at 5:11 PM, Matthew Taylor <notifications@github.com>
wrote:

> In src/main/java/org/numenta/nupic/research/SpatialLattice.java:
>
> > +     */
> > +	private SparseBinaryMatrix connectedSynapses;
> > +	/**
> > +	 * Stores the number of connected synapses for each column. This is simply
> > +     * a sum of each row of 'self._connectedSynapses'. again, while this
> > +     * information is readily available from 'self._connectedSynapses', it is
> > +     * stored separately for efficiency purposes.
> > +	 */
> > +	private int[] connectedCounts = new int[numColumns];
> > +	/**
> > +	 * The inhibition radius determines the size of a column's local
> > +     * neighborhood. of a column. A cortical column must overcome the overlap
> > +     * score of columns in his neighborhood in order to become actives. This
> > +     * radius is updated every learning round. It grows and shrinks with the
> > +     * average number of connected synapses per column.
> > +	 */
>
> Bunch of indentation above is off.
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/numenta/htm.java/pull/13/files#r16638280>.
>