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

#include <haplotypes.hpp>

Public Member Functions

template<class accessorType >
 haplo_DP_column (accessorType &ga)
 
 ~haplo_DP_column ()
 
template<class accessorType >
void extend (accessorType &ga)
 
vector< int64_t > get_sizes () const
 
vector< double > get_scores () const
 
double current_sum () const
 
void print (ostream &out) const
 
bool is_empty () const
 

Private Member Functions

template<class accessorType >
void binary_extend_intervals (accessorType &ga, int_itvl_t indices, int_itvl_t ss_deltas, int_itvl_t state_sizes)
 
template<class accessorType >
void standard_extend (accessorType &ga)
 
void update_inner_values ()
 
void update_score_vector (haploMath::RRMemo &memo)
 
double previous_R (size_t i) const
 

Private Attributes

vector< double > previous_values
 
vector< int64_t > previous_sizes
 
vector< shared_ptr< haplo_DP_rectangle > > entries
 
double previous_sum
 
double sum
 
double length
 

Constructor & Destructor Documentation

◆ haplo_DP_column()

template<class accessorType >
haplo::haplo_DP_column::haplo_DP_column ( accessorType &  ga)

◆ ~haplo_DP_column()

haplo::haplo_DP_column::~haplo_DP_column ( )

Member Function Documentation

◆ binary_extend_intervals()

template<class accessorType >
void haplo::haplo_DP_column::binary_extend_intervals ( accessorType &  ga,
int_itvl_t  indices,
int_itvl_t  ss_deltas,
int_itvl_t  state_sizes 
)
private

◆ current_sum()

double haplo::haplo_DP_column::current_sum ( ) const

◆ extend()

template<class accessorType >
void haplo::haplo_DP_column::extend ( accessorType &  ga)

◆ get_scores()

vector< double > haplo::haplo_DP_column::get_scores ( ) const

◆ get_sizes()

vector< int64_t > haplo::haplo_DP_column::get_sizes ( ) const

◆ is_empty()

bool haplo::haplo_DP_column::is_empty ( ) const

◆ previous_R()

double haplo::haplo_DP_column::previous_R ( size_t  i) const
private

◆ print()

void haplo::haplo_DP_column::print ( ostream &  out) const

◆ standard_extend()

template<class accessorType >
void haplo::haplo_DP_column::standard_extend ( accessorType &  ga)
private

◆ update_inner_values()

void haplo::haplo_DP_column::update_inner_values ( )
private

◆ update_score_vector()

void haplo::haplo_DP_column::update_score_vector ( haploMath::RRMemo memo)
private

Member Data Documentation

◆ entries

vector<shared_ptr<haplo_DP_rectangle> > haplo::haplo_DP_column::entries
private

◆ length

double haplo::haplo_DP_column::length
private

◆ previous_sizes

vector<int64_t> haplo::haplo_DP_column::previous_sizes
private

◆ previous_sum

double haplo::haplo_DP_column::previous_sum
private

◆ previous_values

vector<double> haplo::haplo_DP_column::previous_values
private

◆ sum

double haplo::haplo_DP_column::sum
private

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