Open
Graph Drawing
Framework

 v. 2023.09 (Elderberry)
 

Loading...
Searching...
No Matches
ogdf::energybased::fmmm::EdgeAttributes Class Reference

helping data structure that stores the graphical attributes of an edge that are needed for the force-directed algorithms. More...

#include <ogdf/energybased/fmmm/EdgeAttributes.h>

Public Member Functions

 EdgeAttributes ()
 Constructor.
 
double get_length () const
 
void set_EdgeAttributes (double len, edge e_orig, edge e_sub)
 
void set_length (double len)
 
for the divide et impera step in FMMM
void set_original_edge (edge e)
 
void set_subgraph_edge (edge e)
 
edge get_original_edge () const
 
edge get_subgraph_edge () const
 
for the preprocessing step in FMMM (set/get_original_edge are needed, too)
void set_copy_edge (edge e)
 
edge get_copy_edge () const
 
for multilevel step
void set_higher_level_edge (edge e)
 
edge get_higher_level_edge () const
 
bool is_moon_edge () const
 
void make_moon_edge ()
 
bool is_extra_edge () const
 
void make_extra_edge ()
 
void mark_as_normal_edge ()
 
void init_mult_values ()
 

Private Attributes

edge e_original
 
edge e_subgraph
 
bool extra_edge
 indicates if this edge is an extra edge that is added to enforce few edge crossings
 
double length
 
bool moon_edge
 indicates if this edge is associasted with a moon node
 

Friends

std::ostream & operator<< (std::ostream &, const EdgeAttributes &)
 outputstream for EdgeAttributes
 
std::istream & operator>> (std::istream &, EdgeAttributes &)
 inputstream for EdgeAttributes
 

Detailed Description

helping data structure that stores the graphical attributes of an edge that are needed for the force-directed algorithms.

Definition at line 43 of file EdgeAttributes.h.

Constructor & Destructor Documentation

◆ EdgeAttributes()

ogdf::energybased::fmmm::EdgeAttributes::EdgeAttributes ( )

Constructor.

Member Function Documentation

◆ get_copy_edge()

edge ogdf::energybased::fmmm::EdgeAttributes::get_copy_edge ( ) const
inline

Definition at line 81 of file EdgeAttributes.h.

◆ get_higher_level_edge()

edge ogdf::energybased::fmmm::EdgeAttributes::get_higher_level_edge ( ) const
inline

Definition at line 89 of file EdgeAttributes.h.

◆ get_length()

double ogdf::energybased::fmmm::EdgeAttributes::get_length ( ) const
inline

Definition at line 62 of file EdgeAttributes.h.

◆ get_original_edge()

edge ogdf::energybased::fmmm::EdgeAttributes::get_original_edge ( ) const
inline

Definition at line 71 of file EdgeAttributes.h.

◆ get_subgraph_edge()

edge ogdf::energybased::fmmm::EdgeAttributes::get_subgraph_edge ( ) const
inline

Definition at line 73 of file EdgeAttributes.h.

◆ init_mult_values()

void ogdf::energybased::fmmm::EdgeAttributes::init_mult_values ( )
inline

Definition at line 101 of file EdgeAttributes.h.

◆ is_extra_edge()

bool ogdf::energybased::fmmm::EdgeAttributes::is_extra_edge ( ) const
inline

Definition at line 95 of file EdgeAttributes.h.

◆ is_moon_edge()

bool ogdf::energybased::fmmm::EdgeAttributes::is_moon_edge ( ) const
inline

Definition at line 91 of file EdgeAttributes.h.

◆ make_extra_edge()

void ogdf::energybased::fmmm::EdgeAttributes::make_extra_edge ( )
inline

Definition at line 97 of file EdgeAttributes.h.

◆ make_moon_edge()

void ogdf::energybased::fmmm::EdgeAttributes::make_moon_edge ( )
inline

Definition at line 93 of file EdgeAttributes.h.

◆ mark_as_normal_edge()

void ogdf::energybased::fmmm::EdgeAttributes::mark_as_normal_edge ( )
inline

Definition at line 99 of file EdgeAttributes.h.

◆ set_copy_edge()

void ogdf::energybased::fmmm::EdgeAttributes::set_copy_edge ( edge  e)
inline

Definition at line 79 of file EdgeAttributes.h.

◆ set_EdgeAttributes()

void ogdf::energybased::fmmm::EdgeAttributes::set_EdgeAttributes ( double  len,
edge  e_orig,
edge  e_sub 
)
inline

Definition at line 54 of file EdgeAttributes.h.

◆ set_higher_level_edge()

void ogdf::energybased::fmmm::EdgeAttributes::set_higher_level_edge ( edge  e)
inline

Definition at line 87 of file EdgeAttributes.h.

◆ set_length()

void ogdf::energybased::fmmm::EdgeAttributes::set_length ( double  len)
inline

Definition at line 60 of file EdgeAttributes.h.

◆ set_original_edge()

void ogdf::energybased::fmmm::EdgeAttributes::set_original_edge ( edge  e)
inline

Definition at line 67 of file EdgeAttributes.h.

◆ set_subgraph_edge()

void ogdf::energybased::fmmm::EdgeAttributes::set_subgraph_edge ( edge  e)
inline

Definition at line 69 of file EdgeAttributes.h.

Friends And Related Symbol Documentation

◆ operator<<

std::ostream & operator<< ( std::ostream &  ,
const EdgeAttributes  
)
friend

outputstream for EdgeAttributes

◆ operator>>

std::istream & operator>> ( std::istream &  ,
EdgeAttributes  
)
friend

inputstream for EdgeAttributes

Member Data Documentation

◆ e_original

edge ogdf::energybased::fmmm::EdgeAttributes::e_original
private

Definition at line 110 of file EdgeAttributes.h.

◆ e_subgraph

edge ogdf::energybased::fmmm::EdgeAttributes::e_subgraph
private

Definition at line 111 of file EdgeAttributes.h.

◆ extra_edge

bool ogdf::energybased::fmmm::EdgeAttributes::extra_edge
private

indicates if this edge is an extra edge that is added to enforce few edge crossings

Definition at line 118 of file EdgeAttributes.h.

◆ length

double ogdf::energybased::fmmm::EdgeAttributes::length
private

Definition at line 109 of file EdgeAttributes.h.

◆ moon_edge

bool ogdf::energybased::fmmm::EdgeAttributes::moon_edge
private

indicates if this edge is associasted with a moon node

Definition at line 114 of file EdgeAttributes.h.


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