vg
tools for working with variation graphs
Public Member Functions | Public Attributes | Private Types | Private Attributes | List of all members
haplo::haplo_DP_rectangle Struct Reference

#include <haplotypes.hpp>

Public Member Functions

 haplo_DP_rectangle ()
 
 haplo_DP_rectangle (bool inclusive_interval)
 
void set_offset (int offset)
 
template<class accessorType >
void false_extend (accessorType &ga, int_itvl_t delta)
 
template<class GBWTType >
void extend (hDP_gbwt_graph_accessor< GBWTType > &ga)
 
int64_t I () const
 
int64_t interval_size () const
 
void set_prev_idx (int64_t index)
 
int64_t prev_idx () const
 
bool is_new () const
 
void calculate_I (int64_t succ_o_val)
 

Public Attributes

double R
 

Private Types

typedef pair< size_t, size_t > gen_range_t
 
typedef size_t gen_flat_node
 

Private Attributes

int64_t inner_value
 
gen_range_t state = make_pair(1, 0)
 
gen_flat_node flat_node
 
int64_t previous_index = -1
 
bool int_is_inc
 

Member Typedef Documentation

◆ gen_flat_node

◆ gen_range_t

typedef pair<size_t, size_t> haplo::haplo_DP_rectangle::gen_range_t
private

Constructor & Destructor Documentation

◆ haplo_DP_rectangle() [1/2]

haplo::haplo_DP_rectangle::haplo_DP_rectangle ( )

◆ haplo_DP_rectangle() [2/2]

haplo::haplo_DP_rectangle::haplo_DP_rectangle ( bool  inclusive_interval)

Member Function Documentation

◆ calculate_I()

void haplo::haplo_DP_rectangle::calculate_I ( int64_t  succ_o_val)

◆ extend()

template<class GBWTType >
void haplo::haplo_DP_rectangle::extend ( hDP_gbwt_graph_accessor< GBWTType > &  ga)

◆ false_extend()

template<class accessorType >
void haplo::haplo_DP_rectangle::false_extend ( accessorType &  ga,
int_itvl_t  delta 
)

◆ I()

int64_t haplo::haplo_DP_rectangle::I ( ) const

◆ interval_size()

int64_t haplo::haplo_DP_rectangle::interval_size ( ) const

◆ is_new()

bool haplo::haplo_DP_rectangle::is_new ( ) const

◆ prev_idx()

int64_t haplo::haplo_DP_rectangle::prev_idx ( ) const

◆ set_offset()

void haplo::haplo_DP_rectangle::set_offset ( int  offset)

◆ set_prev_idx()

void haplo::haplo_DP_rectangle::set_prev_idx ( int64_t  index)

Member Data Documentation

◆ flat_node

gen_flat_node haplo::haplo_DP_rectangle::flat_node
private

◆ inner_value

int64_t haplo::haplo_DP_rectangle::inner_value
private

◆ int_is_inc

bool haplo::haplo_DP_rectangle::int_is_inc
private

◆ previous_index

int64_t haplo::haplo_DP_rectangle::previous_index = -1
private

◆ R

double haplo::haplo_DP_rectangle::R

◆ state

gen_range_t haplo::haplo_DP_rectangle::state = make_pair(1, 0)
private

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