LAL: Linear Arrangement Library 23.01.00
A library focused on algorithms on linear arrangements of graphs.
|
In unconstrained arrangements. More...
Namespaces | |
namespace | Chung |
Functions for Chung's minimum linear arrangement algorithm. | |
namespace | Shiloach |
Functions for Shiloach's minimum linear arrangement algorithm. | |
Functions | |
template<bool make_arrangement> | |
std::conditional_t< make_arrangement, std::pair< uint64_t, linear_arrangement >, uint64_t > | FanChung_2 (const graphs::free_tree &t) noexcept |
Calculates a minimum linear arrangment using Fan Chung's algorithm. More... | |
template<bool make_arrangement> | |
std::conditional_t< make_arrangement, std::pair< uint64_t, linear_arrangement >, uint64_t > | YossiShiloach (const graphs::free_tree &t) noexcept |
Calculates a minimum linear arrangment using Shiloach's algorithm. More... | |
In unconstrained arrangements.
|
noexcept |
Calculates a minimum linear arrangment using Fan Chung's algorithm.
See [11] for further details.
make_arrangement | Whether or not the arrangement should be constructed. |
t | Input free tree. |
|
noexcept |
Calculates a minimum linear arrangment using Shiloach's algorithm.
See [34] for further details.
make_arrangement | Whether or not the arrangement should be constructed. |
t | Input free tree. |