Home
last modified time | relevance | path

Searched refs:recombination_rates_ (Results 1 – 3 of 3) sorted by relevance

/dports/biology/scrm/scrm-1.7.4/src/
H A Dmodel.cc141 recombination_rates_.push_back(-1); in addChangePosition()
157 recombination_rates_.insert(recombination_rates_.begin() + idx, -1); in addChangePosition()
534 assert( recombination_rates_.at(0) != -1 ); in finalize()
540 if (recombination_rates_.at(j) == -1) { in finalize()
541 recombination_rates_.at(j) = recombination_rates_.at(j-1); in finalize()
689 recombination_rates_[addChangePosition(seq_position)] = rate; in setRecombinationRate()
H A Dmodel.h108 if (idx == -1) return recombination_rates_.at(current_seq_idx_);
109 else return recombination_rates_.at(idx);
416 recombination_rates_.at(i) *= (double)(loci_length()-1) / (length-1); in setLocusLength()
490 …std::vector<double> recombination_rates_; /*!< Unit: Recombinations per base per generation … variable
/dports/biology/scrm/scrm-1.7.4/tests/unittests/
H A Dtest_model.cc284 CPPUNIT_ASSERT_EQUAL((size_t)1, model.recombination_rates_.size()); in testAddChangePositions()
291 CPPUNIT_ASSERT_EQUAL((size_t)1, model.recombination_rates_.size()); in testAddChangePositions()
299 CPPUNIT_ASSERT_EQUAL((size_t)2, model.recombination_rates_.size()); in testAddChangePositions()
307 CPPUNIT_ASSERT_EQUAL((size_t)2, model.recombination_rates_.size()); in testAddChangePositions()
316 CPPUNIT_ASSERT_EQUAL((size_t)3, model.recombination_rates_.size()); in testAddChangePositions()