#include <string>
#include <iostream>
-#include "Loci.h"
+#include "loci.h"
using namespace std;
return((this->chr == a.chr)?(this->pos < a.pos):(this->chr < a.chr));
}
+bool Loci::operator==(const Loci& a) const {
+ return(this->chr == a.chr && this->pos == a.pos);
+}
+
bool Loci::operator<=(const Loci& a) const {
return((this->chr == a.chr)?(this->pos <= a.pos):(this->chr < a.chr));
}