Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
bb::ActiveRegionData Struct Reference

#include <flavor.hpp>

Public Member Functions

void add_range (const size_t start, const size_t end)
 
std::vector< std::pair< size_t, size_t > > get_ranges () const
 
size_t get_idx (const size_t idx) const
 
std::pair< size_t, size_t > get_range (const size_t idx) const
 
size_t size () const
 
size_t num_ranges () const
 

Private Attributes

std::vector< std::pair< size_t, size_t > > ranges
 
std::vector< size_t > idxs
 
size_t current_end { 0 }
 

Detailed Description

Definition at line 103 of file flavor.hpp.

Member Function Documentation

◆ add_range()

void bb::ActiveRegionData::add_range ( const size_t  start,
const size_t  end 
)
inline

Definition at line 104 of file flavor.hpp.

◆ get_idx()

size_t bb::ActiveRegionData::get_idx ( const size_t  idx) const
inline

Definition at line 115 of file flavor.hpp.

◆ get_range()

std::pair< size_t, size_t > bb::ActiveRegionData::get_range ( const size_t  idx) const
inline

Definition at line 116 of file flavor.hpp.

◆ get_ranges()

std::vector< std::pair< size_t, size_t > > bb::ActiveRegionData::get_ranges ( ) const
inline

Definition at line 114 of file flavor.hpp.

◆ num_ranges()

size_t bb::ActiveRegionData::num_ranges ( ) const
inline

Definition at line 118 of file flavor.hpp.

◆ size()

size_t bb::ActiveRegionData::size ( ) const
inline

Definition at line 117 of file flavor.hpp.

Member Data Documentation

◆ current_end

size_t bb::ActiveRegionData::current_end { 0 }
private

Definition at line 123 of file flavor.hpp.

◆ idxs

std::vector<size_t> bb::ActiveRegionData::idxs
private

Definition at line 122 of file flavor.hpp.

◆ ranges

std::vector<std::pair<size_t, size_t> > bb::ActiveRegionData::ranges
private

Definition at line 121 of file flavor.hpp.


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