XNetwork 1.7.5; VERSION ${PROJECT_VERSION}
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
BFSInfo< Node > Struct Template Reference

Information structure for BFS traversal. More...

#include <cover.hpp>

Public Member Functions

 BFSInfo (Node p, int d)
 
 BFSInfo (const BFSInfo &)=default
 
 BFSInfo (BFSInfo &&)=default
 
BFSInfooperator= (const BFSInfo &)=default
 
BFSInfooperator= (BFSInfo &&)=default
 
 ~BFSInfo ()=default
 

Public Attributes

Node parent
 
int depth
 

Detailed Description

template<typename Node>
struct BFSInfo< Node >

Information structure for BFS traversal.

Constructor & Destructor Documentation

◆ BFSInfo() [1/3]

template<typename Node >
BFSInfo< Node >::BFSInfo ( Node  p,
int  d 
)
inline

◆ BFSInfo() [2/3]

template<typename Node >
BFSInfo< Node >::BFSInfo ( const BFSInfo< Node > &  )
default

◆ BFSInfo() [3/3]

template<typename Node >
BFSInfo< Node >::BFSInfo ( BFSInfo< Node > &&  )
default

◆ ~BFSInfo()

template<typename Node >
BFSInfo< Node >::~BFSInfo ( )
default

Member Function Documentation

◆ operator=() [1/2]

template<typename Node >
BFSInfo & BFSInfo< Node >::operator= ( BFSInfo< Node > &&  )
default

◆ operator=() [2/2]

template<typename Node >
BFSInfo & BFSInfo< Node >::operator= ( const BFSInfo< Node > &  )
default

Member Data Documentation

◆ depth

template<typename Node >
int BFSInfo< Node >::depth

◆ parent

template<typename Node >
Node BFSInfo< Node >::parent

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