Changeset 20895b for molecuilder/src/molecule_graph.cpp
- Timestamp:
- Nov 4, 2009, 5:34:05 PM (16 years ago)
- Children:
- 5f1d021
- Parents:
- c1b76e
- File:
-
- 1 edited
-
molecuilder/src/molecule_graph.cpp (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
molecuilder/src/molecule_graph.cpp
rc1b76e r20895b 221 221 int molecule::CorrectBondDegree(ofstream *out) const 222 222 { 223 int No = 0 ;223 int No = 0, OldNo = -1; 224 224 225 225 if (BondCount != 0) { 226 226 *out << Verbose(1) << "Correcting Bond degree of each bond ... " << endl; 227 227 do { 228 OldNo = No; 228 229 No = SumPerAtom(&atom::CorrectBondDegree, out); 229 } while ( No);230 } while (OldNo != No); 230 231 *out << " done." << endl; 231 232 } else { … … 418 419 if (!DFS.BackStepping) { // coming from (8) want to go to (3) 419 420 // (9) remove all from stack till Walker (including), these and Root form a component 420 DFS.AtomStack->Output(out);421 //DFS.AtomStack->Output(out); 421 422 mol->SetNextComponentNumber(DFS.Root, DFS.ComponentNumber); 422 423 *out << Verbose(3) << "(9) Root[" << DFS.Root->Name << "]'s Component is " << DFS.ComponentNumber << "." << endl; … … 881 882 InitializeBFSAccounting(out, BFS, AtomCount); 882 883 883 *out << Verbose(1) << "Back edge list - ";884 BackEdgeStack->Output(out);884 //*out << Verbose(1) << "Back edge list - "; 885 //BackEdgeStack->Output(out); 885 886 886 887 *out << Verbose(1) << "Analysing cycles ... " << endl;
Note:
See TracChangeset
for help on using the changeset viewer.
