use ConservedPath class instead of vector<int>
authorDiane Trout <diane@caltech.edu>
Thu, 2 Mar 2006 06:53:24 +0000 (06:53 +0000)
committerDiane Trout <diane@caltech.edu>
Thu, 2 Mar 2006 06:53:24 +0000 (06:53 +0000)
commited359b20a7aeccf2b3f49501efb7f135115f7b46
treeabd09b8a9bdaff8262e422a97589c5b91a4cb6b7
parent45a7f40d5c79f18a4c70e37e2655040ed202ba52
use ConservedPath class instead of vector<int>
This is a massive bout of refactoring, instead of just using vector<int>s
to store a path I implemented two classes ConservedPath and
ExtendedConservedPath which contain a path of ints and score information
for the ConservedPath and window_size for the Extended version.

In trying to unit test this I also ended up needing to implement several
useful things like operator== and operator<< (for the boost test cases).
for these classes and FLPs.

Though even with all of this refactoring the key feature of getting
the path score correct so I can use clipping planes isn't implemented yet.

But at least both old and new mussa work correctly with the refactoring.
And I fixed one of the rendering bugs in old mussa.
27 files changed:
alg/conserved_path.cxx [new file with mode: 0644]
alg/conserved_path.h [new file with mode: 0644]
alg/flp.cxx
alg/flp.hh
alg/module.mk
alg/mussa_class.cxx
alg/nway_entropy.cxx
alg/nway_other.cxx
alg/nway_paths.cxx
alg/nway_paths.hh
alg/test-conflict/test_conserved_path.cxx [new file with mode: 0644]
alg/test/module.mk
alg/test/test_flp.cxx
alg/test/test_mussa.cxx
alg/test/test_nway.cxx
gui/ConnView.cxx
gui/ConnView.hh
gui/ConnWindow.cxx
gui/SeqView.cxx
gui/SeqView.hh
gui/SeqWindow.cxx
gui/SeqWindow.hh
gui/module.mk
module.mk
mussagl.pro
qui/GlSequence.cxx
qui/PathScene.cxx