// File: /workspace/github_cpp_makefile_star2_O2/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 %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x30, %rsp
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
leaq 0x4270(%rip), %rsi      # 0x2171d
leaq 0x10(%rsp), %rdi
leaq 0xf(%rsp), %rdx
callq 0x50e0
leaq 0x10(%rsp), %rsi
movq %r15, %rdi
callq 0xcea2
movq %rax, %r12
leaq 0x10(%rsp), %rdi
callq 0x5120
leaq 0x8(%r15), %r13
cmpq %r13, %r12
je 0x1d4f0
movq 0x40(%r12), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x5380
movl %eax, 0x30(%rbx)
leaq 0x5bf2(%rip), %rsi      # 0x230e9
leaq 0x10(%rsp), %rdi
leaq 0xf(%rsp), %rdx
callq 0x50e0
leaq 0x10(%rsp), %rsi
movq %r15, %rdi
callq 0xcea2
movq %rax, %r12
leaq 0x10(%rsp), %rdi
callq 0x5120
cmpq %r13, %r12
je 0x1d536
movq 0x40(%r12), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x5380
movl %eax, 0x34(%rbx)
leaq 0x5bb7(%rip), %rsi      # 0x230f4
leaq 0x10(%rsp), %rdi
leaq 0xf(%rsp), %rdx
callq 0x50e0
leaq 0x10(%rsp), %rsi
movq %r15, %rdi
callq 0xcea2
movq %rax, %r12
leaq 0x10(%rsp), %rdi
callq 0x5120
cmpq %r13, %r12
je 0x1d581
addq $0x40, %r12
leaq 0x3bc3(%rip), %rsi      # 0x21139
movq %r12, %rdi
callq 0x6357
movb %al, 0x38(%rbx)
leaq 0x3bdf(%rip), %rsi      # 0x21167
leaq 0x10(%rsp), %rdi
leaq 0xf(%rsp), %rdx
callq 0x50e0
leaq 0x10(%rsp), %rsi
movq %r15, %rdi
callq 0xcea2
movq %rax, %r12
leaq 0x10(%rsp), %rdi
callq 0x5120
cmpq %r13, %r12
je 0x1d5cc
addq $0x40, %r12
leaq 0x3b78(%rip), %rsi      # 0x21139
movq %r12, %rdi
callq 0x6357
movb %al, 0x39(%rbx)
leaq 0x31cf(%rip), %rsi      # 0x207a2
leaq 0x10(%rsp), %rdi
leaq 0xf(%rsp), %rdx
callq 0x50e0
leaq 0x10(%rsp), %rsi
movq %r15, %rdi
callq 0xcea2
movq %rax, %r15
leaq 0x10(%rsp), %rdi
callq 0x5120
movq 0x28(%rbx), %rax
cmpq %r13, %r15
je 0x1d639
testq %rax, %rax
je 0x1d613
movq (%rax), %rcx
movq %rax, %rdi
callq *0x8(%rcx)
movq 0x8(%rbx), %rsi
leaq 0x20(%r15), %rdx
addq $0x40, %r15
movq %r14, %rdi
movq %r15, %rcx
callq 0x6dfe
movq %r14, %rdi
movq %r15, %rsi
callq 0xc328
movq %rax, 0x28(%rbx)
testq %rax, %rax
je 0x1d645
movss 0x14(%rax), %xmm0
jmp 0x1d648
xorps %xmm0, %xmm0
movss %xmm0, 0x14(%rbx)
addq $0x30, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
jmp 0x1d66b
jmp 0x1d67a
jmp 0x1d66b
jmp 0x1d67a
jmp 0x1d66b
jmp 0x1d67a
jmp 0x1d66b
jmp 0x1d67a
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0x5120
jmp 0x1d67d
movq %rax, %rbx
movq %rbx, %rdi
callq 0x5410
nop