ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
CP::EdgeAttribute< T > Struct Template Reference

#include <Graph.h>

Collaboration diagram for CP::EdgeAttribute< T >:

Public Types

typedef T calc_type
 

Public Member Functions

 EdgeAttribute (T weight=1., uint32_t eIndex=0, bool real=true)
 

Public Attributes

uint32_t index
 
EdgeDescriptor edge_reverse
 
weight
 
capacity
 
residualCapacity
 
bool isActive
 
bool realEdge
 

Detailed Description

template<typename T>
struct CP::EdgeAttribute< T >

Definition at line 45 of file Graph.h.

Member Typedef Documentation

◆ calc_type

template<typename T >
typedef T CP::EdgeAttribute< T >::calc_type

Definition at line 46 of file Graph.h.

Constructor & Destructor Documentation

◆ EdgeAttribute()

template<typename T >
CP::EdgeAttribute< T >::EdgeAttribute ( weight = 1.,
uint32_t  eIndex = 0,
bool  real = true 
)
inline

Definition at line 48 of file Graph.h.

Member Data Documentation

◆ capacity

template<typename T >
T CP::EdgeAttribute< T >::capacity

Definition at line 60 of file Graph.h.

◆ edge_reverse

template<typename T >
EdgeDescriptor CP::EdgeAttribute< T >::edge_reverse

Definition at line 57 of file Graph.h.

Referenced by CP::addDoubledge().

◆ index

template<typename T >
uint32_t CP::EdgeAttribute< T >::index

Definition at line 56 of file Graph.h.

◆ isActive

template<typename T >
bool CP::EdgeAttribute< T >::isActive

Definition at line 62 of file Graph.h.

◆ realEdge

template<typename T >
bool CP::EdgeAttribute< T >::realEdge

Definition at line 63 of file Graph.h.

◆ residualCapacity

template<typename T >
T CP::EdgeAttribute< T >::residualCapacity

Definition at line 61 of file Graph.h.

◆ weight

template<typename T >
T CP::EdgeAttribute< T >::weight

Definition at line 59 of file Graph.h.


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