35 #ifndef MULTOVL_PROB_SHUFFLEOVL_HEADER
36 #define MULTOVL_PROB_SHUFFLEOVL_HEADER
47 #include "randomplacer.hh"
67 explicit ShuffleOvl(
const std::vector<Region>& frees);
92 typedef std::map<unsigned int, RandomPlacer> rpm_t;
94 unsigned int _shufflecount;
98 friend class boost::serialization::access;
99 template <
class Archive>
100 void serialize(Archive& ar,
const unsigned int version)
102 ar & boost::serialization::base_object<multovl::MultiOverlap>(*this);
111 #endif // MULTOVL_PROB_SHUFFLEOVL_HEADER
unsigned int shuffle(UniformGen &rng)
bool fit_into_frees(const Region ®) const
Definition: shuffleovl.hh:75
ShuffleOvl(const std::vector< Region > &frees)
Multiple genomic region overlaps.
bool add_randomplacer(unsigned int reglen, unsigned int trackid)
Instances of the Region class represent regions on a sequence. They have first and last coordinates...
Definition: region.hh:65
Definition: multioverlap.hh:75
Definition: freeregions.hh:67
Class for calculating multiple overlaps repeatedly after reshuffling some of the tracks.
Definition: shuffleovl.hh:61
bool fit(const Region ®) const