Changeset 126934 for molecuilder/src/molecules.cpp
- Timestamp:
- Jul 28, 2008, 2:41:22 PM (17 years ago)
- Children:
- d49416
- Parents:
- 3f805d
- File:
-
- 1 edited
-
molecuilder/src/molecules.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
molecuilder/src/molecules.cpp
r3f805d r126934 1878 1878 NumCycles++; 1879 1879 RingSize = 1; 1880 Walker = Root;1880 Root->GetTrueFather()->IsCyclic = true; 1881 1881 *out << Verbose(1) << "Found ring contains: "; 1882 1882 while (Walker != BackEdge->rightatom) { 1883 1883 *out << Walker->Name << " <-> "; 1884 1884 Walker = PredecessorList[Walker->nr]; 1885 Walker->GetTrueFather()->IsCyclic = true; 1885 1886 RingSize++; 1886 1887 } … … 1936 1937 ShortestPathList[OtherAtom->nr] = ShortestPathList[Walker->nr]+1; 1937 1938 //*out << Verbose(2) << "Coloring OtherAtom " << OtherAtom->Name << " lightgray, its predecessor is " << Walker->Name << " and its Shortest Path is " << ShortestPathList[OtherAtom->nr] << " egde(s) long." << endl; 1938 if ( MinimumRingSize[OtherAtom->GetTrueFather()->nr] != AtomCount) { // if the other atom is connected to a ring1939 if (OtherAtom->GetTrueFather()->IsCyclic) { // if the other atom is connected to a ring 1939 1940 MinimumRingSize[Root->GetTrueFather()->nr] = ShortestPathList[OtherAtom->nr]+MinimumRingSize[OtherAtom->GetTrueFather()->nr]; 1940 1941 OtherAtom = NULL; //break;
Note:
See TracChangeset
for help on using the changeset viewer.
