38# include <gtest/gtest.h>
46using namespace testing;
51 struct SentinelControl
53 SentinelControl() =
default;
63 static SentinelControl & get_data()
65 throw std::domain_error(
"SentinelControl has not data");
124 Tr::left(&p) = &child;
SentinelCtor
Tag type for sentinel node construction.
Node for binary search tree.
BinNode *& getR() noexcept
BinNode *& getL() noexcept
#define DECLARE_BINNODE_SENTINEL(Name, height, Control_Data)
Specify tree node for a binary tree.
Singly linked list implementations with head-tail access.
Main namespace for Aleph-w library functions.
Divide_Conquer_DP_Result< Cost > divide_and_conquer_partition_dp(const size_t groups, const size_t n, Transition_Cost_Fn transition_cost, const Cost inf=dp_optimization_detail::default_inf< Cost >())
Optimize partition DP using divide-and-conquer optimization.
Basic binary tree node definitions.