diff src/DynamicVector.h @ 22:9860abc92a30

follower has confidence measure now just using best match. Difficulty in visualising the speed likelihood fn
author Andrew N Robertson <andrew.robertson@eecs.qmul.ac.uk>
date Wed, 30 Nov 2011 11:48:35 +0000
parents 75dcd1308658
children
line wrap: on
line diff
--- a/src/DynamicVector.h	Sun Nov 27 21:56:19 2011 +0000
+++ b/src/DynamicVector.h	Wed Nov 30 11:48:35 2011 +0000
@@ -28,7 +28,7 @@
 	double getMaximum();
 	double getIntegratedEstimate();
 	double getLookupIndex(const int& i, const double& mean, const double& StdDev);
-	void addGaussianShapeByLookupTable(double& mean, double& StdDev, double& factor);
+	void addGaussianShapeByLookupTable(double& mean, double& StdDev, double factor);
 	double gaussianLookupTable[GAUSSIAN_LOOKUP_LENGTH];
 	double gaussianLookupMean, gaussianLookupStdDev;
 	double integratedEstimate;
@@ -37,10 +37,10 @@
 	void drawVector(const int& minIndex, const int& maxIndex);
 	void drawConstrainedVector(const int& minIndex, const int& maxIndex, const int& minScreenIndex, const int& maxScreenIndex);
 
-	void addConstant(double value);
-	void addGaussianShape(double mean, double stddev, double factor);
+	void addConstant(const double& value);
+	void addGaussianShape(const double& mean, const double& stddev, double factor);
 	void addTriangularShape(double mean, double width, double factor);
-	void addToIndex(int index, double constant);
+	void addToIndex(const int& index, const double& constant);
 	
 	void doProduct(DynamicVector& arrayOne, DynamicVector& arrayTwo);