bool operator==(const Interval& i){
return first == i.first && second == i.second && oriented == i.oriented;
}
+ //!The start index for this elementary interval
size_t first;
+ //!The end interval for this elementary interval
size_t second;
bool oriented;
};
std::vector<Interval> findIntervals(const GeneOrder& go);
/**
- * Creates a list with the intervals at each point.
+ * Creates a list with the intervals at each point. The first and second members
+ * of the returned Intervals are elementary intervals that start, or end, at the
+ * specific point.
*/
std::vector<Interval> findIntervalsAtPoints(const std::vector<Interval>& intervals);
/**
* Identifies the model for a given gene order.
*
- * \returns a map with the model as key and the score between -1 and 1
+ * \returns a priority_queue with the model as key and the score between -1 and 1
*/
std::priority_queue<std::pair<double,Model> > identify(const GeneOrder& go);