ColPack
Utilities/stat.h
Go to the documentation of this file.
00001 //This file provides the funtions needed to gather statistics about ColPack
00002 #ifndef STAT_H
00003 #define STAT_H
00004 
00005 #include "ColPackHeaders.h"
00006 
00007 using namespace ColPack;
00008 using namespace std;
00009 
00010 
00011 void printListOfGraphs(vector <string>& listOfGraphs, int selected);
00012 vector<string> getListOfGraphs(string location_of_graph_list);
00013 
00014 
00015 void toFileC(string baseDir, string stat_output_suffix, vector<string> Orderings, vector<string> Colorings, map<string, bool> stat_flags );
00016 
00017 void toFileC_forColoringBasedOrdering(string baseDir, string stat_output_suffix, bool stat_output_append=1, bool stat_refresh_list = false);
00018 
00019 void toFileBiC(string baseDir, string stat_output_suffix, vector<string> Orderings, vector<string> Colorings, map<string, bool> stat_flags );
00020 
00021 void toFileBiPC(string baseDir, string stat_output_suffix, vector<string> Orderings, vector<string> Colorings, map<string, bool> stat_flags );
00022 
00023 /* Note: be careful when you work with MatrixMarket-format. 
00024 Look inside the file (1st line) to see whether the matrix is:
00025 - 'symmetric': use toFileStatisticForGraph()
00026 - 'general' (likely to be non-symmetric): use toFileStatisticForBipartiteGraph()
00027 //*/
00028 void toFileStatisticForGraph(string baseDir, string stat_output_suffix, map<string, bool> stat_flags); //i.e. Symmetric Matrix, Hessian
00029 void toFileStatisticForBipartiteGraph(string baseDir, string stat_output_suffix, map<string, bool> stat_flags); //i.e. Matrix, Jacobian
00030 
00031 #endif
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines