Public Member Functions | Protected Attributes | Private Member Functions

ColPack::BipartiteGraphPartialOrdering Class Reference
[Classes for Bipartite Graphs Partial Coloring]

class BipartiteGraphPartialOrdering in group21. More...

#include <BipartiteGraphPartialOrdering.h>

Inherits ColPack::BipartiteGraphInputOutput.

Inherited by ColPack::BipartiteGraphPartialColoring.

Collaboration diagram for ColPack::BipartiteGraphPartialOrdering:
Collaboration graph
[legend]

List of all members.

Public Member Functions

int OrderVertices (string s_OrderingVariant="NATURAL", string s_ColoringVariant="COLUMN_PARTIAL_DISTANCE_TWO")
 BipartiteGraphPartialOrdering ()
 ~BipartiteGraphPartialOrdering ()
virtual void Clear ()
virtual void Reset ()
int RowNaturalOrdering ()
int ColumnNaturalOrdering ()
int RowRandomOrdering ()
int ColumnRandomOrdering ()
int RowLargestFirstOrdering ()
int ColumnLargestFirstOrdering ()
int RowSmallestLastOrdering ()
int ColumnSmallestLastOrdering ()
int RowIncidenceDegreeOrdering ()
int ColumnIncidenceDegreeOrdering ()
string GetVertexOrderingVariant ()
void GetOrderedVertices (vector< int > &output)
void PrintVertexOrdering ()
double GetVertexOrderingTime ()

Protected Attributes

double m_d_OrderingTime
string m_s_VertexOrderingVariant
vector< int > m_vi_OrderedVertices

Private Member Functions

int CheckVertexOrdering (string s_VertexOrderingVariant)

Detailed Description

class BipartiteGraphPartialOrdering in group21.

The BipartiteGraphPartialOrderingClass stores either the ordered row or column vertices as a vector of vertex identifiers to be used by bipartite graph partial coloring methods.

Definition at line 37 of file BipartiteGraphPartialOrdering.h.


Constructor & Destructor Documentation

ColPack::BipartiteGraphPartialOrdering::BipartiteGraphPartialOrdering (  ) 

Definition at line 45 of file BipartiteGraphPartialOrdering.cpp.

References Clear().

Here is the call graph for this function:

ColPack::BipartiteGraphPartialOrdering::~BipartiteGraphPartialOrdering (  ) 

Definition at line 52 of file BipartiteGraphPartialOrdering.cpp.

References Clear().

Here is the call graph for this function:


Member Function Documentation

int ColPack::BipartiteGraphPartialOrdering::CheckVertexOrdering ( string  s_VertexOrderingVariant  )  [private]
void ColPack::BipartiteGraphPartialOrdering::Clear (  )  [virtual]
int ColPack::BipartiteGraphPartialOrdering::ColumnIncidenceDegreeOrdering (  ) 
int ColPack::BipartiteGraphPartialOrdering::ColumnLargestFirstOrdering (  ) 
int ColPack::BipartiteGraphPartialOrdering::ColumnNaturalOrdering (  ) 
int ColPack::BipartiteGraphPartialOrdering::ColumnRandomOrdering (  ) 

Definition at line 152 of file BipartiteGraphPartialOrdering.cpp.

References _TRUE, CheckVertexOrdering(), m_s_VertexOrderingVariant, ColPack::BipartiteGraphCore::m_vi_LeftVertices, m_vi_OrderedVertices, ColPack::BipartiteGraphCore::m_vi_RightVertices, randomOrdering(), and STEP_DOWN.

Referenced by OrderVertices().

Here is the call graph for this function:

Here is the caller graph for this function:

int ColPack::BipartiteGraphPartialOrdering::ColumnSmallestLastOrdering (  ) 
void ColPack::BipartiteGraphPartialOrdering::GetOrderedVertices ( vector< int > &  output  ) 
double ColPack::BipartiteGraphPartialOrdering::GetVertexOrderingTime (  ) 

Definition at line 1165 of file BipartiteGraphPartialOrdering.cpp.

References m_d_OrderingTime.

Referenced by toFileBiPC().

Here is the caller graph for this function:

string ColPack::BipartiteGraphPartialOrdering::GetVertexOrderingVariant (  ) 
int ColPack::BipartiteGraphPartialOrdering::OrderVertices ( string  s_OrderingVariant = "NATURAL",
string  s_ColoringVariant = "COLUMN_PARTIAL_DISTANCE_TWO" 
)
void ColPack::BipartiteGraphPartialOrdering::PrintVertexOrdering (  ) 
void ColPack::BipartiteGraphPartialOrdering::Reset (  )  [virtual]
int ColPack::BipartiteGraphPartialOrdering::RowIncidenceDegreeOrdering (  ) 
int ColPack::BipartiteGraphPartialOrdering::RowLargestFirstOrdering (  ) 
int ColPack::BipartiteGraphPartialOrdering::RowNaturalOrdering (  ) 

Definition at line 87 of file BipartiteGraphPartialOrdering.cpp.

References _TRUE, CheckVertexOrdering(), ColPack::BipartiteGraphCore::m_vi_LeftVertices, m_vi_OrderedVertices, and STEP_DOWN.

Referenced by ColPack::BipartiteGraphPartialColoring::CheckVertexColoring(), and OrderVertices().

Here is the call graph for this function:

Here is the caller graph for this function:

int ColPack::BipartiteGraphPartialOrdering::RowRandomOrdering (  ) 

Definition at line 130 of file BipartiteGraphPartialOrdering.cpp.

References _TRUE, CheckVertexOrdering(), m_s_VertexOrderingVariant, ColPack::BipartiteGraphCore::m_vi_LeftVertices, m_vi_OrderedVertices, randomOrdering(), and STEP_DOWN.

Referenced by OrderVertices().

Here is the call graph for this function:

Here is the caller graph for this function:

int ColPack::BipartiteGraphPartialOrdering::RowSmallestLastOrdering (  ) 

Definition at line 336 of file BipartiteGraphPartialOrdering.cpp.

References _FALSE, _TRUE, _UNKNOWN, CheckVertexOrdering(), ColPack::BipartiteGraphCore::m_vi_Edges, ColPack::BipartiteGraphCore::m_vi_LeftVertices, m_vi_OrderedVertices, and ColPack::BipartiteGraphCore::m_vi_RightVertices.

Referenced by OrderVertices().

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation