Added MeanOfVectorMeasurement and unit test.

Measurement wrapper that calculates the mean of the elements of a
Vector returned by the wrapped measurement.
Changed MeanOfVectorMeasurement to extend Measurement<Vector>.
Added clearAllCentroidDataItems to CentroidHolder

This method was re-implemented in several places. Now it is in one
place.
Removed local distance measure from assignDataPatternsToParticle.

Most algorithms based on SinglePopulationDataClusteringIt... would
want to use the same distance measure throughout the algorithm.
StandardDataClusteringIterationStrategy now uses assignDataPatternsToParticle.

The pattern assignment code is exactly the same as the code in the
parrent class.
Moved assignment of pattern to centroid the quantisation error problem.

By moving pattern assignment to QuantisationErrorMinimisationProblem,
a lot of duplicate code is removed.

Moved SlidingWindow to QuantisationErrorMinimisationProblem to reduce
specialised/duplicate code.

Fixed bug in StandardDataClusteringIterationStrategy with regards to
the order of particle operations. Fitness should be calculated after
movement and pbest updates after that.

Signed-off-by: Gary Pamparà <gpampara@gmail.com>
Fixed up the adaptable control parameters. Some ec operators were only usable with SettableControlParameter but not all ControlParameters are Settable. There is only one adaptable control parameter now: AdaptableControlParameter. Removed the RandomBoundedParameterInitialisationStrategy since the same thing can be achieved with RandomParameterInitialisationStrategy using a UniformDistribution.
Merge pull request #155 from censlin/meanOfVectorMeasurement

Added MeanOfVectorMeasurement and unit test.
Added NegativeOfControlParameter.

This wrapper simply negates the ControlParameter that it wraps.

The bounded getParameter method has not been implemented because
I'm not certain of how the bounds are supposed to behave during
negation. I recommend that it remains as such until someone needs
it. That person is more likely to know how it's supposed to behave.
Merge branch 'master' of github.com:cilib/cilib
Cleanup build definition

Signed-off-by: Gary Pamparà <gpampara@gmail.com>