#include "genealgorithms.h"
#include <algorithm>
+#include <sstream>
/**
* Reverses an interval
}
return false;
}
+
+ /**
+ * Gives a string representation of the action, for output
+ */
+ virtual std::string toString() const{
+ std::ostringstream os;
+ os << "[" << _i << "," << _j << "]";
+ return os.str();
+ }
private:
size_t _i;
size_t _j;