highres-cortex 6.0.4
yl::SortedFront Class Reference

#include <highres-cortex/front.hh>

Public Member Functions

 SortedFront (carto::VolumeRef< int16_t > &domain, int16_t front_label, int16_t done_label)
 
const Point3d & get () const
 
Point3d pop ()
 
void add (const Point3d &, float priority)
 
bool empty () const
 
std::size_t size () const
 

Static Public Attributes

static const bool constant_time_size = FrontQueue::constant_time_size
 

Detailed Description

Definition at line 71 of file front.hh.

Constructor & Destructor Documentation

◆ SortedFront()

yl::SortedFront::SortedFront ( carto::VolumeRef< int16_t > & domain,
int16_t front_label,
int16_t done_label )

Member Function Documentation

◆ add()

void yl::SortedFront::add ( const Point3d & ,
float priority )

◆ empty()

bool yl::SortedFront::empty ( ) const
inline

Definition at line 86 of file front.hh.

◆ get()

const Point3d & yl::SortedFront::get ( ) const
inline

Definition at line 78 of file front.hh.

◆ pop()

Point3d yl::SortedFront::pop ( )

◆ size()

std::size_t yl::SortedFront::size ( ) const
inline

Definition at line 91 of file front.hh.

Member Data Documentation

◆ constant_time_size

const bool yl::SortedFront::constant_time_size = FrontQueue::constant_time_size
static

Definition at line 115 of file front.hh.


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