8 #ifndef STATISTICS_HPP_
9 #define STATISTICS_HPP_
29 void enableStats(
void);
37 void disableStats(
void);
46 int getStatStatus(
void);
54 p3d_stat * createStat(
void);
62 void destroyStat(p3d_stat ** s);
69 void initStats(p3d_stat * s);
76 void setTotalCountVar(p3d_graph * graph);
83 void mergeStat(p3d_stat * src, p3d_stat * dest);
90 void getPathStat(p3d_stat * s, p3d_traj * path,
int beforePost);
98 void printStatsGraph(p3d_stat * s,
int Print);
107 void printStatsEnv(p3d_stat * s,
int Print);
115 void addStatToFile(p3d_stat * s, FILE* Stat_output);
120 FILE* openStatFile(FILE* Stat_output,
char* s);
125 void closeStatFile(FILE* Stat_output);
130 void saveInStatFile();
150 double planLpStepSize;
153 int lenLpNumBeforePost;
154 int lenLpNumAfterPost;
155 double lenPathBeforePost;
156 double lenPathAfterPost;
157 unsigned long memory;