// -*- Mode: c++ -*- // copyright (c) 2006 by Christos Dimitrakakis /*************************************************************************** * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * * the Free Software Foundation; either version 2 of the License, or * * (at your option) any later version. * * * ***************************************************************************/ #ifndef TRAJECTORY_H #define TRAJECTORY_H #include #include #include #include #include #include #include "TrackData.h" class Trajectory { public: std::vector w; ///< parameters std::vector dw; ///< parameter steps std::vector dw2; ///< parameter gradients std::vector accel; ///< maximum acceleration std::vector indices; ///< data indices static Point GetPoint (Segment& s, float w); void Optimise(SegmentList track, int max_iter, float alpha, char* fname, bool reset = true); }; #endif