55int main(
int argc,
char** argv) {
62 arg.
param(
"update", updateEachN, 10,
63 "update the graph after inserting N nodes");
64 arg.
param(
"pcg", pcg,
false,
"use PCG instead of Cholesky");
65 arg.
param(
"v", verbose,
false,
"verbose output of the optimization process");
66 arg.
param(
"g", vis,
false,
"gnuplot visualization");
top-level interface to the parser
bool parseCommand(std::istream &input)
Command line parsing of argc and argv.
bool parseArgs(int argc, char **argv, bool exitOnError=true)
void param(const std::string &name, bool &p, bool defValue, const std::string &desc)
void setUpdateGraphEachN(int n)
void setForceStopFlag(bool *flag)
void setVerbose(bool verbose)
void sigquit_handler(int sig)
#define __PRETTY_FUNCTION__
utility functions for handling time related stuff