73 std::unordered_map<std::string, minhton::JoinAlgorithms> string_to_join_algorithms_type{
74 {
"minhton", minhton::JoinAlgorithms::kJoinMinhton},
77 std::unordered_map<std::string, minhton::LeaveAlgorithms> string_to_leave_algorithms_type{
78 {
"minhton", minhton::LeaveAlgorithms::kLeaveMinhton},
81 std::unordered_map<std::string, minhton::SearchExactAlgorithms>
82 string_to_search_exact_algorithms_type{
83 {
"minhton", minhton::SearchExactAlgorithms::kSearchExactMinhton},
86 std::unordered_map<std::string, minhton::ResponseAlgorithms> string_to_response_algorithms_type{
87 {
"general", minhton::ResponseAlgorithms::kResponseGeneral},
90 std::unordered_map<std::string, minhton::BootstrapAlgorithms>
91 string_to_bootstrap_algorithms_type{
92 {
"general", minhton::BootstrapAlgorithms::kBootstrapGeneral},
95 cont.bootstrap = string_to_bootstrap_algorithms_type.at(bootstrap);
96 cont.join = string_to_join_algorithms_type.at(join);
97 cont.leave = string_to_leave_algorithms_type.at(leave);
98 cont.search_exact = string_to_search_exact_algorithms_type.at(search_exact);
99 cont.response = string_to_response_algorithms_type.at(response);