Compute variations of plans

Print out partial derivatives of stop times with respect to
variation of depth and duratin of last manual segment.

Signed-off-by: Robert C. Helling <helling@atdotde.de>
This commit is contained in:
Robert C. Helling 2017-08-28 23:59:58 +02:00 committed by Dirk Hohndel
parent e6545a7b0f
commit 2832141d2c
4 changed files with 121 additions and 15 deletions

View file

@ -107,6 +107,9 @@ private:
explicit DivePlannerPointsModel(QObject *parent = 0);
void createPlan(bool replanCopy);
struct diveplan diveplan;
struct divedatapoint *cloneDiveplan(struct diveplan *plan_copy);
void computeVariations();
void analyzeVariations(struct decostop *min, struct decostop *mid, struct decostop *max, const char *unit);
Mode mode;
bool recalc;
QVector<divedatapoint> divepoints;