ColPack
|
class BipartiteGraphBicoloringInterface in group22. More...
#include <BipartiteGraphBicoloringInterface.h>
Public Member Functions | |
BipartiteGraphBicoloringInterface (int i_type,...) | |
Build a BipartiteGraphBicoloringInterface object and create the bipartite graph based on the graph structure specified by the input source. | |
void | GenerateSeedJacobian (double ***dp3_LeftSeed, int *ip1_LeftSeedRowCount, int *ip1_LeftSeedColumnCount, double ***dp3_RightSeed, int *ip1_RightSeedRowCount, int *ip1_RightSeedColumnCount, string s_OrderingVariant="NATURAL", string s_BicoloringVariant="IMPLICIT_COVERING__STAR_BICOLORING") |
Generate and return the Left and Right Seed matrices. | |
void | GenerateSeedJacobian_unmanaged (double ***dp3_LeftSeed, int *ip1_LeftSeedRowCount, int *ip1_LeftSeedColumnCount, double ***dp3_RightSeed, int *ip1_RightSeedRowCount, int *ip1_RightSeedColumnCount, string s_OrderingVariant="NATURAL", string s_BicoloringVariant="IMPLICIT_COVERING__STAR_BICOLORING") |
Same as GenerateSeedJacobian(), except that these Seed matrices are NOT managed by ColPack. | |
int | Bicoloring (string s_OrderingVariant="NATURAL", string s_BicoloringVariant="IMPLICIT_COVERING__STAR_BICOLORING") |
Bicolor the bipartite graph based on the requested s_BicoloringVariant and s_OrderingVariant. | |
double ** | GetLeftSeedMatrix (int *ip1_LeftSeedRowCount, int *ip1_LeftSeedColumnCount) |
Return the Left Seed matrix. | |
double ** | GetRightSeedMatrix (int *ip1_RightSeedRowCount, int *ip1_RightSeedColumnCount) |
Return the Right Seed matrix. | |
void | GetOrderedVertices (vector< int > &output) |
~BipartiteGraphBicoloringInterface () | |
virtual void | Clear () |
virtual void | Reset () |
Private Attributes | |
Timer | m_T_Timer |
class BipartiteGraphBicoloringInterface in group22.
To be completed.
Definition at line 33 of file BipartiteGraphBicoloringInterface.h.
ColPack::BipartiteGraphBicoloringInterface::BipartiteGraphBicoloringInterface | ( | int | i_type, |
... | |||
) |
Build a BipartiteGraphBicoloringInterface object and create the bipartite graph based on the graph structure specified by the input source.
This function will:
Structure of this variadic function's parameters: BipartiteGraphBicoloringInterface(int i_type, [2 or more parameters for input source depending on the value of i_type]). Here are some examples:
About input parameters:
Definition at line 123 of file BipartiteGraphBicoloringInterface.cpp.
References SRC_FILE, SRC_MEM_ADIC, SRC_MEM_ADOLC, and SRC_WAIT.
Definition at line 29 of file BipartiteGraphBicoloringInterface.cpp.
int ColPack::BipartiteGraphBicoloringInterface::Bicoloring | ( | string | s_OrderingVariant = "NATURAL" , |
string | s_BicoloringVariant = "IMPLICIT_COVERING__STAR_BICOLORING" |
||
) |
Bicolor the bipartite graph based on the requested s_BicoloringVariant and s_OrderingVariant.
This function will
About input parameters:
Postcondition:
Definition at line 84 of file BipartiteGraphBicoloringInterface.cpp.
References _FALSE, _TRUE, and toUpper().
Referenced by main(), and toFileBiC().
void ColPack::BipartiteGraphBicoloringInterface::Clear | ( | ) | [virtual] |
Reimplemented from ColPack::BipartiteGraphBicoloring.
Definition at line 38 of file BipartiteGraphBicoloringInterface.cpp.
void ColPack::BipartiteGraphBicoloringInterface::GenerateSeedJacobian | ( | double *** | dp3_LeftSeed, |
int * | ip1_LeftSeedRowCount, | ||
int * | ip1_LeftSeedColumnCount, | ||
double *** | dp3_RightSeed, | ||
int * | ip1_RightSeedRowCount, | ||
int * | ip1_RightSeedColumnCount, | ||
string | s_OrderingVariant = "NATURAL" , |
||
string | s_BicoloringVariant = "IMPLICIT_COVERING__STAR_BICOLORING" |
||
) |
Generate and return the Left and Right Seed matrices.
This function will
About input parameters:
Postcondition:
Definition at line 56 of file BipartiteGraphBicoloringInterface.cpp.
void ColPack::BipartiteGraphBicoloringInterface::GenerateSeedJacobian_unmanaged | ( | double *** | dp3_LeftSeed, |
int * | ip1_LeftSeedRowCount, | ||
int * | ip1_LeftSeedColumnCount, | ||
double *** | dp3_RightSeed, | ||
int * | ip1_RightSeedRowCount, | ||
int * | ip1_RightSeedColumnCount, | ||
string | s_OrderingVariant = "NATURAL" , |
||
string | s_BicoloringVariant = "IMPLICIT_COVERING__STAR_BICOLORING" |
||
) |
Same as GenerateSeedJacobian(), except that these Seed matrices are NOT managed by ColPack.
Notes:
Definition at line 74 of file BipartiteGraphBicoloringInterface.cpp.
double ** ColPack::BipartiteGraphBicoloringInterface::GetLeftSeedMatrix | ( | int * | ip1_LeftSeedRowCount, |
int * | ip1_LeftSeedColumnCount | ||
) |
Return the Left Seed matrix.
Reimplemented from ColPack::BipartiteGraphBicoloring.
Definition at line 231 of file BipartiteGraphBicoloringInterface.cpp.
Referenced by main().
void ColPack::BipartiteGraphBicoloringInterface::GetOrderedVertices | ( | vector< int > & | output | ) |
Reimplemented from ColPack::BipartiteGraphOrdering.
Definition at line 239 of file BipartiteGraphBicoloringInterface.cpp.
double ** ColPack::BipartiteGraphBicoloringInterface::GetRightSeedMatrix | ( | int * | ip1_RightSeedRowCount, |
int * | ip1_RightSeedColumnCount | ||
) |
Return the Right Seed matrix.
Reimplemented from ColPack::BipartiteGraphBicoloring.
Definition at line 235 of file BipartiteGraphBicoloringInterface.cpp.
Referenced by main().
void ColPack::BipartiteGraphBicoloringInterface::Reset | ( | ) | [virtual] |
Reimplemented from ColPack::BipartiteGraphBicoloring.
Definition at line 47 of file BipartiteGraphBicoloringInterface.cpp.
Timer ColPack::BipartiteGraphBicoloringInterface::m_T_Timer [private] |
Definition at line 152 of file BipartiteGraphBicoloringInterface.h.