Пример #1
0
 public IEnumerable<Edge> adjacent(Vertix v)
 {
     return v.adjacent();
 }
Пример #2
0
        //public Digraph(inputstream in) // Read in digraph from inputstream in.

        public void addEdge(Vertix start, Vertix end, Edge e)
        {
            e.From = start;
            e.To = end;
            E++;
        }