I am having trouble understanding the proof for why this problem is NP-complete.
"Network reliability problem"
Given an undirected graph $G$, we have a positive integer $T(X,Y)$ associated with every pair of vertices $(X,Y)$. We finally have an upper limit $B$. Can we find a subgraph including $B$ edges where every pair of vertices $(X,Y)$ has (at least) $T(X,Y)$ disjoint paths between $X$ and $Y$?
My lecturer showed that we can reduce the Hamiltonian cycle problem to this problem using the following pseudocode:
HamiltonianCycle(G[V,E]): return Reliability(G[V,E], T(X,Y)=2 forall (X,Y), B=|V|) I do not understand why we set $T(X,Y)=2$.
Could someone help me understand?