Пример #1
0
 UndirectedEdgeContainer(EdgeSetFactory<VV, EE> edgeSetFactory, VV vertex) {
   vertexEdges = edgeSetFactory.createEdgeSet(vertex);
 }
Пример #2
0
 DirectedEdgeContainer(EdgeSetFactory<VV, EE> edgeSetFactory, VV vertex) {
   incoming = edgeSetFactory.createEdgeSet(vertex);
   outgoing = edgeSetFactory.createEdgeSet(vertex);
 }