]> ruin.nu Git - germs.git/blobdiff - src/genesorter.h
genesorter now uses models to score actions, specific actions are now derived from...
[germs.git] / src / genesorter.h
index e06bedf9e31e2611af5ebe4b7c086ffd280381e1..6ec4047cf006c25c92b0992ca189d59f94e07b9f 100644 (file)
@@ -25,6 +25,7 @@
 
 class SortAction;
 class GeneOrder;
+class Model;
 
 /**
  * Sorts genes
@@ -39,7 +40,7 @@ class GeneSorter{
                 * Takes a GeneOrder, finds the actions to transform it into a sorted
                 * permutation and returns the list with required actions.
                 */
-               ActionList sort(const GeneOrder& go1);
+               ActionList sort(const GeneOrder& go1, const Model& m);
 
                /**
                 * Find the safe actions for this GeneOrder.