// File: /workspace/github_cpp_makefile_star2_O3/bonetblai[P]mdp-engine/ctp3/../engine/uct.h
// Function: Online::Policy::UCT::uct_t<state_t>::set_parameters(std::multimap<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>>> const&, Dispatcher::dispatcher_t<state_t>&)
virtual void set_parameters(const std::multimap<std::string, std::string> &parameters, Dispatcher::dispatcher_t<T> &dispatcher) {
        std::multimap<std::string, std::string>::const_iterator it = parameters.find("width");
        if( it != parameters.end() ) width_ = strtol(it->second.c_str(), 0, 0);
        it = parameters.find("horizon");
        if( it != parameters.end() ) horizon_ = strtol(it->second.c_str(), 0, 0);
        it = parameters.find("parameter");
        if( it != parameters.end() ) parameter_ = strtod(it->second.c_str(), 0);
        it = parameters.find("random-ties");
        if( it != parameters.end() ) random_ties_ = it->second == "true";
        it = parameters.find("policy");
        if( it != parameters.end() ) {
            delete base_policy_;
            dispatcher.create_request(problem_, it->first, it->second);
            base_policy_ = dispatcher.fetch_policy(it->second);
        }
        policy_t<T>::setup_time_ = base_policy_ == 0 ? 0 : base_policy_->setup_time();
#ifdef DEBUG
        std::cout << "debug: uct(): params:"
                  << " width=" << width_
                  << " horizon=" << horizon_
                  << " parameter=" << parameter_
                  << " random-ties=" << (random_ties_ ? "true" : "false")
                  << " policy=" << (base_policy_ == 0 ? std::string("null") : base_policy_->name())
                  << std::endl;
#endif
    }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
leaq 0x18(%rsp), %r13
movq %r13, -0x10(%r13)
leaq 0xd461(%rip), %rsi      # 0x2c3a0
leaq 0xd45f(%rip), %rdx      # 0x2c3a5
leaq 0x8(%rsp), %rdi
callq 0xd386
leaq 0x8(%rsp), %rsi
movq %r15, %rdi
callq 0xef28
movq %rax, %r12
movq 0x8(%rsp), %rdi
cmpq %r13, %rdi
je 0x1ef6f
callq 0x5260
leaq 0x8(%r15), %rbp
cmpq %rbp, %r12
je 0x1ef89
movq 0x40(%r12), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x5370
movl %eax, 0x30(%rbx)
leaq 0x8(%rsp), %rdi
movq %r13, (%rdi)
leaq 0xd7c5(%rip), %rsi      # 0x2c75d
leaq 0xd7c5(%rip), %rdx      # 0x2c764
callq 0xd386
leaq 0x8(%rsp), %rsi
movq %r15, %rdi
callq 0xef28
movq %rax, %r12
movq 0x8(%rsp), %rdi
cmpq %r13, %rdi
je 0x1efc3
callq 0x5260
cmpq %rbp, %r12
je 0x1efd9
movq 0x40(%r12), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x5370
movl %eax, 0x34(%rbx)
leaq 0x8(%rsp), %rdi
movq %r13, (%rdi)
leaq 0xd77d(%rip), %rsi      # 0x2c765
leaq 0xd77f(%rip), %rdx      # 0x2c76e
callq 0xd386
leaq 0x8(%rsp), %rsi
movq %r15, %rdi
callq 0xef28
movq %rax, %r12
movq 0x8(%rsp), %rdi
cmpq %r13, %rdi
je 0x1f013
callq 0x5260
cmpq %rbp, %r12
je 0x1f02d
movq 0x40(%r12), %rdi
xorl %esi, %esi
callq 0x5210
cvtsd2ss %xmm0, %xmm0
movss %xmm0, 0x38(%rbx)
leaq 0x8(%rsp), %rdi
movq %r13, (%rdi)
leaq 0xd16b(%rip), %rsi      # 0x2c1a7
leaq 0xd16f(%rip), %rdx      # 0x2c1b2
callq 0xd386
leaq 0x8(%rsp), %rsi
movq %r15, %rdi
callq 0xef28
movq %rax, %r12
movq 0x8(%rsp), %rdi
cmpq %r13, %rdi
je 0x1f067
callq 0x5260
cmpq %rbp, %r12
je 0x1f085
addq $0x40, %r12
leaq 0xd102(%rip), %rsi      # 0x2c179
movq %r12, %rdi
callq 0x50c0
testl %eax, %eax
sete 0x3c(%rbx)
leaq 0x8(%rsp), %rdi
movq %r13, (%rdi)
leaq 0xc1f3(%rip), %rsi      # 0x2b287
leaq 0xc1f2(%rip), %rdx      # 0x2b28d
callq 0xd386
leaq 0x8(%rsp), %rsi
movq %r15, %rdi
callq 0xef28
movq %rax, %r15
movq 0x8(%rsp), %rdi
cmpq %r13, %rdi
je 0x1f0bf
callq 0x5260
movq 0x28(%rbx), %rdi
cmpq %rbp, %r15
je 0x1f10b
testq %rdi, %rdi
je 0x1f0d3
movq (%rdi), %rax
callq *0x8(%rax)
movq 0x8(%rbx), %rsi
leaq 0x20(%r15), %rdx
addq $0x40, %r15
movq %r14, %rdi
movq %r15, %rcx
callq 0x7a98
leaq 0x68(%r14), %rdi
movq %r15, %rsi
callq 0x29286
addq $0x70, %r14
cmpq %r14, %rax
je 0x1f105
movq 0x40(%rax), %rdi
jmp 0x1f107
xorl %edi, %edi
movq %rdi, 0x28(%rbx)
testq %rdi, %rdi
je 0x1f117
movss 0x14(%rdi), %xmm0
jmp 0x1f11a
xorps %xmm0, %xmm0
movss %xmm0, 0x14(%rbx)
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x1f13e
jmp 0x1f152
jmp 0x1f13e
jmp 0x1f152
jmp 0x1f13e
jmp 0x1f152
jmp 0x1f13e
jmp 0x1f152
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r13, %rdi
je 0x1f155
callq 0x5260
jmp 0x1f155
movq %rax, %rbx
movq %rbx, %rdi
callq 0x5410
nop