Loading...
Searching...
No Matches
ring::AffiliationUpdater Class Reference

Exact incremental affiliation across frames. More...

#include <cage_affiliation.hpp>

Public Member Functions

 AffiliationUpdater ()
 ~AffiliationUpdater ()
 AffiliationUpdater (AffiliationUpdater &&) noexcept
AffiliationUpdateroperator= (AffiliationUpdater &&) noexcept
 AffiliationUpdater (const AffiliationUpdater &)=delete
AffiliationUpdateroperator= (const AffiliationUpdater &)=delete
const CageAffiliationupdate (const std::vector< std::vector< int > > &rings, const std::vector< std::vector< int > > &nList)
int lastReclassified () const

Detailed Description

Exact incremental affiliation across frames.

Diffs the six-ring set (by canonical ring key) and the neighbour rows against the previous frame, recomputes affiliation inside the locality closure of the changes, and carries stored answers elsewhere. The result is identical to cageAffiliation on the new frame. The neighbour graph should come from SkinNeighborList (default: mutual four-nearest, the TUM v2 graph).

Definition at line 81 of file cage_affiliation.hpp.

Constructor & Destructor Documentation

◆ AffiliationUpdater() [1/3]

ring::AffiliationUpdater::AffiliationUpdater ( )

◆ ~AffiliationUpdater()

ring::AffiliationUpdater::~AffiliationUpdater ( )

◆ AffiliationUpdater() [2/3]

ring::AffiliationUpdater::AffiliationUpdater ( AffiliationUpdater && )
noexcept

◆ AffiliationUpdater() [3/3]

ring::AffiliationUpdater::AffiliationUpdater ( const AffiliationUpdater & )
delete

Member Function Documentation

◆ lastReclassified()

int ring::AffiliationUpdater::lastReclassified ( ) const
nodiscard

Rings reclassified by the last update (the dirty closure); the first call reports every ring.

◆ operator=() [1/2]

AffiliationUpdater & ring::AffiliationUpdater::operator= ( AffiliationUpdater && )
noexcept

◆ operator=() [2/2]

AffiliationUpdater & ring::AffiliationUpdater::operator= ( const AffiliationUpdater & )
delete

◆ update()

const CageAffiliation & ring::AffiliationUpdater::update ( const std::vector< std::vector< int > > & rings,
const std::vector< std::vector< int > > & nList )

Classify the frame, reusing the previous frame's answers outside the locality closure of what changed. The reference stays valid until the next update call.


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