Interface UniversalBidirectionalGraph<N,​E,​NP,​EP>