// File: /workspace/github_cpp_makefile_star2_O1/Luthaf[P]zeopp/networkanalysis.cc
// Function: TRAVERSAL_NETWORK::print(std::ostream&)
void TRAVERSAL_NETWORK::print(ostream &out){
  out << "Source nodes ids:  ";
  for(unsigned int i = 0; i < sourceNodeIDs.size(); i++)
    out << sourceNodeIDs.at(i) << "  ";
  out << "\n";
  out << "Regular connections:" << "\n";
  for(unsigned int i = 0; i <regConnections.size();i++){
    vector<CONN> nodeConns = regConnections.at(i);
    if(nodeConns.size() == 0)
      continue;
    out << "From #"<<i << "   To: ";
    for(unsigned int j = 0; j< nodeConns.size(); j++){
      out << nodeConns.at(j).to << "  ";
    }
    out << "\n";
  }
  out << "Connections to source node:" << "\n";
  for(unsigned int i = 0; i <connectToSource.size();i++){
    vector<CONN> nodeConns = connectToSource.at(i);
    if(nodeConns.size() == 0)
      continue;
    out << "From #"<< i << "   To:";
    for(unsigned int j = 0; j< nodeConns.size(); j++){
      cout << nodeConns.at(j).to << "  ";
    }
    cout << "\n";
  }
    cout << "Connections to sink node:" << "\n";
    for(unsigned int i = 0; i <connectToSink.size();i++){
      vector<CONN> nodeConns = connectToSink.at(i);
      if(nodeConns.size() == 0)
	continue;
      cout << "From #"<<i << "   To:";
      for(unsigned int j = 0; j< nodeConns.size(); j++){
	cout << nodeConns.at(j).to << "  ";
      }
      cout << "\n";
    }
    cout << "\n" << "\n";
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rsi, %r14
movq %rdi, %r13
leaq 0x12114e(%rip), %rsi    # 0x15337d
movl $0x13, %edx
movq %r14, %rdi
callq 0x44e0
movq (%r13), %rax
cmpq %rax, 0x8(%r13)
je 0x32287
movl $0x1, %ebx
xorl %ecx, %ecx
leaq 0x11d23b(%rip), %r15    # 0x14f48f
movl (%rax,%rcx,4), %esi
movq %r14, %rdi
callq 0x4750
movl $0x2, %edx
movq %rax, %rdi
movq %r15, %rsi
callq 0x44e0
movl %ebx, %ecx
movq (%r13), %rax
movq 0x8(%r13), %rdx
subq %rax, %rdx
sarq $0x2, %rdx
incl %ebx
cmpq %rcx, %rdx
ja 0x32254
leaq 0x1232a0(%rip), %r15    # 0x15552e
movl $0x1, %edx
movq %r14, %rdi
movq %r15, %rsi
callq 0x44e0
leaq 0x1210ec(%rip), %rsi    # 0x153391
movl $0x14, %edx
movq %r14, %rdi
callq 0x44e0
movl $0x1, %edx
movq %r14, %rdi
movq %r15, %rsi
callq 0x44e0
movq 0x18(%r13), %rax
movabsq $-0x3333333333333333, %rbx # imm = 0xCCCCCCCCCCCCCCCD
cmpq %rax, 0x20(%r13)
movq %r13, 0x20(%rsp)
je 0x323ee
xorl %r15d, %r15d
leaq 0x8(%rsp), %r12
leaq 0x11d1a1(%rip), %rbp    # 0x14f48f
leaq (%r15,%r15,2), %rcx
leaq (%rax,%rcx,8), %rsi
movq %r12, %rdi
callq 0x38318
movq 0x10(%rsp), %rax
cmpq 0x8(%rsp), %rax
je 0x323ae
movl $0x6, %edx
movq %r14, %rdi
leaq 0x121089(%rip), %rsi    # 0x1533a6
callq 0x44e0
movq %r14, %rdi
movq %r15, %rsi
callq 0x42b0
movl $0x7, %edx
movq %rax, %rdi
leaq 0x121071(%rip), %rsi    # 0x1533ad
callq 0x44e0
movq 0x8(%rsp), %rax
cmpq %rax, 0x10(%rsp)
je 0x32395
movl $0x1, %r13d
xorl %ecx, %ecx
leaq (%rcx,%rcx,4), %rcx
movl 0x4(%rax,%rcx,8), %esi
movq %r14, %rdi
callq 0x4750
movl $0x2, %edx
movq %rax, %rdi
movq %rbp, %rsi
callq 0x44e0
movl %r13d, %ecx
movq 0x8(%rsp), %rax
movq 0x10(%rsp), %rdx
subq %rax, %rdx
sarq $0x3, %rdx
imulq %rbx, %rdx
incl %r13d
cmpq %rcx, %rdx
ja 0x32355
movl $0x1, %edx
movq %r14, %rdi
leaq 0x12318a(%rip), %rsi    # 0x15552e
callq 0x44e0
movq 0x20(%rsp), %r13
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x323c5
movq 0x18(%rsp), %rsi
subq %rdi, %rsi
callq 0x4470
incl %r15d
movq 0x18(%r13), %rax
movq 0x20(%r13), %rcx
subq %rax, %rcx
sarq $0x3, %rcx
movabsq $-0x5555555555555555, %rdx # imm = 0xAAAAAAAAAAAAAAAB
imulq %rdx, %rcx
cmpq %r15, %rcx
ja 0x322ee
leaq 0x120fc0(%rip), %rsi    # 0x1533b5
movl $0x1b, %edx
movq %r14, %rdi
callq 0x44e0
leaq 0x123125(%rip), %rsi    # 0x15552e
movl $0x1, %edx
movq %r14, %rdi
callq 0x44e0
movq 0x30(%r13), %rax
cmpq %rax, 0x38(%r13)
je 0x32537
xorl %r15d, %r15d
movq 0x164b92(%rip), %r13    # 0x196fc0
leaq 0x11d05a(%rip), %rbp    # 0x14f48f
leaq (%r15,%r15,2), %rcx
leaq (%rax,%rcx,8), %rsi
leaq 0x8(%rsp), %rdi
callq 0x38318
movq 0x10(%rsp), %rax
cmpq 0x8(%rsp), %rax
je 0x324f2
movl $0x6, %edx
movq %r14, %rdi
leaq 0x120f40(%rip), %rsi    # 0x1533a6
callq 0x44e0
movq %r14, %rdi
movq %r15, %rsi
callq 0x42b0
movl $0x6, %edx
movq %rax, %rdi
leaq 0x120f4c(%rip), %rsi    # 0x1533d1
callq 0x44e0
movq 0x8(%rsp), %rax
cmpq %rax, 0x10(%rsp)
je 0x324de
movl $0x1, %r12d
xorl %ecx, %ecx
leaq (%rcx,%rcx,4), %rcx
movl 0x4(%rax,%rcx,8), %esi
movq %r13, %rdi
callq 0x4750
movl $0x2, %edx
movq %rax, %rdi
movq %rbp, %rsi
callq 0x44e0
movl %r12d, %ecx
movq 0x8(%rsp), %rax
movq 0x10(%rsp), %rdx
subq %rax, %rdx
sarq $0x3, %rdx
imulq %rbx, %rdx
incl %r12d
cmpq %rcx, %rdx
ja 0x3249e
movl $0x1, %edx
movq %r13, %rdi
leaq 0x123041(%rip), %rsi    # 0x15552e
callq 0x44e0
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x32509
movq 0x18(%rsp), %rsi
subq %rdi, %rsi
callq 0x4470
incl %r15d
movq 0x20(%rsp), %rcx
movq 0x30(%rcx), %rax
movq 0x38(%rcx), %rcx
subq %rax, %rcx
sarq $0x3, %rcx
movabsq $-0x5555555555555555, %rdx # imm = 0xAAAAAAAAAAAAAAAB
imulq %rdx, %rcx
cmpq %r15, %rcx
ja 0x32435
movq 0x164a82(%rip), %r14    # 0x196fc0
leaq 0x120e93(%rip), %rsi    # 0x1533d8
movl $0x19, %edx
movq %r14, %rdi
callq 0x44e0
leaq 0x122fd5(%rip), %rsi    # 0x15552e
movl $0x1, %edx
movq %r14, %rdi
callq 0x44e0
movq 0x20(%rsp), %r13
movq 0x48(%r13), %rax
cmpq %rax, 0x50(%r13)
je 0x3268f
xorl %r14d, %r14d
leaq 0x8(%rsp), %r15
movq 0x164a38(%rip), %r12    # 0x196fc0
leaq 0x11cf00(%rip), %rbp    # 0x14f48f
leaq (%r14,%r14,2), %rcx
leaq (%rax,%rcx,8), %rsi
movq %r15, %rdi
callq 0x38318
movq 0x10(%rsp), %rax
cmpq 0x8(%rsp), %rax
je 0x3264f
movl $0x6, %edx
movq %r12, %rdi
leaq 0x120de8(%rip), %rsi    # 0x1533a6
callq 0x44e0
movq %r12, %rdi
movq %r14, %rsi
callq 0x42b0
movl $0x6, %edx
movq %rax, %rdi
leaq 0x120df4(%rip), %rsi    # 0x1533d1
callq 0x44e0
movq 0x8(%rsp), %rax
cmpq %rax, 0x10(%rsp)
je 0x32636
movl $0x1, %r13d
xorl %ecx, %ecx
leaq (%rcx,%rcx,4), %rcx
movl 0x4(%rax,%rcx,8), %esi
movq %r12, %rdi
callq 0x4750
movl $0x2, %edx
movq %rax, %rdi
movq %rbp, %rsi
callq 0x44e0
movl %r13d, %ecx
movq 0x8(%rsp), %rax
movq 0x10(%rsp), %rdx
subq %rax, %rdx
sarq $0x3, %rdx
imulq %rbx, %rdx
incl %r13d
cmpq %rcx, %rdx
ja 0x325f6
movl $0x1, %edx
movq %r12, %rdi
leaq 0x122ee9(%rip), %rsi    # 0x15552e
callq 0x44e0
movq 0x20(%rsp), %r13
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x32666
movq 0x18(%rsp), %rsi
subq %rdi, %rsi
callq 0x4470
incl %r14d
movq 0x48(%r13), %rax
movq 0x50(%r13), %rcx
subq %rax, %rcx
sarq $0x3, %rcx
movabsq $-0x5555555555555555, %rdx # imm = 0xAAAAAAAAAAAAAAAB
imulq %rdx, %rcx
cmpq %r14, %rcx
ja 0x3258f
movq 0x16492a(%rip), %rbx    # 0x196fc0
leaq 0x122e91(%rip), %r14    # 0x15552e
movl $0x1, %edx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x44e0
movl $0x1, %edx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x44e0
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x326d6
jmp 0x326d6
jmp 0x326d6
jmp 0x326d6
jmp 0x326d6
movq %rax, %rbx
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x326f0
movq 0x18(%rsp), %rsi
subq %rdi, %rsi
callq 0x4470
movq %rbx, %rdi
callq 0x4780