exposed two internal functions

release/4.3a0
Frank Dellaert 2009-09-04 14:59:17 +00:00
parent ba676a7a95
commit 482d7fe73f
1 changed files with 13 additions and 0 deletions

View File

@ -122,4 +122,17 @@ private:
}
};
/**
* Check convergence
*/
bool check_convergence (double relativeErrorTreshold,
double absoluteErrorTreshold,
double currentError, double newError,
int verbosity);
/**
* calculate error for current configuration
*/
double calculate_error (const NonlinearFactorGraph& fg, const FGConfig& config, int verbosity);
}