45#include <lal/definitions.hpp>
46#include <lal/numeric/rational.hpp>
Dependency flux.
Definition dependency_flux.hpp:56
uint32_t & get_left_span() noexcept
Returns a reference to the left span of this flux.
Definition dependency_flux.hpp:73
double get_WS_ratio() const noexcept
Returns the W/S ratio.
Definition dependency_flux.hpp:122
void set_dependencies(const std::vector< edge > &deps) noexcept
Sets the set of dependencies.
Definition dependency_flux.hpp:135
void set_dependencies(std::vector< edge > &&deps) noexcept
Sets the set of dependencies.
Definition dependency_flux.hpp:140
uint32_t & get_right_span() noexcept
Returns a reference to the right span of this flux.
Definition dependency_flux.hpp:75
numeric::rational get_RL_ratio_rational() const noexcept
Returns the R/L ratio.
Definition dependency_flux.hpp:94
double get_RL_ratio() const noexcept
Returns the R/L ratio.
Definition dependency_flux.hpp:103
uint32_t get_size() const noexcept
Returns the size of this flux.
Definition dependency_flux.hpp:66
uint32_t & get_weight() noexcept
Returns a reference to the weight of this flux.
Definition dependency_flux.hpp:77
std::vector< edge > & get_dependencies()
Returns a reference to the set of dependencies.
Definition dependency_flux.hpp:80
uint32_t get_left_span() const noexcept
Returns left span of this flux.
Definition dependency_flux.hpp:62
numeric::rational get_WS_ratio_rational() const noexcept
Returns the W/S ratio.
Definition dependency_flux.hpp:113
void set_left_span(uint32_t ls) noexcept
Sets the left span.
Definition dependency_flux.hpp:128
const std::vector< edge > & get_dependencies() const noexcept
Returns the set of dependencies.
Definition dependency_flux.hpp:84
uint32_t m_weight
Weight of this flux.
Definition dependency_flux.hpp:163
uint32_t get_right_span() const noexcept
Returns right span of this flux.
Definition dependency_flux.hpp:64
std::vector< edge > m_dependencies
Dependencies in this flux.
Definition dependency_flux.hpp:156
void set_right_span(uint32_t rs) noexcept
Sets the right span.
Definition dependency_flux.hpp:130
void set_weight(uint32_t w) noexcept
Sets the weight.
Definition dependency_flux.hpp:132
uint32_t m_right_span
Definition dependency_flux.hpp:150
uint32_t get_weight() const noexcept
Returns weight of this flux.
Definition dependency_flux.hpp:69
uint32_t m_left_span
Definition dependency_flux.hpp:147
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:736
Main namespace of the library.
Definition definitions.hpp:48