/usr/include/ColPack/stat.h is in libcolpack-dev 1.0.9-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 | //This file provides the funtions needed to gather statistics about ColPack
#ifndef STAT_H
#define STAT_H
#include "ColPackHeaders.h"
using namespace ColPack;
using namespace std;
void printListOfGraphs(vector <string>& listOfGraphs, int selected);
vector<string> getListOfGraphs(string location_of_graph_list);
void toFileC(string baseDir, string stat_output_suffix, vector<string> Orderings, vector<string> Colorings, map<string, bool> stat_flags );
void toFileC_forColoringBasedOrdering(string baseDir, string stat_output_suffix, bool stat_output_append=1, bool stat_refresh_list = false);
void toFileBiC(string baseDir, string stat_output_suffix, vector<string> Orderings, vector<string> Colorings, map<string, bool> stat_flags );
void toFileBiPC(string baseDir, string stat_output_suffix, vector<string> Orderings, vector<string> Colorings, map<string, bool> stat_flags );
/* Note: be careful when you work with MatrixMarket-format.
Look inside the file (1st line) to see whether the matrix is:
- 'symmetric': use toFileStatisticForGraph()
- 'general' (likely to be non-symmetric): use toFileStatisticForBipartiteGraph()
//*/
void toFileStatisticForGraph(string baseDir, string stat_output_suffix, map<string, bool> stat_flags); //i.e. Symmetric Matrix, Hessian
void toFileStatisticForBipartiteGraph(string baseDir, string stat_output_suffix, map<string, bool> stat_flags); //i.e. Matrix, Jacobian
#endif
|