// File: /workspace/github_cpp_makefile_star2_O3/bonetblai[P]mdp-engine/ctp3/../engine/online_rtdp.h
// Function: Online::Policy::RTDP::finite_horizon_lrtdp_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("horizon");
        if( it != parameters.end() ) horizon_ = strtol(it->second.c_str(), 0, 0);
        it = parameters.find("max-trials");
        if( it != parameters.end() ) max_trials_ = strtol(it->second.c_str(), 0, 0);
        it = parameters.find("labeling");
        if( it != parameters.end() ) labeling_ = it->second == "true";
        it = parameters.find("random-ties");
        if( it != parameters.end() ) random_ties_ = it->second == "true";
        it = parameters.find("heuristic");
        if( it != parameters.end() ) {
            delete heuristic_;
            dispatcher.create_request(problem_, it->first, it->second);
            heuristic_ = dispatcher.fetch_heuristic(it->second);
        }
        policy_t<T>::setup_time_ = heuristic_ == 0 ? 0 : heuristic_->setup_time();
#ifdef DEBUG
        std::cout << "debug: finite-horizon-lrtdp(): params:"
                  << " horizon=" << horizon_
                  << " max-trials=" << max_trials_
                  << " labeling=" << (labeling_ ? "true" : "false")
                  << " random-ties=" << (random_ties_ ? "true" : "false")
                  << " heuristic=" << (heuristic_ == 0 ? std::string("null") : heuristic_->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 0x4fec(%rip), %rsi      # 0x2c75d
leaq 0x4fec(%rip), %rdx      # 0x2c764
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 0x277a1
callq 0x5260
leaq 0x8(%r15), %rbp
cmpq %rbp, %r12
je 0x277bb
movq 0x40(%r12), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x5370
movl %eax, 0x30(%rbx)
leaq 0x8(%rsp), %rdi
movq %r13, (%rdi)
leaq 0x6935(%rip), %rsi      # 0x2e0ff
leaq 0x6938(%rip), %rdx      # 0x2e109
callq 0xd386
leaq 0x8(%rsp), %rsi
movq %r15, %rdi
callq 0xef28
movq %rax, %r12
movq 0x8(%rsp), %rdi
cmpq %r13, %rdi
je 0x277f5
callq 0x5260
cmpq %rbp, %r12
je 0x2780b
movq 0x40(%r12), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x5370
movl %eax, 0x34(%rbx)
leaq 0x8(%rsp), %rdi
movq %r13, (%rdi)
leaq 0x68f0(%rip), %rsi      # 0x2e10a
leaq 0x68f1(%rip), %rdx      # 0x2e112
callq 0xd386
leaq 0x8(%rsp), %rsi
movq %r15, %rdi
callq 0xef28
movq %rax, %r12
movq 0x8(%rsp), %rdi
cmpq %r13, %rdi
je 0x27845
callq 0x5260
cmpq %rbp, %r12
je 0x27863
addq $0x40, %r12
leaq 0x4924(%rip), %rsi      # 0x2c179
movq %r12, %rdi
callq 0x50c0
testl %eax, %eax
sete 0x38(%rbx)
leaq 0x8(%rsp), %rdi
movq %r13, (%rdi)
leaq 0x4935(%rip), %rsi      # 0x2c1a7
leaq 0x4939(%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 0x2789d
callq 0x5260
cmpq %rbp, %r12
je 0x278bb
addq $0x40, %r12
leaq 0x48cc(%rip), %rsi      # 0x2c179
movq %r12, %rdi
callq 0x50c0
testl %eax, %eax
sete 0x39(%rbx)
leaq 0x8(%rsp), %rdi
movq %r13, (%rdi)
leaq 0x3f18(%rip), %rsi      # 0x2b7e2
leaq 0x3f1a(%rip), %rdx      # 0x2b7eb
callq 0xd386
leaq 0x8(%rsp), %rsi
movq %r15, %rdi
callq 0xef28
movq %rax, %r15
movq 0x8(%rsp), %rdi
cmpq %r13, %rdi
je 0x278f5
callq 0x5260
movq 0x28(%rbx), %rdi
cmpq %rbp, %r15
je 0x27941
testq %rdi, %rdi
je 0x27909
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 0x38(%r14), %rdi
movq %r15, %rsi
callq 0x17c4e
addq $0x40, %r14
cmpq %r14, %rax
je 0x2793b
movq 0x40(%rax), %rdi
jmp 0x2793d
xorl %edi, %edi
movq %rdi, 0x28(%rbx)
testq %rdi, %rdi
je 0x2794d
movss 0x14(%rdi), %xmm0
jmp 0x27950
xorps %xmm0, %xmm0
movss %xmm0, 0x14(%rbx)
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x27974
jmp 0x27988
jmp 0x27974
jmp 0x27988
jmp 0x27974
jmp 0x27988
jmp 0x27974
jmp 0x27988
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r13, %rdi
je 0x2798b
callq 0x5260
jmp 0x2798b
movq %rax, %rbx
movq %rbx, %rdi
callq 0x5410
nop