MorphologicalAttributeFilters
Public API documentation
Loading...
Searching...
No Matches
Classes | Public Member Functions | Friends | List of all members
mmcfilters::ContoursComputedIncrementally::IncrementalContours Struct Reference

Incremental contour result stored as compact local deltas. More...

#include <ContoursComputedIncrementally.hpp>

Classes

class  ContourRange
 Cache-aware range over the contour of one node. More...
 
class  ContoursByNodeRange
 Lazy range over all live nodes as (nodeId, contourRange) pairs. More...
 
struct  StorageStats
 Allocation and cache diagnostics for an incremental contour result. More...
 

Public Member Functions

StorageStats storageStats () const
 Returns allocation-oriented diagnostics for benchmarks.
 
ContourRange getContour (NodeId node) const
 
ContoursByNodeRange contoursByNode () const
 
void materializeAll () const
 Materializes and caches every live-node contour.
 
bool isMaterialized () const
 Tests whether every live-node contour has already been materialized.
 
bool isContourMaterialized (NodeId node) const
 Tests whether one live node contour is already materialized.
 

Friends

class ContoursComputedIncrementally
 

Detailed Description

Incremental contour result stored as compact local deltas.

It keeps local contour additions/removals as compact spans and the materialized representation exposed to callers through range-based iteration helpers.

Definition at line 92 of file ContoursComputedIncrementally.hpp.

Member Function Documentation

◆ contoursByNode()

ContoursByNodeRange mmcfilters::ContoursComputedIncrementally::IncrementalContours::contoursByNode ( ) const
inline
Returns
Lazy range over all live nodes as (nodeId, contourRange) pairs.

Definition at line 357 of file ContoursComputedIncrementally.hpp.

◆ getContour()

ContourRange mmcfilters::ContoursComputedIncrementally::IncrementalContours::getContour ( NodeId  node) const
inline
Returns
Cache-aware range that iterates the contour of nodeId.

Definition at line 350 of file ContoursComputedIncrementally.hpp.

◆ isContourMaterialized()

bool mmcfilters::ContoursComputedIncrementally::IncrementalContours::isContourMaterialized ( NodeId  node) const
inline

Tests whether one live node contour is already materialized.

Definition at line 389 of file ContoursComputedIncrementally.hpp.

◆ isMaterialized()

bool mmcfilters::ContoursComputedIncrementally::IncrementalContours::isMaterialized ( ) const
inline

Tests whether every live-node contour has already been materialized.

Definition at line 376 of file ContoursComputedIncrementally.hpp.

◆ materializeAll()

void mmcfilters::ContoursComputedIncrementally::IncrementalContours::materializeAll ( ) const
inline

Materializes and caches every live-node contour.

This is a prefetch operation for broad workloads. It uses the same materialization path as getContour(root).

Definition at line 368 of file ContoursComputedIncrementally.hpp.

◆ storageStats()

StorageStats mmcfilters::ContoursComputedIncrementally::IncrementalContours::storageStats ( ) const
inline

Returns allocation-oriented diagnostics for benchmarks.

The byte count is approximate: it reports vector capacities owned by this object and does not include allocator metadata or referenced tree storage.

Definition at line 327 of file ContoursComputedIncrementally.hpp.

Friends And Related Symbol Documentation

◆ ContoursComputedIncrementally

Definition at line 94 of file ContoursComputedIncrementally.hpp.


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