Open
Graph Drawing
Framework

 v. 2023.09 (Elderberry)
 

ogdf::OverlappingGraphCopies Class Reference

The manager class for multiple OverlappingGraphCopy instances of the same graph. More...

#include <ogdf/cluster/sync_plan/basic/OverlappingGraphCopies.h>

Public Member Functions

 OverlappingGraphCopies (const Graph &G)
 
 OverlappingGraphCopies (const OverlappingGraphCopies &copy)=delete
 
 OverlappingGraphCopies (OverlappingGraphCopies &&move)=delete
 
const GraphconstGraph () const
 
const EA::EntryTypecopies (edge e) const
 
const NA::EntryTypecopies (node n) const
 
OverlappingGraphCopiesoperator= (const OverlappingGraphCopies &copy)=delete
 
OverlappingGraphCopiesoperator= (OverlappingGraphCopies &&move)=delete
 

Private Types

using EA = EdgeMultiArray< const OverlappingGraphCopy *, edge >
 
using NA = NodeMultiArray< const OverlappingGraphCopy *, node >
 

Private Attributes

EA m_edge_copies
 
const Graphm_G
 
NA m_node_copies
 

Friends

class OverlappingGraphCopy
 

Detailed Description

The manager class for multiple OverlappingGraphCopy instances of the same graph.

This is similar to using multiple GraphCopySimple instances for a single graph, but is more efficient storage-wise and easily allows enumerating in which copies a node or edge occurs.

Definition at line 204 of file OverlappingGraphCopies.h.

Member Typedef Documentation

◆ EA

◆ NA

Constructor & Destructor Documentation

◆ OverlappingGraphCopies() [1/3]

ogdf::OverlappingGraphCopies::OverlappingGraphCopies ( const Graph G)
inlineexplicit

Definition at line 214 of file OverlappingGraphCopies.h.

◆ OverlappingGraphCopies() [2/3]

ogdf::OverlappingGraphCopies::OverlappingGraphCopies ( const OverlappingGraphCopies copy)
delete

◆ OverlappingGraphCopies() [3/3]

ogdf::OverlappingGraphCopies::OverlappingGraphCopies ( OverlappingGraphCopies &&  move)
delete

Member Function Documentation

◆ constGraph()

const Graph* ogdf::OverlappingGraphCopies::constGraph ( ) const
inline

Definition at line 225 of file OverlappingGraphCopies.h.

◆ copies() [1/2]

const EA::EntryType& ogdf::OverlappingGraphCopies::copies ( edge  e) const
inline

Definition at line 223 of file OverlappingGraphCopies.h.

◆ copies() [2/2]

const NA::EntryType& ogdf::OverlappingGraphCopies::copies ( node  n) const
inline

Definition at line 221 of file OverlappingGraphCopies.h.

◆ operator=() [1/2]

OverlappingGraphCopies& ogdf::OverlappingGraphCopies::operator= ( const OverlappingGraphCopies copy)
delete

◆ operator=() [2/2]

OverlappingGraphCopies& ogdf::OverlappingGraphCopies::operator= ( OverlappingGraphCopies &&  move)
delete

Friends And Related Function Documentation

◆ OverlappingGraphCopy

friend class OverlappingGraphCopy
friend

Definition at line 205 of file OverlappingGraphCopies.h.

Member Data Documentation

◆ m_edge_copies

EA ogdf::OverlappingGraphCopies::m_edge_copies
private

Definition at line 211 of file OverlappingGraphCopies.h.

◆ m_G

const Graph* ogdf::OverlappingGraphCopies::m_G
private

Definition at line 209 of file OverlappingGraphCopies.h.

◆ m_node_copies

NA ogdf::OverlappingGraphCopies::m_node_copies
private

Definition at line 210 of file OverlappingGraphCopies.h.


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