Open
Graph Drawing
Framework

 v. 2023.09 (Elderberry)
 

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

Helping data structure for MAARPacking. More...

#include <ogdf/energybased/fmmm/maar_packing/PackingRowInfo.h>

Public Member Functions

 PackingRowInfo ()
 
double get_max_height ()
 
int get_row_index ()
 
double get_total_width ()
 
void set_max_height (double h)
 
void set_row_index (int i)
 
void set_total_width (double w)
 

Private Attributes

double max_height
 the maximum height of a rectangle placed in this row
 
int row_index
 the index of the row (first row in packing has index 0)
 
double total_width
 the sum of the width of all rectsngles in this row
 

Friends

std::ostream & operator<< (std::ostream &output, const PackingRowInfo &A)
 Outputstream for PackingRowInfo.
 
std::istream & operator>> (std::istream &input, PackingRowInfo &A)
 Inputstream for PackingRowInfo.
 

Detailed Description

Helping data structure for MAARPacking.

Definition at line 41 of file PackingRowInfo.h.

Constructor & Destructor Documentation

◆ PackingRowInfo()

ogdf::energybased::fmmm::PackingRowInfo::PackingRowInfo ( )
inline

Definition at line 56 of file PackingRowInfo.h.

Member Function Documentation

◆ get_max_height()

double ogdf::energybased::fmmm::PackingRowInfo::get_max_height ( )
inline

Definition at line 69 of file PackingRowInfo.h.

◆ get_row_index()

int ogdf::energybased::fmmm::PackingRowInfo::get_row_index ( )
inline

Definition at line 73 of file PackingRowInfo.h.

◆ get_total_width()

double ogdf::energybased::fmmm::PackingRowInfo::get_total_width ( )
inline

Definition at line 71 of file PackingRowInfo.h.

◆ set_max_height()

void ogdf::energybased::fmmm::PackingRowInfo::set_max_height ( double  h)
inline

Definition at line 63 of file PackingRowInfo.h.

◆ set_row_index()

void ogdf::energybased::fmmm::PackingRowInfo::set_row_index ( int  i)
inline

Definition at line 67 of file PackingRowInfo.h.

◆ set_total_width()

void ogdf::energybased::fmmm::PackingRowInfo::set_total_width ( double  w)
inline

Definition at line 65 of file PackingRowInfo.h.

Friends And Related Symbol Documentation

◆ operator<<

std::ostream & operator<< ( std::ostream &  output,
const PackingRowInfo A 
)
friend

Outputstream for PackingRowInfo.

Definition at line 43 of file PackingRowInfo.h.

◆ operator>>

std::istream & operator>> ( std::istream &  input,
PackingRowInfo A 
)
friend

Inputstream for PackingRowInfo.

Definition at line 50 of file PackingRowInfo.h.

Member Data Documentation

◆ max_height

double ogdf::energybased::fmmm::PackingRowInfo::max_height
private

the maximum height of a rectangle placed in this row

Definition at line 76 of file PackingRowInfo.h.

◆ row_index

int ogdf::energybased::fmmm::PackingRowInfo::row_index
private

the index of the row (first row in packing has index 0)

Definition at line 78 of file PackingRowInfo.h.

◆ total_width

double ogdf::energybased::fmmm::PackingRowInfo::total_width
private

the sum of the width of all rectsngles in this row

Definition at line 77 of file PackingRowInfo.h.


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