Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021 using namespace std;
00022
00023 #ifndef BIPARTITEGRAPHBICOLORINGINTERFACE_H
00024 #define BIPARTITEGRAPHBICOLORINGINTERFACE_H
00025
00026 namespace ColPack
00027 {
00033 class BipartiteGraphBicoloringInterface : public BipartiteGraphBicoloring
00034 {
00035
00036 public:
00037
00039
00077 BipartiteGraphBicoloringInterface(int i_type, ...);
00078
00079
00081
00107 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");
00108
00109
00111
00114 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");
00115
00116
00118
00141 int Bicoloring(string s_OrderingVariant = "NATURAL", string s_BicoloringVariant = "IMPLICIT_COVERING__STAR_BICOLORING");
00142
00144 double** GetLeftSeedMatrix(int* ip1_LeftSeedRowCount, int* ip1_LeftSeedColumnCount);
00145
00147 double** GetRightSeedMatrix(int* ip1_RightSeedRowCount, int* ip1_RightSeedColumnCount);
00148
00149 void GetOrderedVertices(vector<int> &output);
00150 private:
00151
00152 Timer m_T_Timer;
00153
00154 public:
00155
00156 ~BipartiteGraphBicoloringInterface();
00157
00158
00159 virtual void Clear();
00160
00161
00162 virtual void Reset();
00163
00164
00165 };
00166 }
00167 #endif
00168