ColPack
|
#include "stat.h"
Go to the source code of this file.
Functions | |
vector< string > | getListOfGraphs (string location_of_graph_list) |
void | toFileC_forColoringBasedOrdering (string baseDir, string stat_output_suffix, bool stat_output_append, bool stat_refresh_list) |
void | toFileC (string baseDir, string stat_output_suffix, vector< string > Orderings, vector< string > Colorings, map< string, bool > stat_flags) |
void | toFileStatisticForGraph (string baseDir, string stat_output_suffix, map< string, bool > stat_flags) |
void | toFileStatisticForBipartiteGraph (string baseDir, string stat_output_suffix, map< string, bool > stat_flags) |
void | printListOfGraphs (vector< string > &listOfGraphs, int selected) |
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) |
vector<string> getListOfGraphs | ( | string | location_of_graph_list | ) |
Definition at line 3 of file stat.cpp.
Referenced by toFileBiC(), toFileBiPC(), toFileC(), toFileC_forColoringBasedOrdering(), toFileStatisticForBipartiteGraph(), and toFileStatisticForGraph().
void printListOfGraphs | ( | vector< string > & | listOfGraphs, |
int | selected | ||
) |
Definition at line 479 of file stat.cpp.
Referenced by toFileBiC(), toFileBiPC(), toFileC(), and toFileC_forColoringBasedOrdering().
void toFileBiC | ( | string | baseDir, |
string | stat_output_suffix, | ||
vector< string > | Orderings, | ||
vector< string > | Colorings, | ||
map< string, bool > | stat_flags | ||
) |
Definition at line 486 of file stat.cpp.
References ColPack::BipartiteGraphBicoloringInterface::Bicoloring(), current_time(), ColPack::BipartiteGraphBicoloring::GetLeftVertexColorCount(), getListOfGraphs(), ColPack::File::GetName(), ColPack::BipartiteGraphBicoloring::GetRightVertexColorCount(), ColPack::BipartiteGraphBicoloring::GetVertexColorCount(), ColPack::BipartiteGraphBicoloring::GetVertexColoringTime(), ColPack::BipartiteGraphOrdering::GetVertexOrderingTime(), ColPack::File::Parse(), printListOfGraphs(), and SRC_FILE.
Referenced by main().
void toFileBiPC | ( | string | baseDir, |
string | stat_output_suffix, | ||
vector< string > | Orderings, | ||
vector< string > | Colorings, | ||
map< string, bool > | stat_flags | ||
) |
!! Test the value and see whether or not I will need the +1
Definition at line 600 of file stat.cpp.
References current_time(), ColPack::BipartiteGraphPartialColoring::GetLeftVertexColorCount(), getListOfGraphs(), ColPack::File::GetName(), ColPack::BipartiteGraphPartialColoring::GetRightVertexColorCount(), ColPack::BipartiteGraphPartialColoring::GetVertexColoringTime(), ColPack::BipartiteGraphPartialOrdering::GetVertexOrderingTime(), ColPack::File::Parse(), ColPack::BipartiteGraphPartialColoringInterface::PartialDistanceTwoColoring(), printListOfGraphs(), and SRC_FILE.
void toFileC | ( | string | baseDir, |
string | stat_output_suffix, | ||
vector< string > | Orderings, | ||
vector< string > | Colorings, | ||
map< string, bool > | stat_flags | ||
) |
Definition at line 194 of file stat.cpp.
References ColPack::GraphColoringInterface::Coloring(), current_time(), ColPack::GraphCore::GetAverageVertexDegree(), ColPack::GraphCore::GetEdgeCount(), getListOfGraphs(), ColPack::GraphOrdering::GetMaxBackDegree(), ColPack::GraphCore::GetMaximumVertexDegree(), ColPack::GraphCore::GetMinimumVertexDegree(), ColPack::File::GetName(), ColPack::GraphColoring::GetVertexColorCount(), ColPack::GraphColoring::GetVertexColoringTime(), ColPack::GraphCore::GetVertexCount(), ColPack::GraphOrdering::GetVertexOrderingTime(), ColPack::File::Parse(), printListOfGraphs(), and SRC_FILE.
void toFileC_forColoringBasedOrdering | ( | string | baseDir, |
string | stat_output_suffix, | ||
bool | stat_output_append, | ||
bool | stat_refresh_list | ||
) |
Definition at line 41 of file stat.cpp.
References ColPack::GraphColoringInterface::Coloring(), ColPack::GraphOrdering::ColoringBasedOrdering(), current_time(), ColPack::GraphCore::GetAverageVertexDegree(), ColPack::GraphCore::GetEdgeCount(), getListOfGraphs(), ColPack::GraphOrdering::GetMaxBackDegree(), ColPack::GraphCore::GetMaximumVertexDegree(), ColPack::GraphCore::GetMinimumVertexDegree(), ColPack::File::GetName(), ColPack::GraphColoring::GetVertexColorCount(), ColPack::GraphColoring::GetVertexColoringTime(), ColPack::GraphColoring::GetVertexColors(), ColPack::GraphCore::GetVertexCount(), ColPack::GraphOrdering::GetVertexOrderingTime(), ColPack::File::Parse(), printListOfGraphs(), ColPack::GraphColoring::SetStringVertexColoringVariant(), and SRC_FILE.
void toFileStatisticForBipartiteGraph | ( | string | baseDir, |
string | stat_output_suffix, | ||
map< string, bool > | stat_flags | ||
) |
Definition at line 425 of file stat.cpp.
References current_time(), ColPack::BipartiteGraphCore::GetAverageColumnVertexDegree(), ColPack::BipartiteGraphCore::GetAverageRowVertexDegree(), ColPack::BipartiteGraphCore::GetColumnVertexCount(), ColPack::BipartiteGraphCore::GetEdgeCount(), getListOfGraphs(), ColPack::BipartiteGraphCore::GetMaximumColumnVertexDegree(), ColPack::BipartiteGraphCore::GetMaximumRowVertexDegree(), ColPack::BipartiteGraphCore::GetMinimumColumnVertexDegree(), ColPack::BipartiteGraphCore::GetMinimumRowVertexDegree(), ColPack::File::GetName(), ColPack::BipartiteGraphCore::GetRowVertexCount(), ColPack::File::Parse(), and SRC_FILE.
void toFileStatisticForGraph | ( | string | baseDir, |
string | stat_output_suffix, | ||
map< string, bool > | stat_flags | ||
) |
Definition at line 377 of file stat.cpp.
References current_time(), ColPack::GraphCore::GetAverageVertexDegree(), ColPack::GraphCore::GetEdgeCount(), getListOfGraphs(), ColPack::GraphCore::GetMaximumVertexDegree(), ColPack::GraphCore::GetMinimumVertexDegree(), ColPack::File::GetName(), ColPack::GraphCore::GetVertexCount(), ColPack::File::Parse(), and SRC_FILE.