static void* _c0;
#include <OOC/SSA/IGraph.oh>
#include <Exception.oh>
#define OOC_SSA_IGraph__bitsPerSet 32
#define OOC_SSA_IGraph__emptySet 0
static void OOC_SSA_IGraph__InitGraph(OOC_SSA_IGraph__Graph g, OOC_INT32 size);

/* run-time meta data */
static RT0__ModuleDesc _mid;
RT0__StructDesc _td_OOC_SSA_IGraph__999 = { (RT0__Struct[]){&RT0__set32}, NULL, NULL, &_mid, NULL, 4, 1, (1<<RT0__flagAtomic), RT0__strOpenArray };
RT0__StructDesc _td_OOC_SSA_IGraph__990 = { (RT0__Struct[]){&RT0__set32}, NULL, NULL, &_mid, NULL, 4, 2, (1<<RT0__flagAtomic), RT0__strOpenArray };
RT0__StructDesc _td_OOC_SSA_IGraph__BitMatrix = { (RT0__Struct[]){&_td_OOC_SSA_IGraph__990}, NULL, NULL, &_mid, (OOC_CHAR8*)"BitMatrix", 4, -1, 0, RT0__strPointer };
RT0__StructDesc _td_OOC_SSA_IGraph__1111 = { (RT0__Struct[]){&RT0__longint}, NULL, NULL, &_mid, NULL, 4, 1, (1<<RT0__flagAtomic), RT0__strOpenArray };
RT0__StructDesc _td_OOC_SSA_IGraph__ColorArray = { (RT0__Struct[]){&_td_OOC_SSA_IGraph__1111}, NULL, NULL, &_mid, (OOC_CHAR8*)"ColorArray", 4, -1, 0, RT0__strPointer };
RT0__StructDesc _td_OOC_SSA_IGraph__1150 = { (RT0__Struct[]){&RT0__set32}, NULL, NULL, &_mid, NULL, 4, 1, (1<<RT0__flagAtomic), RT0__strOpenArray };
RT0__StructDesc _td_OOC_SSA_IGraph__Vector = { (RT0__Struct[]){&_td_OOC_SSA_IGraph__1150}, NULL, NULL, &_mid, (OOC_CHAR8*)"Vector", 4, -1, 0, RT0__strPointer };
RT0__StructDesc _td_OOC_SSA_IGraph__Graph = { (RT0__Struct[]){&_td_OOC_SSA_IGraph__GraphDesc}, NULL, NULL, &_mid, (OOC_CHAR8*)"Graph", 4, -1, 0, RT0__strPointer };
RT0__StructDesc _td_OOC_SSA_IGraph__GraphDesc = { (RT0__Struct[]){&_td_OOC_SSA_IGraph__GraphDesc}, (void*[]){(void*)OOC_SSA_IGraph__GraphDesc_Clear,(void*)OOC_SSA_IGraph__GraphDesc_NewVector,(void*)OOC_SSA_IGraph__GraphDesc_CopyVector,(void*)OOC_SSA_IGraph__GraphDesc_Interfere,(void*)OOC_SSA_IGraph__GraphDesc_MergeRowColumn,(void*)OOC_SSA_IGraph__GraphDesc_AddToLive,(void*)OOC_SSA_IGraph__GraphDesc_RemoveFromLive,(void*)OOC_SSA_IGraph__GraphDesc_In,(void*)OOC_SSA_IGraph__GraphDesc_Conflicts,(void*)OOC_SSA_IGraph__GraphDesc_NumberOfConflicts,(void*)OOC_SSA_IGraph__GraphDesc_MergeVector,(void*)OOC_SSA_IGraph__GraphDesc_SymmetricMatrix,(void*)OOC_SSA_IGraph__GraphDesc_AssertSymmetricMatrix,(void*)OOC_SSA_IGraph__GraphDesc_ColorGraphTrivial,(void*)OOC_SSA_IGraph__GraphDesc_ColorGraphSimple,(void*)OOC_SSA_IGraph__GraphDesc_ColorGraphCombinatorial}, NULL, &_mid, (OOC_CHAR8*)"GraphDesc", 8, 0, 0, RT0__strRecord };
RT0__StructDesc _td_OOC_SSA_IGraph__9231 = { (RT0__Struct[]){&RT0__set32}, NULL, NULL, &_mid, NULL, 128, 32, (1<<RT0__flagAtomic), RT0__strArray };
RT0__StructDesc _td_OOC_SSA_IGraph__9271 = { (RT0__Struct[]){&RT0__longint}, NULL, NULL, &_mid, NULL, 4, 1, (1<<RT0__flagAtomic), RT0__strOpenArray };
RT0__StructDesc _td_OOC_SSA_IGraph__9260 = { (RT0__Struct[]){&_td_OOC_SSA_IGraph__9271}, NULL, NULL, &_mid, NULL, 4, -1, 0, RT0__strPointer };
RT0__StructDesc _td_OOC_SSA_IGraph__9296 = { (RT0__Struct[]){&RT0__set32}, NULL, NULL, &_mid, NULL, 128, 32, (1<<RT0__flagAtomic), RT0__strArray };
RT0__StructDesc _td_OOC_SSA_IGraph__10270 = { (RT0__Struct[]){&RT0__longint}, NULL, NULL, &_mid, NULL, 4, 1, (1<<RT0__flagAtomic), RT0__strOpenArray };
static RT0__ModuleDesc _mid = { (OOC_CHAR8*)"OOC:SSA:IGraph", (RT0__Struct[]) { &_td_OOC_SSA_IGraph__BitMatrix, &_td_OOC_SSA_IGraph__ColorArray, &_td_OOC_SSA_IGraph__Vector, &_td_OOC_SSA_IGraph__Graph, &_td_OOC_SSA_IGraph__GraphDesc, NULL }, 0 };

extern void OOC_OOC_SSA_IGraph_open(RT0__Module client) {
  if (_mid.openCount == 0) {
    OOC_Exception_open(&_mid);
    OOC_RT0_open(&_mid);
    OOC_Object_open(&_mid);
    OOC_Exception_open(&_mid);

    RT0__RegisterModule(&_mid);
    OOC_OOC_SSA_IGraph_init();
  }
  _mid.openCount++;
}
extern void OOC_OOC_SSA_IGraph_close(RT0__Module client) {
  _mid.openCount--;
  if (_mid.openCount == 0) { 
    OOC_OOC_SSA_IGraph_destroy();
    RT0__UnregisterModule(&_mid);

    OOC_Exception_close(&_mid);
    OOC_RT0_close(&_mid);
    OOC_Object_close(&_mid);
    OOC_Exception_close(&_mid);
  }
}

/* --- */
