[go: up one dir, main page]

File: stat.h

package info (click to toggle)
colpack 1.0.10-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 3,704 kB
  • sloc: cpp: 23,801; ansic: 1,142; makefile: 204; sh: 13
file content (31 lines) | stat: -rw-r--r-- 1,421 bytes parent folder | download | duplicates (9)
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