libsequence  1.9.5

A portion of a recombining chromosome. More...

#include <Sequence/Coalescent/SimTypes.hpp>

Public Member Functions

 segment ()
 default constructor initializes all members to 0
 
 segment (const int &b, const int &e, const int &d)
 constructor More...
 

Public Attributes

int beg
 
int end
 
int desc
 

Detailed Description

A portion of a recombining chromosome.

A segment is a portion of a recombining chromosome. A segment is defined in terms of its mutational length. Therefore, a segment consisting of k sites has k-1 positions at which recombination events can occur.

This struct contains 3 public members:

  • beg: the first site in the segment
  • end: the last site in the segment
  • desc: the individual in the sample to which the segment leads

Definition at line 83 of file SimTypes.hpp.

Constructor & Destructor Documentation

◆ segment()

Sequence::coalsim::segment::segment ( const int &  b,
const int &  e,
const int &  d = 0 
)
explicit

constructor

Parameters
bbeg
eend
ddesc

Definition at line 40 of file CoalescentSimTypes.cc.


The documentation for this struct was generated from the following files: