X-Git-Url: https://ruin.nu/git/?p=germs.git;a=blobdiff_plain;f=src%2Fgenealgorithms.h;fp=src%2Fgenealgorithms.h;h=59e8f9caee921c452553829d3b1e66bedf32250b;hp=a91f67ddcae2345497c24841ff93dc6d6d5ebf82;hb=ca651f2fd25147f88dbb27a27bc79bedcd9e4c81;hpb=5d72c22c72f7f7438d491373a9685aa8a790b1d2 diff --git a/src/genealgorithms.h b/src/genealgorithms.h index a91f67d..59e8f9c 100644 --- a/src/genealgorithms.h +++ b/src/genealgorithms.h @@ -35,7 +35,9 @@ struct Interval{ 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; }; @@ -73,7 +75,9 @@ std::vector findComponents(const GeneOrder& go); std::vector 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 findIntervalsAtPoints(const std::vector& intervals);