]> ruin.nu Git - germs.git/blobdiff - src/genesorter.h
sorting without hurdles seems to work
[germs.git] / src / genesorter.h
index 402464bcc4b8555d3d0c6541dc2ab21aa4fc18f3..4380e9957479625140f95c858f3245e54942731f 100644 (file)
@@ -22,7 +22,6 @@
 #define __GENESORTER_H__
 
 #include <vector>
-#include <tr1/memory>
 
 class SortAction;
 class GeneOrder;
@@ -34,8 +33,7 @@ class GeneOrder;
  */
 class GeneSorter{
        public:
-               typedef std::tr1::shared_ptr<SortAction> ActionPointer;
-               typedef std::vector<ActionPointer> ActionList;
+               typedef std::vector<SortAction> ActionList;
 
                /**
                 * Takes a GeneOrder, finds the actions to transform it into a sorted
@@ -48,6 +46,8 @@ class GeneSorter{
                 */
                ActionList safeActions(const GeneOrder& go1);
 
+               size_t scoreActions(const GeneOrder& go, SortAction& sa);
+
                ~GeneSorter(){};
 };