MySQL 8.1.0
Source Code Documentation
hypergraph::Hypergraph Struct Reference

#include <hypergraph.h>

Public Member Functions

 Hypergraph (MEM_ROOT *mem_root)
 
void AddNode ()
 
void AddEdge (NodeMap left, NodeMap right)
 
void ModifyEdge (unsigned edge_idx, NodeMap new_left, NodeMap new_right)
 

Public Attributes

Mem_root_array< Nodenodes
 
Mem_root_array< Hyperedgeedges
 

Private Member Functions

void AttachEdgeToNodes (size_t left_first_idx, size_t right_first_idx, NodeMap left, NodeMap right)
 

Constructor & Destructor Documentation

◆ Hypergraph()

hypergraph::Hypergraph::Hypergraph ( MEM_ROOT mem_root)
inlineexplicit

Member Function Documentation

◆ AddEdge()

void hypergraph::Hypergraph::AddEdge ( NodeMap  left,
NodeMap  right 
)

◆ AddNode()

void hypergraph::Hypergraph::AddNode ( )

◆ AttachEdgeToNodes()

void hypergraph::Hypergraph::AttachEdgeToNodes ( size_t  left_first_idx,
size_t  right_first_idx,
NodeMap  left,
NodeMap  right 
)
private

◆ ModifyEdge()

void hypergraph::Hypergraph::ModifyEdge ( unsigned  edge_idx,
NodeMap  new_left,
NodeMap  new_right 
)

Member Data Documentation

◆ edges

Mem_root_array<Hyperedge> hypergraph::Hypergraph::edges

◆ nodes

Mem_root_array<Node> hypergraph::Hypergraph::nodes

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