I've uploaded a new version of my Java code. I overwrote the previous version.
Once you have the samples in an ArrayList of the x,y,z triples say A and B, then all you do is:
pA = acceltopath(A);
pB = acceltopath(B);
cost = pathcost(pA,pB);
My java code produces exactly the same numerical answer as MATLAB for the examples in the code.
Now I will go about finding the "golden" examples to store in the Android application. Will probably be one of the averages...
Tuesday, April 13, 2010
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment