#define maxGraphSize 310 #include "BiGraph_ME.h" list readModules_biGraph(char *fileName) { list L_module; string line; string storeLine[4]; int st = 0; ifstream File2(fileName); if(File2.fail()) { cerr<<"\n file open fail"; return L_module; } while (!File2.eof()) { getline(File2,line); storeLine[st] = line; st++; if (st==3) { st=0; //cout< nodes; list::iterator inodes; nodes = mySplit(storeLine[1], ";"); inodes = nodes.begin(); while(inodes!=nodes.end()) { (moduleTp.edges).push_back(*inodes); inodes++; } L_module.push_back(moduleTp); } } File2.close(); return L_module; } int main(int argc, char *argv[]) { time_t secondsc,secondse; secondsc = time (NULL); list G_biGraph = readModules_biGraph("sampleData_4_ME_algorithm.txt"); list::iterator biGraph; list::iterator biGraphList[G_biGraph.size()]; cout<<"\nTotal module = "<GoID)<<"<"<GoID)<<" "; //cout<<(biGraphList[i]->edges).size()<<"--\n"; #pragma omp critical { cout<<"\n"<<(biGraphList[i]->GoID)<<" -- "<