LAL: Linear Arrangement Library 24.10.00
A library focused on algorithms on linear arrangements of graphs.
|
Namespace for the algorithms that compute the number of crossings. More...
Namespaces | |
namespace | brute_force |
Namespace for the brute force algorithm to calculate \(C\). | |
namespace | dyn_prog |
Namespace for the dynamic programming algorithm to calculate \(C\). | |
namespace | ladder |
Namespace for the "ladder" algorithm to calculate \(C\). | |
namespace | stack_based |
Namespace for the stack-based algorithm to calculate \(C\). | |
Functions | |
template<class graph_t , class arrangement_t > | |
uint64_t | n_C_brute_force (const graph_t &g, const arrangement_t &arr) noexcept |
Brute force computation of \(C\). | |
template<class graph_t > | |
std::vector< uint64_t > | n_C_brute_force (const graph_t &g, const std::vector< linear_arrangement > &arrs) noexcept |
Brute force computation of \(C\). | |
template<class graph_t , class arrangement_t > | |
uint64_t | is_n_C_brute_force_lesseq_than (const graph_t &g, const arrangement_t &arr, const uint64_t upper_bound) noexcept |
Brute force computation of \(C\) with early termination. | |
template<class graph_t > | |
std::vector< uint64_t > | is_n_C_brute_force_lesseq_than (const graph_t &g, const std::vector< linear_arrangement > &arrs, const uint64_t upper_bound) noexcept |
Brute force computation of \(C\) with early termination. | |
template<class graph_t > | |
std::vector< uint64_t > | is_n_C_brute_force_lesseq_than (const graph_t &g, const std::vector< linear_arrangement > &arrs, const std::vector< uint64_t > &upper_bounds) noexcept |
Brute force computation of \(C\) with early termination. | |
template<class graph_t , class arrangement_t > | |
uint64_t | n_C_dynamic_programming (const graph_t &g, const arrangement_t &arr) noexcept |
Dynamic programming computation of \(C\). | |
template<class graph_t > | |
std::vector< uint64_t > | n_C_dynamic_programming (const graph_t &g, const std::vector< linear_arrangement > &arrs) noexcept |
Dynamic programming computation of \(C\). | |
template<class graph_t , class arrangement_t > | |
uint64_t | is_n_C_dynamic_programming_lesseq_than (const graph_t &g, const arrangement_t &arr, const uint64_t upper_bound) noexcept |
Dynamic programming computation of \(C\). | |
template<class graph_t > | |
std::vector< uint64_t > | is_n_C_dynamic_programming_lesseq_than (const graph_t &g, const std::vector< linear_arrangement > &arrs, const uint64_t upper_bound) noexcept |
Dynamic programming computation of \(C\) with early termination. | |
template<class graph_t > | |
std::vector< uint64_t > | is_n_C_dynamic_programming_lesseq_than (const graph_t &g, const std::vector< linear_arrangement > &arrs, const std::vector< uint64_t > &upper_bounds) noexcept |
Dynamic programming computation of \(C\) with early termination. | |
template<class graph_t , class arrangement_t > | |
uint64_t | n_C_ladder (const graph_t &g, const arrangement_t &arr) noexcept |
Ladder computation of \(C\). | |
template<class graph_t > | |
std::vector< uint64_t > | n_C_ladder (const graph_t &g, const std::vector< linear_arrangement > &arrs) noexcept |
Ladder computation of \(C\). | |
template<class graph_t , class arrangement_t > | |
uint64_t | is_n_C_ladder_lesseq_than (const graph_t &g, const arrangement_t &arr, const uint64_t upper_bound) noexcept |
Ladder computation of \(C\) with early termination. | |
template<class graph_t > | |
std::vector< uint64_t > | is_n_C_ladder_lesseq_than (const graph_t &g, const std::vector< linear_arrangement > &arrs, const uint64_t upper_bound) noexcept |
Ladder computation of \(C\) with early termination. | |
template<class graph_t > | |
std::vector< uint64_t > | is_n_C_ladder_lesseq_than (const graph_t &g, const std::vector< linear_arrangement > &arrs, const std::vector< uint64_t > &upper_bounds) noexcept |
Ladder computation of \(C\) with early termination. | |
template<class graph_t , class arrangement_t > | |
uint64_t | n_C_stack_based (const graph_t &g, const arrangement_t &arr) noexcept |
Stack based computation of \(C\). | |
template<class graph_t > | |
std::vector< uint64_t > | n_C_stack_based (const graph_t &g, const std::vector< linear_arrangement > &arrs) noexcept |
Stack based computation of \(C\). | |
template<class graph_t , class arrangement_t > | |
uint64_t | is_n_C_stack_based_lesseq_than (const graph_t &g, const arrangement_t &arr, const uint64_t upper_bound) noexcept |
Stack based computation of \(C\) with early termination. | |
template<class graph_t > | |
std::vector< uint64_t > | is_n_C_stack_based_lesseq_than (const graph_t &g, const std::vector< linear_arrangement > &arrs, const uint64_t upper_bound) noexcept |
Stack based computation of \(C\) with early termination. | |
template<class graph_t > | |
std::vector< uint64_t > | is_n_C_stack_based_lesseq_than (const graph_t &g, const std::vector< linear_arrangement > &arrs, const std::vector< uint64_t > &upper_bounds) noexcept |
Stack based computation of \(C\) with early termination. | |
Namespace for the algorithms that compute the number of crossings.
|
nodiscardnoexcept |
Brute force computation of \(C\) with early termination.
graph_t | Type of input graph. |
arrangement_t | Type of input arrangement. |
g | Input graph. |
arr | Input arrangement. |
upper_bound | Bound used for early termination. |
|
nodiscardnoexcept |
Brute force computation of \(C\) with early termination.
graph_t | Type of input graph |
g | Input graph. |
arrs | List of input arrangement. |
upper_bounds | List of bounds used for early termination. |
|
nodiscardnoexcept |
Brute force computation of \(C\) with early termination.
graph_t | Type of input graph |
g | Input graph. |
arrs | List of input arrangement. |
upper_bound | Bound used for early termination. |
|
nodiscardnoexcept |
Dynamic programming computation of \(C\).
graph_t | Type of input graph. |
arrangement_t | Type of input arrangement. |
g | Input graph. |
arr | Input arrangement. |
upper_bound | Bound used for early termination. |
|
nodiscardnoexcept |
Dynamic programming computation of \(C\) with early termination.
graph_t | Type of input graph |
g | Input graph. |
arrs | List of input arrangement. |
upper_bounds | List of bounds used for early termination. |
|
nodiscardnoexcept |
Dynamic programming computation of \(C\) with early termination.
graph_t | Type of input graph |
g | Input graph. |
arrs | List of input arrangement. |
upper_bound | Bound used for early termination. |
|
nodiscardnoexcept |
Ladder computation of \(C\) with early termination.
graph_t | Type of input graph. |
arrangement_t | Type of input arrangement. |
g | Input graph. |
arr | Input arrangement. |
upper_bound | Bound used for early termination. |
|
nodiscardnoexcept |
Ladder computation of \(C\) with early termination.
graph_t | Type of input graph |
g | Input graph. |
arrs | List of input arrangement. |
upper_bounds | List of bounds used for early termination. |
|
nodiscardnoexcept |
Ladder computation of \(C\) with early termination.
graph_t | Type of input graph |
g | Input graph. |
arrs | List of input arrangement. |
upper_bound | Bound used for early termination. |
|
nodiscardnoexcept |
Stack based computation of \(C\) with early termination.
graph_t | Type of input graph. |
arrangement_t | Type of input arrangement. |
g | Input graph. |
arr | Input arrangement. |
upper_bound | Bound used for early termination. |
|
nodiscardnoexcept |
Stack based computation of \(C\) with early termination.
graph_t | Type of input graph |
g | Input graph. |
arrs | List of input arrangement. |
upper_bounds | List of bounds used for early termination. |
|
nodiscardnoexcept |
Stack based computation of \(C\) with early termination.
graph_t | Type of input graph |
g | Input graph. |
arrs | List of input arrangement. |
upper_bound | Bound used for early termination. |
|
nodiscardnoexcept |
Brute force computation of \(C\).
graph_t | Type of input graph. |
arrangement_t | Type of arrangement. |
g | Input graph. |
arr | Input arrangement. |
|
nodiscardnoexcept |
Brute force computation of \(C\).
graph_t | Type of input graph. |
g | Input graph. |
arrs | List of input arrangement. |
|
nodiscardnoexcept |
Dynamic programming computation of \(C\).
graph_t | Type of input graph. |
arrangement_t | Type of input arrangement. |
g | Input graph. |
arr | Input arrangement. |
|
nodiscardnoexcept |
Dynamic programming computation of \(C\).
graph_t | Type of input graph. |
g | Input graph. |
arrs | List of input arrangement. |
|
nodiscardnoexcept |
Ladder computation of \(C\).
graph_t | Type of input graph. |
arrangement_t | Type of arrangement. |
g | Input graph. |
arr | Input arrangement. |
|
nodiscardnoexcept |
Ladder computation of \(C\).
graph_t | Type of input graph. |
g | Input graph. |
arrs | List of input arrangement. |
|
nodiscardnoexcept |
Stack based computation of \(C\).
graph_t | Type of input graph. |
arrangement_t | Type of input arrangement. |
g | Input graph. |
arr | Input arrangement. |
|
nodiscardnoexcept |
Stack based computation of \(C\).
graph_t | Type of input graph. |
g | Input graph. |
arrs | List of input arrangement. |