|
Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
|
Affine line y = m*x + b. More...
#include <DP_Optimizations.H>
Public Member Functions | |
| T | value_at (const T x) const noexcept |
Public Attributes | |
| T | slope = T{} |
| T | intercept = T{} |
Affine line y = m*x + b.
Definition at line 536 of file DP_Optimizations.H.
Definition at line 541 of file DP_Optimizations.H.
References Aleph::divide_and_conquer_partition_dp(), Aleph::Li_Chao_Tree< T >::Line::intercept, and Aleph::Li_Chao_Tree< T >::Line::slope.
Referenced by Aleph::Li_Chao_Tree< T >::add_line_impl().
Definition at line 539 of file DP_Optimizations.H.
Referenced by Aleph::Li_Chao_Tree< T >::Line::value_at().
Definition at line 538 of file DP_Optimizations.H.
Referenced by Aleph::Li_Chao_Tree< T >::Line::value_at().