// File: bonetblai[P]mdp-engine/ctp3/../engine/heuristic.h
// Function: Heuristic::scaled_heuristic_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("heuristic");
        if( it != parameters.end() ) {
            delete heuristic_;
            dispatcher.create_request(problem_, it->first, it->second);
            heuristic_ = dispatcher.fetch_heuristic(it->second);
        }
        it = parameters.find("weight");
        if( it != parameters.end() ) weight_ = strtof(it->second.c_str(), 0);
        it = parameters.find("heuristic");
#ifdef DEBUG
        std::cout << "debug: scaled(): params:"
                  << " heuristic=" << (heuristic_ == 0 ? std::string("null") : heuristic_->name())
                  << " weight=" << weight_
                  << std::endl;
#endif
    }

// Assembly:
subq $0x148, %rsp            # imm = 0x148
movq %rdi, 0x140(%rsp)
movq %rsi, 0x138(%rsp)
movq %rdx, 0x130(%rsp)
movq 0x140(%rsp), %rax
movq %rax, 0x68(%rsp)
movq 0x138(%rsp), %rax
movq %rax, 0x70(%rsp)
leaq 0x107(%rsp), %rdi
movq %rdi, 0x78(%rsp)
callq 0x6530
movq 0x78(%rsp), %rdx
leaq 0x27f06(%rip), %rsi     # 0x5d74d
leaq 0x108(%rsp), %rdi
callq 0x6460
jmp 0x35856
movq 0x70(%rsp), %rdi
leaq 0x108(%rsp), %rsi
callq 0x209d0
movq %rax, 0x60(%rsp)
jmp 0x3586f
movq 0x60(%rsp), %rax
movq %rax, 0x128(%rsp)
leaq 0x108(%rsp), %rdi
callq 0x61f0
leaq 0x107(%rsp), %rdi
callq 0x6390
movq 0x138(%rsp), %rdi
callq 0x20a00
movq %rax, 0xe8(%rsp)
leaq 0x128(%rsp), %rdi
leaq 0xe8(%rsp), %rsi
callq 0x9c90
testb $0x1, %al
jne 0x358c9
jmp 0x359bf
movq 0x68(%rsp), %rax
movq 0x20(%rax), %rax
movq %rax, 0x58(%rsp)
cmpq $0x0, %rax
je 0x358e8
movq 0x58(%rsp), %rdi
movq (%rdi), %rax
callq *0x8(%rax)
movq 0x68(%rsp), %rax
movq 0x130(%rsp), %rcx
movq %rcx, 0x38(%rsp)
movq 0x8(%rax), %rax
movq %rax, 0x40(%rsp)
leaq 0x128(%rsp), %rdi
callq 0xb0d0
movq %rax, 0x48(%rsp)
leaq 0x128(%rsp), %rdi
callq 0xb0d0
movq 0x38(%rsp), %rdi
movq 0x40(%rsp), %rsi
movq 0x48(%rsp), %rdx
movq %rax, %rcx
addq $0x20, %rcx
callq 0x9ce0
movq 0x130(%rsp), %rax
movq %rax, 0x50(%rsp)
leaq 0x128(%rsp), %rdi
callq 0xb0d0
movq 0x50(%rsp), %rdi
movq %rax, %rsi
addq $0x20, %rsi
callq 0x1ed40
movq %rax, %rcx
movq 0x68(%rsp), %rax
movq %rcx, 0x20(%rax)
jmp 0x359bf
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0xf8(%rsp)
movl %eax, 0xf4(%rsp)
jmp 0x359ad
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0xf8(%rsp)
movl %eax, 0xf4(%rsp)
leaq 0x108(%rsp), %rdi
callq 0x61f0
leaq 0x107(%rsp), %rdi
callq 0x6390
jmp 0x35bc9
movq 0x138(%rsp), %rax
movq %rax, 0x28(%rsp)
leaq 0xbf(%rsp), %rdi
movq %rdi, 0x30(%rsp)
callq 0x6530
movq 0x30(%rsp), %rdx
leaq 0x28663(%rip), %rsi     # 0x5e04d
leaq 0xc0(%rsp), %rdi
callq 0x6460
jmp 0x359f9
movq 0x28(%rsp), %rdi
leaq 0xc0(%rsp), %rsi
callq 0x209d0
movq %rax, 0x20(%rsp)
jmp 0x35a12
movq 0x20(%rsp), %rax
movq %rax, 0xe0(%rsp)
movq 0xe0(%rsp), %rax
movq %rax, 0x128(%rsp)
leaq 0xc0(%rsp), %rdi
callq 0x61f0
leaq 0xbf(%rsp), %rdi
callq 0x6390
movq 0x138(%rsp), %rdi
callq 0x20a00
movq %rax, 0xb0(%rsp)
leaq 0x128(%rsp), %rdi
leaq 0xb0(%rsp), %rsi
callq 0x9c90
testb $0x1, %al
jne 0x35a79
jmp 0x35af3
leaq 0x128(%rsp), %rdi
callq 0xb0d0
movq %rax, %rdi
addq $0x20, %rdi
callq 0x6150
movq %rax, %rdi
xorl %eax, %eax
movl %eax, %esi
callq 0x6450
movq 0x68(%rsp), %rax
movss %xmm0, 0x28(%rax)
jmp 0x35af3
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0xf8(%rsp)
movl %eax, 0xf4(%rsp)
jmp 0x35ae1
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0xf8(%rsp)
movl %eax, 0xf4(%rsp)
leaq 0xc0(%rsp), %rdi
callq 0x61f0
leaq 0xbf(%rsp), %rdi
callq 0x6390
jmp 0x35bc9
movq 0x138(%rsp), %rax
movq %rax, 0x10(%rsp)
leaq 0x87(%rsp), %rdi
movq %rdi, 0x18(%rsp)
callq 0x6530
movq 0x18(%rsp), %rdx
leaq 0x27c2f(%rip), %rsi     # 0x5d74d
leaq 0x88(%rsp), %rdi
callq 0x6460
jmp 0x35b2d
movq 0x10(%rsp), %rdi
leaq 0x88(%rsp), %rsi
callq 0x209d0
movq %rax, 0x8(%rsp)
jmp 0x35b46
movq 0x8(%rsp), %rax
movq %rax, 0xa8(%rsp)
movq 0xa8(%rsp), %rax
movq %rax, 0x128(%rsp)
leaq 0x88(%rsp), %rdi
callq 0x61f0
leaq 0x87(%rsp), %rdi
callq 0x6390
addq $0x148, %rsp            # imm = 0x148
retq
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0xf8(%rsp)
movl %eax, 0xf4(%rsp)
jmp 0x35bbc
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0xf8(%rsp)
movl %eax, 0xf4(%rsp)
leaq 0x88(%rsp), %rdi
callq 0x61f0
leaq 0x87(%rsp), %rdi
callq 0x6390
movq 0xf8(%rsp), %rdi
callq 0x6520
nopw %cs:(%rax,%rax)