| LAL: Linear Arrangement Library 23.01.00
    A library focused on algorithms on linear arrangements of graphs. | 
Namespace for the brute force algorithm to calculate \(C\). More...
| Functions | |
| template<bool decide_upper_bound, linarr_type arr_type> | |
| uint64_t | compute (const graphs::undirected_graph &g, const linarr_wrapper< arr_type > &arr, uint64_t upper_bound=0) noexcept | 
| Brute force computation of \(C\) for undirected graphs.  More... | |
| template<bool decide_upper_bound, linarr_type arr_type> | |
| uint64_t | inner_compute (const graphs::directed_graph &g, position pu, position pv, const linarr_wrapper< arr_type > &arr, uint64_t C, uint64_t upper_bound) noexcept | 
| Brute force computation of \(C\) for directed graphs.  More... | |
| template<bool decide_upper_bound, linarr_type arr_type> | |
| uint64_t | compute (const graphs::directed_graph &g, const linarr_wrapper< arr_type > &arr, uint64_t upper_bound) noexcept | 
| Brute force computation of \(C\) for directed graphs.  More... | |
Namespace for the brute force algorithm to calculate \(C\).
| 
 | noexcept | 
Brute force computation of \(C\) for directed graphs.
When template parameter decide_upper_bound is false, the function returns the number of crossings.
| decide_upper_bound | Boolean value to choose the nature of the return type. | 
| arr_type | Type of arrangement. | 
| g | Input graph. | 
| arr | Input arrangement. | 
| upper_bound | Upper bound on the number of crossings. | 
| 
 | noexcept | 
Brute force computation of \(C\) for undirected graphs.
When template parameter decide_upper_bound is false, the function returns the number of crossings.
| decide_upper_bound | Boolean value to choose the nature of the return type. | 
| arr_type | Type of arrangement. | 
| g | Input graph. | 
| arr | Input arrangement. | 
| upper_bound | Upper bound on the number of crossings. | 
| 
 | noexcept | 
Brute force computation of \(C\) for directed graphs.
When template parameter decide_upper_bound is false, the function returns the number of crossings.
| decide_upper_bound | Boolean value to choose the nature of the return type. | 
| arr_type | Type of arrangement. | 
| g | Input graph. | 
| pu | Starting position of the computation. | 
| pv | Ending position of the computation. | 
| arr | Input arrangement. | 
| C | Current number of crossings. | 
| upper_bound | Upper bound on the number of crossings. |