Class of groups in [27] for num_collect::opt::adaptive_diagonal_curves.
More...
#include <num_collect/opt/impl/adc_group.h>
|
| adc_group (value_type dist) |
| Constructor.
|
|
auto | dist () const -> const value_type & |
| Get the distance between center point and vertex.
|
|
auto | empty () const -> bool |
| Check whether this group is empty.
|
|
auto | is_dividable () const -> bool |
| Check whether the hyper-rectangle in this group can be divided.
|
|
auto | min_rect () const -> const rectangle_type & |
| Access the hyper-rectangle with the smallest average of function values at diagonal vertices.
|
|
auto | pop () -> rectangle_type |
| Pick out the hyper-rectangle with the smallest average of function values at diagonal vertices.
|
|
void | push (rectangle_type rect) |
| Add a hyper-rectangle to this group.
|
|
template<base::concepts::real_scalar Value, typename TernaryVector>
class num_collect::opt::impl::adc_group< Value, TernaryVector >
Class of groups in [27] for num_collect::opt::adaptive_diagonal_curves.
- Template Parameters
-
Value | Type of function values. |
TernaryVector | Type of ternary vectors. |
Definition at line 40 of file adc_group.h.
◆ queue_type
template<base::concepts::real_scalar Value, typename TernaryVector>
Initial value:
std::vector<rectangle_type>,
greater>
adc_rectangle< value_type, TernaryVector > rectangle_type
Type of hyper-rectangles.
Class to compare rectangles.
Type of queues of rectangles.
Definition at line 133 of file adc_group.h.
◆ rectangle_type
template<base::concepts::real_scalar Value, typename TernaryVector>
Type of hyper-rectangles.
Definition at line 46 of file adc_group.h.
◆ value_type
template<base::concepts::real_scalar Value, typename TernaryVector>
Type of function values.
Definition at line 43 of file adc_group.h.
◆ adc_group()
template<base::concepts::real_scalar Value, typename TernaryVector>
Constructor.
- Parameters
-
[in] | dist | Distance between center point and vertex. |
Definition at line 53 of file adc_group.h.
◆ dist()
template<base::concepts::real_scalar Value, typename TernaryVector>
Get the distance between center point and vertex.
- Returns
- Distance between center point and vertex.
Definition at line 112 of file adc_group.h.
◆ empty()
template<base::concepts::real_scalar Value, typename TernaryVector>
Check whether this group is empty.
- Returns
- Whether this group is empty.
Definition at line 78 of file adc_group.h.
◆ is_dividable()
template<base::concepts::real_scalar Value, typename TernaryVector>
Check whether the hyper-rectangle in this group can be divided.
- Return values
-
true | The hyper-rectangle can be divided. |
false | The hyper-rectangle cannot be divided. |
Definition at line 99 of file adc_group.h.
◆ min_rect()
template<base::concepts::real_scalar Value, typename TernaryVector>
Access the hyper-rectangle with the smallest average of function values at diagonal vertices.
- Returns
- Reference to the rectangle.
Definition at line 68 of file adc_group.h.
◆ pop()
template<base::concepts::real_scalar Value, typename TernaryVector>
Pick out the hyper-rectangle with the smallest average of function values at diagonal vertices.
- Returns
- Rectangle.
Definition at line 86 of file adc_group.h.
◆ push()
template<base::concepts::real_scalar Value, typename TernaryVector>
Add a hyper-rectangle to this group.
- Parameters
-
Definition at line 60 of file adc_group.h.
◆ dist_
template<base::concepts::real_scalar Value, typename TernaryVector>
Distance between center point and vertex.
Definition at line 140 of file adc_group.h.
◆ rects_
template<base::concepts::real_scalar Value, typename TernaryVector>
The documentation for this class was generated from the following file: