예제 #1
0
 public bool TryGetEdge(NodeType source, NodeType target, out EdgeType edge)
 {
     if (graph.TryGetEdge(source, target, out edge))
     {
         return(predicate(edge));
     }
     else
     {
         return(false);
     }
 }