Chi-Tech
chi::GraphVertex Struct Reference

#include <chi_directed_graph_vertex.h>

Public Member Functions

 GraphVertex (size_t in_id, void *in_context)
 
 GraphVertex (size_t in_id)
 
 GraphVertex (const GraphVertex &in_v)
 
 GraphVertex (GraphVertex &&in_v) noexcept
 
GraphVertexoperator= (const GraphVertex &in_v)
 
GraphVertexoperator= (GraphVertex &&in_v) noexcept
 
bool operator== (const GraphVertex &other) const
 

Data Fields

size_t id
 
void * context
 
std::set< size_t > us_edge
 
std::set< size_t > ds_edge
 
std::map< size_t, double > us_weights
 
std::map< size_t, double > ds_weights
 

Detailed Description

General implementation of a directed-graph vertex.

Definition at line 10 of file chi_directed_graph_vertex.h.

Constructor & Destructor Documentation

◆ GraphVertex() [1/4]

chi::GraphVertex::GraphVertex ( size_t  in_id,
void *  in_context 
)
inline

Definition at line 21 of file chi_directed_graph_vertex.h.

◆ GraphVertex() [2/4]

chi::GraphVertex::GraphVertex ( size_t  in_id)
inlineexplicit

Definition at line 26 of file chi_directed_graph_vertex.h.

◆ GraphVertex() [3/4]

chi::GraphVertex::GraphVertex ( const GraphVertex in_v)
inline

Definition at line 31 of file chi_directed_graph_vertex.h.

◆ GraphVertex() [4/4]

chi::GraphVertex::GraphVertex ( GraphVertex &&  in_v)
inlinenoexcept

Definition at line 40 of file chi_directed_graph_vertex.h.

Member Function Documentation

◆ operator=() [1/2]

GraphVertex & chi::GraphVertex::operator= ( const GraphVertex in_v)
inline

Definition at line 51 of file chi_directed_graph_vertex.h.

◆ operator=() [2/2]

GraphVertex & chi::GraphVertex::operator= ( GraphVertex &&  in_v)
inlinenoexcept

Definition at line 64 of file chi_directed_graph_vertex.h.

◆ operator==()

bool chi::GraphVertex::operator== ( const GraphVertex other) const
inline

Definition at line 77 of file chi_directed_graph_vertex.h.

Field Documentation

◆ context

void* chi::GraphVertex::context

Definition at line 13 of file chi_directed_graph_vertex.h.

◆ ds_edge

std::set<size_t> chi::GraphVertex::ds_edge

Definition at line 16 of file chi_directed_graph_vertex.h.

◆ ds_weights

std::map<size_t,double> chi::GraphVertex::ds_weights

Definition at line 19 of file chi_directed_graph_vertex.h.

◆ id

size_t chi::GraphVertex::id

Definition at line 12 of file chi_directed_graph_vertex.h.

◆ us_edge

std::set<size_t> chi::GraphVertex::us_edge

Definition at line 15 of file chi_directed_graph_vertex.h.

◆ us_weights

std::map<size_t,double> chi::GraphVertex::us_weights

Definition at line 18 of file chi_directed_graph_vertex.h.


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