// File: /workspace/github_cpp_makefile_star2_O2/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 $0x38, %rsp
movq %rsi, %rax
movq %rdi, %r14
leaq 0xd9ec0(%rip), %rsi     # 0x10039d
movq %rax, 0x8(%rsp)
movq %rax, %rdi
callq 0x4480
xorl %eax, %eax
leaq 0xd5fdc(%rip), %rbx     # 0xfc4cf
movl %eax, %r15d
movq 0x8(%r14), %rax
subq (%r14), %rax
sarq $0x2, %rax
cmpq %r15, %rax
jbe 0x2652e
movq %r14, %rdi
movq %r15, %rsi
callq 0xac00
movl (%rax), %esi
movq 0x8(%rsp), %rdi
callq 0x4760
movq %rax, %rdi
movq %rbx, %rsi
callq 0x4480
leal 0x1(%r15), %eax
jmp 0x264f3
leaq 0xdc049(%rip), %r15     # 0x10257e
movq 0x8(%rsp), %rbx
movq %rbx, %rdi
movq %r15, %rsi
callq 0x4480
leaq 0xd9e65(%rip), %rsi     # 0x1003b1
movq %rbx, %rdi
movq %r15, %rbx
callq 0x4480
movq %rax, %rdi
movq %r15, %rsi
callq 0x4480
movq %r14, 0x10(%rsp)
leaq 0x18(%r14), %rax
movq %rax, 0x30(%rsp)
xorl %r13d, %r13d
leaq 0x18(%rsp), %rbp
pushq $0x28
popq %r14
leaq 0xd5f4c(%rip), %r15     # 0xfc4cf
movl %r13d, %r13d
movq 0x10(%rsp), %rcx
movq 0x20(%rcx), %rax
subq 0x18(%rcx), %rax
cqto
pushq $0x18
popq %rcx
idivq %rcx
cmpq %r13, %rax
jbe 0x26652
movq 0x30(%rsp), %rdi
movq %r13, %rsi
callq 0x2a050
movq %rbp, %rdi
movq %rax, %rsi
callq 0x2a06e
movq 0x20(%rsp), %rax
cmpq 0x18(%rsp), %rax
je 0x26642
movq 0x8(%rsp), %rdi
leaq 0xd9df2(%rip), %rsi     # 0x1003c6
callq 0x4480
movq %rax, %rdi
movq %r13, %rsi
callq 0x42e0
movq %rax, %rdi
leaq 0xd9ddf(%rip), %rsi     # 0x1003cd
callq 0x4480
xorl %r12d, %r12d
movl %r12d, %r12d
movq 0x20(%rsp), %rax
subq 0x18(%rsp), %rax
cqto
idivq %r14
cmpq %r12, %rax
jbe 0x26635
movq %rbp, %rdi
movq %r12, %rsi
callq 0x29efa
movl 0x4(%rax), %esi
movq 0x8(%rsp), %rdi
callq 0x4760
movq %rax, %rdi
movq %r15, %rsi
callq 0x4480
incl %r12d
jmp 0x265f6
movq 0x8(%rsp), %rdi
movq %rbx, %rsi
callq 0x4480
movq %rbp, %rdi
callq 0xaf14
incl %r13d
jmp 0x26583
leaq 0xd9d7c(%rip), %rsi     # 0x1003d5
movq 0x8(%rsp), %rdi
callq 0x4480
leaq 0xdbf14(%rip), %rsi     # 0x10257e
movq %rax, %rdi
callq 0x4480
movq 0x10(%rsp), %rax
addq $0x30, %rax
movq %rax, 0x30(%rsp)
xorl %r13d, %r13d
leaq 0x18(%rsp), %rbp
movq 0x129931(%rip), %r15    # 0x14ffc0
leaq 0xd5e39(%rip), %r12     # 0xfc4cf
movl %r13d, %r13d
movq 0x10(%rsp), %rcx
movq 0x38(%rcx), %rax
subq 0x30(%rcx), %rax
cqto
pushq $0x18
popq %rcx
idivq %rcx
cmpq %r13, %rax
jbe 0x26762
movq 0x30(%rsp), %rdi
movq %r13, %rsi
callq 0x2a050
movq %rbp, %rdi
movq %rax, %rsi
callq 0x2a06e
movq 0x20(%rsp), %rax
cmpq 0x18(%rsp), %rax
je 0x26752
movq 0x8(%rsp), %rdi
leaq 0xd9cdf(%rip), %rsi     # 0x1003c6
callq 0x4480
movq %rax, %rdi
movq %r13, %rsi
callq 0x42e0
movq %rax, %rdi
leaq 0xd9cf0(%rip), %rsi     # 0x1003f1
callq 0x4480
xorl %ebx, %ebx
movl %ebx, %ebx
movq 0x20(%rsp), %rax
subq 0x18(%rsp), %rax
cqto
idivq %r14
cmpq %rbx, %rax
jbe 0x26743
movq %rbp, %rdi
movq %rbx, %rsi
callq 0x29efa
movl 0x4(%rax), %esi
movq %r15, %rdi
callq 0x4760
movq %rax, %rdi
movq %r12, %rsi
callq 0x4480
incl %ebx
jmp 0x26708
movq %r15, %rdi
leaq 0xdbe31(%rip), %rsi     # 0x10257e
callq 0x4480
movq %rbp, %rdi
callq 0xaf14
incl %r13d
jmp 0x26696
movq 0x129857(%rip), %r12    # 0x14ffc0
leaq 0xd9c88(%rip), %rsi     # 0x1003f8
movq %r12, %rdi
callq 0x4480
leaq 0xdbdff(%rip), %rsi     # 0x10257e
movq %rax, %rdi
callq 0x4480
movq 0x10(%rsp), %rax
addq $0x48, %rax
movq %rax, 0x8(%rsp)
xorl %r13d, %r13d
leaq 0x18(%rsp), %rbp
leaq 0xd5d2b(%rip), %r15     # 0xfc4cf
movl %r13d, %r13d
movq 0x10(%rsp), %rcx
movq 0x50(%rcx), %rax
subq 0x48(%rcx), %rax
cqto
pushq $0x18
popq %rcx
idivq %rcx
cmpq %r13, %rax
jbe 0x2686e
movq 0x8(%rsp), %rdi
movq %r13, %rsi
callq 0x2a050
movq %rbp, %rdi
movq %rax, %rsi
callq 0x2a06e
movq 0x20(%rsp), %rax
cmpq 0x18(%rsp), %rax
je 0x2685e
movq %r12, %rdi
leaq 0xd9bd3(%rip), %rsi     # 0x1003c6
callq 0x4480
movq %rax, %rdi
movq %r13, %rsi
callq 0x42e0
movq %rax, %rdi
leaq 0xd9be4(%rip), %rsi     # 0x1003f1
callq 0x4480
xorl %ebx, %ebx
movl %ebx, %ebx
movq 0x20(%rsp), %rax
subq 0x18(%rsp), %rax
cqto
idivq %r14
cmpq %rbx, %rax
jbe 0x2684f
movq %rbp, %rdi
movq %rbx, %rsi
callq 0x29efa
movl 0x4(%rax), %esi
movq %r12, %rdi
callq 0x4760
movq %rax, %rdi
movq %r15, %rsi
callq 0x4480
incl %ebx
jmp 0x26814
movq %r12, %rdi
leaq 0xdbd25(%rip), %rsi     # 0x10257e
callq 0x4480
movq %rbp, %rdi
callq 0xaf14
incl %r13d
jmp 0x267a4
movq 0x12974b(%rip), %rdi    # 0x14ffc0
leaq 0xdbd02(%rip), %rbx     # 0x10257e
movq %rbx, %rsi
callq 0x4480
movq %rax, %rdi
movq %rbx, %rsi
callq 0x4480
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x268a8
jmp 0x268a8
jmp 0x268a8
jmp 0x268a8
jmp 0x268a8
movq %rax, %rbx
leaq 0x18(%rsp), %rdi
callq 0xaf14
movq %rbx, %rdi
callq 0x4780
nop