Visual Computing Library
Loading...
Searching...
No Matches
vcl::UndirectedNode< T > Class Template Reference

Public Types

using InfoType = T
 

Public Member Functions

 UndirectedNode (const T &info)
 
const T & info () const
 
T & info ()
 
void addAdjacent (unsigned int node)
 
bool isAdjacent (unsigned int node) const
 
void deleteAdjacent (unsigned int node)
 
void clearAdjacentNodes ()
 
std::unordered_set< unsignedint >::const_iterator begin () const
 
std::unordered_set< unsignedint >::const_iterator end () const
 
unsigned int sizeAdjacentNodes () const
 

Protected Attributes

mInfo
 
std::unordered_set< unsigned intmAdjacentNodes
 

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