// File: /workspace/github_cpp_makefile_star2_O2/Kei18[P]pibt/./src/problem/mapf.cpp
// Function: MAPF::logStr[abi:cxx11]()
std::string MAPF::logStr() {
  std::string str = Problem::logStr();
  str += "[problem] type:MAPF\n";
  str += "[problem] agentnum:" + std::to_string(A.size()) + "\n";
  str += G->logStr();
  for (auto tau : T_CLOSE) str += tau->logStr();

  int cnt;
  int pathsize;
  for (auto a : A) {
    auto hist = a->getHist();
    auto itr = hist.end() - 1;
    cnt = 0;
    while ((*itr)->v == a->getGoal()) {
      ++cnt;
      --itr;
    }
    pathsize = getTerminationTime() - cnt + 1;
    str += a->logStr();
    str += "size:" + std::to_string(pathsize) + "\n";
  }
  return str;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x98, %rsp
movq %rsi, %r13
movq %rdi, %rbx
callq 0x1edcc
leaq 0x1de37(%rip), %rsi     # 0x3c47c
movq %rbx, 0x8(%rsp)
movq %rbx, %rdi
callq 0x66a0
movq 0x20(%r13), %rsi
subq 0x18(%r13), %rsi
sarq $0x3, %rsi
leaq 0x40(%rsp), %rdi
callq 0x1cc40
leaq 0x1dc62(%rip), %rsi     # 0x3c2d1
leaq 0x60(%rsp), %rdi
leaq 0x40(%rsp), %rdx
callq 0x941a
leaq 0x1bede(%rip), %rdx     # 0x3a563
leaq 0x10(%rsp), %rdi
leaq 0x60(%rsp), %rsi
callq 0x93fb
leaq 0x10(%rsp), %rsi
movq 0x8(%rsp), %rdi
callq 0x66c0
leaq 0x10(%rsp), %rdi
callq 0x61d0
leaq 0x60(%rsp), %rdi
callq 0x61d0
leaq 0x40(%rsp), %rdi
callq 0x61d0
movq 0x10(%r13), %rsi
movq (%rsi), %rax
leaq 0x10(%rsp), %rdi
callq *0x60(%rax)
leaq 0x10(%rsp), %rsi
movq 0x8(%rsp), %rdi
callq 0x66c0
leaq 0x10(%rsp), %r15
movq %r15, %rdi
callq 0x61d0
movq 0x48(%r13), %rbx
movq 0x50(%r13), %r14
cmpq %r14, %rbx
je 0x1e71f
movq (%rbx), %rsi
movq %r15, %rdi
callq 0x3937a
movq 0x8(%rsp), %rdi
movq %r15, %rsi
callq 0x66c0
movq %r15, %rdi
callq 0x61d0
addq $0x8, %rbx
jmp 0x1e6f4
movq 0x18(%r13), %rcx
movq 0x20(%r13), %rax
movq %rax, 0x30(%rsp)
leaq 0x80(%rsp), %rbx
leaq 0x60(%rsp), %rbp
cmpq 0x30(%rsp), %rcx
je 0x1e827
movq %rcx, 0x38(%rsp)
movq (%rcx), %r14
leaq 0x20(%r14), %rsi
movq %rbx, %rdi
callq 0x1e8e6
movq 0x88(%rsp), %rax
movq 0x10(%r14), %rcx
pushq $-0x1
popq %r15
movq (%rax,%r15,8), %rdx
decq %r15
cmpq %rcx, (%rdx)
je 0x1e768
movq %r13, %r12
movl 0x8(%r13), %r13d
leaq 0x10(%rsp), %rbx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x15a1e
movq 0x8(%rsp), %rdi
movq %rbx, %rsi
callq 0x66c0
leaq (%r15,%r13), %r14
addq $0x3, %r14
movq %rbx, %rdi
callq 0x61d0
leaq 0x40(%rsp), %r15
movq %r15, %rdi
movl %r14d, %esi
callq 0x943e
movq %rbp, %rdi
leaq 0x1dccf(%rip), %rsi     # 0x3c491
movq %r15, %rdx
callq 0x941a
leaq 0x80(%rsp), %rbx
movq %r12, %r13
leaq 0x10(%rsp), %r14
movq %r14, %rdi
movq %rbp, %rsi
leaq 0x1bd7c(%rip), %rdx     # 0x3a563
callq 0x93fb
movq 0x8(%rsp), %rdi
movq %r14, %rsi
callq 0x66c0
movq %r14, %rdi
callq 0x61d0
movq %rbp, %rdi
callq 0x61d0
movq %r15, %rdi
callq 0x61d0
movq %rbx, %rdi
callq 0x15dae
movq 0x38(%rsp), %rcx
addq $0x8, %rcx
jmp 0x1e739
movq 0x8(%rsp), %rax
addq $0x98, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x1e8c3
jmp 0x1e8be
movq %rax, %r14
leaq 0x10(%rsp), %rdi
callq 0x61d0
jmp 0x1e857
movq %rax, %r14
leaq 0x60(%rsp), %rdi
callq 0x61d0
jmp 0x1e866
movq %rax, %r14
leaq 0x40(%rsp), %rdi
jmp 0x1e8cb
jmp 0x1e8be
jmp 0x1e8be
jmp 0x1e89d
movq %rax, %r14
jmp 0x1e894
movq %rax, %r14
jmp 0x1e88a
movq %rax, %r14
leaq 0x10(%rsp), %rdi
callq 0x61d0
leaq 0x60(%rsp), %rdi
callq 0x61d0
leaq 0x40(%rsp), %rdi
jmp 0x1e8aa
jmp 0x1e8be
movq %rax, %r14
jmp 0x1e8af
movq %rax, %r14
leaq 0x10(%rsp), %rdi
callq 0x61d0
leaq 0x80(%rsp), %rdi
callq 0x15dae
jmp 0x1e8d0
movq %rax, %r14
jmp 0x1e8d0
movq %rax, %r14
leaq 0x10(%rsp), %rdi
callq 0x61d0
movq 0x8(%rsp), %rdi
callq 0x61d0
movq %r14, %rdi
callq 0x6650