BitMagic-C++: data_model Struct Reference

BitMagic-C++

Public Member Functions | Data Fields
data_model Struct Reference

Data frame object, sued to buid succinct data model. More...

## Public Member Functions
void | optimize ()
| Optimize memory layoput, build index for faster read access. More...
void | add_layout (size_t plane, bm::bvector<> *bv)
void | add_strand (size_t plane, rsc_vector_u8 *strand)

## Data Fields
layout_vector_type | layout_v
| layout vector More...
starnds_vector_type | strand_v
| strand planes vector More...

## Detailed Description

Data frame object, sued to buid succinct data model.

Examples
  xsample08.cpp.

Definition at line 76 of file xsample08.cpp.

## Member Function Documentation

## ◆ add_layout()

void data_model::add_layout | ( | size_t | plane,
|  | bm::bvector<> * | bv
| ) |  |

Examples
  xsample08.cpp.

Definition at line 109 of file xsample08.cpp.

References bm::BM_GAP.

Referenced by splice_model().

## ◆ add_strand()

void data_model::add_strand | ( | size_t | plane,
|  | rsc_vector_u8 * | strand
| ) |  |

Examples
  xsample08.cpp.

Definition at line 124 of file xsample08.cpp.

Referenced by splice_model().

## ◆ optimize()

void data_model::optimize | ( |  | ) |

Optimize memory layoput, build index for faster read access.

Examples
  xsample08.cpp.

Definition at line 89 of file xsample08.cpp.

References BM_DECLARE_TEMP_BLOCK.

Referenced by main().

## Field Documentation

## ◆ layout_v

layout_vector_type data_model::layout_v

layout vector

Examples
  xsample08.cpp.

Definition at line 85 of file xsample08.cpp.

Referenced by add_object(), print_model(), and splice_model().

## ◆ strand_v

starnds_vector_type data_model::strand_v

strand planes vector

Examples
  xsample08.cpp.

Definition at line 86 of file xsample08.cpp.

Referenced by print_model(), set_feature_strand(), and splice_model().

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

- xsample08.cpp