Open
Graph Drawing
Framework

 v. 2023.09 (Elderberry)
 

Loading...
Searching...
No Matches
ogdf::embedder::MDMFLengthAttribute Class Reference

Auxiliary length attribute. More...

#include <ogdf/planarity/embedder/MDMFLengthAttribute.h>

Public Member Functions

 MDMFLengthAttribute ()
 Default constructor for (0, 0)
 
 MDMFLengthAttribute (const MDMFLengthAttribute &x)
 Copy constructor.
 
 MDMFLengthAttribute (int _a, int _b=0)
 Converting constructor from int, default second is 0.
 
 ~MDMFLengthAttribute ()
 Destructor.
 
MDMFLengthAttributeoperator+= (const MDMFLengthAttribute &x)
 
MDMFLengthAttributeoperator-= (const MDMFLengthAttribute &x)
 
MDMFLengthAttributeoperator= (const MDMFLengthAttribute &x)
 

Public Attributes

int a
 
int b
 

Detailed Description

Auxiliary length attribute.

It contains two components (a, b) and a linear order is defined by: (a, b) > (a', b') iff a > a' or (a = a' and b > b')

Definition at line 45 of file MDMFLengthAttribute.h.

Constructor & Destructor Documentation

◆ MDMFLengthAttribute() [1/3]

ogdf::embedder::MDMFLengthAttribute::MDMFLengthAttribute ( )
inline

Default constructor for (0, 0)

Definition at line 48 of file MDMFLengthAttribute.h.

◆ MDMFLengthAttribute() [2/3]

ogdf::embedder::MDMFLengthAttribute::MDMFLengthAttribute ( int  _a,
int  _b = 0 
)
inline

Converting constructor from int, default second is 0.

Definition at line 51 of file MDMFLengthAttribute.h.

◆ MDMFLengthAttribute() [3/3]

ogdf::embedder::MDMFLengthAttribute::MDMFLengthAttribute ( const MDMFLengthAttribute x)
inline

Copy constructor.

Definition at line 54 of file MDMFLengthAttribute.h.

◆ ~MDMFLengthAttribute()

ogdf::embedder::MDMFLengthAttribute::~MDMFLengthAttribute ( )
inline

Destructor.

Definition at line 57 of file MDMFLengthAttribute.h.

Member Function Documentation

◆ operator+=()

MDMFLengthAttribute & ogdf::embedder::MDMFLengthAttribute::operator+= ( const MDMFLengthAttribute x)
inline

Definition at line 65 of file MDMFLengthAttribute.h.

◆ operator-=()

MDMFLengthAttribute & ogdf::embedder::MDMFLengthAttribute::operator-= ( const MDMFLengthAttribute x)
inline

Definition at line 71 of file MDMFLengthAttribute.h.

◆ operator=()

MDMFLengthAttribute & ogdf::embedder::MDMFLengthAttribute::operator= ( const MDMFLengthAttribute x)
inline

Definition at line 59 of file MDMFLengthAttribute.h.

Member Data Documentation

◆ a

int ogdf::embedder::MDMFLengthAttribute::a

Definition at line 78 of file MDMFLengthAttribute.h.

◆ b

int ogdf::embedder::MDMFLengthAttribute::b

Definition at line 79 of file MDMFLengthAttribute.h.


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