45#include <lal/linear_arrangement.hpp>
46#include <lal/numeric/rational.hpp>
47#include <lal/graphs/rooted_tree.hpp>
48#include <lal/graphs/free_tree.hpp>
Dependency flux.
Definition dependency_flux.hpp:58
double get_WS_ratio() const noexcept
Returns the W/S ratio.
Definition dependency_flux.hpp:118
void set_dependencies(const std::vector< edge > &deps) noexcept
Sets the set of dependencies.
Definition dependency_flux.hpp:131
uint64_t m_right_span
Definition dependency_flux.hpp:144
void set_dependencies(std::vector< edge > &&deps) noexcept
Sets the set of dependencies.
Definition dependency_flux.hpp:135
uint64_t & get_left_span() noexcept
Returns a reference to the left span of this flux.
Definition dependency_flux.hpp:73
numeric::rational get_RL_ratio_rational() const noexcept
Returns the R/L ratio.
Definition dependency_flux.hpp:90
uint64_t m_left_span
Definition dependency_flux.hpp:141
double get_RL_ratio() const noexcept
Returns the R/L ratio.
Definition dependency_flux.hpp:99
uint64_t get_weight() const noexcept
Returns weight of this flux.
Definition dependency_flux.hpp:70
void set_left_span(const uint64_t ls) noexcept
Sets the left span.
Definition dependency_flux.hpp:124
uint64_t get_left_span() const noexcept
Returns left span of this flux.
Definition dependency_flux.hpp:64
uint64_t m_weight
Weight of this flux.
Definition dependency_flux.hpp:157
numeric::rational get_WS_ratio_rational() const noexcept
Returns the W/S ratio.
Definition dependency_flux.hpp:109
uint64_t get_size() const noexcept
Returns the size of this flux.
Definition dependency_flux.hpp:68
const std::vector< edge > & get_dependencies() const noexcept
Returns the set of dependencies.
Definition dependency_flux.hpp:80
uint64_t get_right_span() const noexcept
Returns right span of this flux.
Definition dependency_flux.hpp:66
std::vector< edge > m_dependencies
Dependencies in this flux.
Definition dependency_flux.hpp:150
uint64_t & get_weight() noexcept
Returns a reference to the weight of this flux.
Definition dependency_flux.hpp:77
void set_right_span(const uint64_t rs) noexcept
Sets the right span.
Definition dependency_flux.hpp:126
void set_weight(const uint64_t w) noexcept
Sets the weight.
Definition dependency_flux.hpp:128
uint64_t & get_right_span() noexcept
Returns a reference to the right span of this flux.
Definition dependency_flux.hpp:75
Exact rational number.
Definition rational.hpp:63
double to_double() const noexcept
Converts this rational to a double-precision floating-point value.
Definition rational.hpp:853
Main namespace of the library.
Definition basic_types.hpp:48