00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038
00039
00040
00041
00042 #ifndef RCM_h
00043 #define RCM_h
00044
00045 #include <GraphNumberer.h>
00046
00047 #ifndef _bool_h
00048 #include <bool.h>
00049 #endif
00050
00058 class RCM: public GraphNumberer
00059 {
00060 public:
00067 RCM(bool GPS = true);
00068
00073 ~RCM();
00074
00075
00102 const ID &number(Graph &theGraph, int lastVertex = -1);
00103
00113 const ID &number(Graph &theGraph, const ID &lastVertices);
00114
00115
00119 int sendSelf(int commitTag, Channel &theChannel);
00120
00126 int recvSelf(int commitTag, Channel &theChannel,
00127
00128 FEM_ObjectBroker &theBroker);
00129
00130 protected:
00131
00132 private:
00133
00135 int numVertex;
00136
00138 ID *theRefResult;
00140 bool GPS;
00141 };
00142
00143 #endif
00144