#ifndef __SORTACTION_H__
#define __SORTACTION_H__
+class GeneOrder;
/**
- * Abstraction of a sort action, keeping track of score
+ * Abstraction of a sort action
*
* \author Michael Andreen
*/
virtual ~SortAction(){};
/**
- * Sort SortActions by score
+ * Applies the action on the GeneOrder and returning it.
*/
- virtual operator<(const SortAction& sa) const;
+ virtual GeneOrder& operator()(GeneOrder& go) const{
+ return go;
+ }
+
+ /**
+ * Compares sort actions.
+ */
+ virtual bool operator==(const SortAction& sa) const{
+ return false;
+ }
};
#endif