Übung Grundbegriffe der Graphentheorie 2
Aus ProgrammingWiki
Wiki-Quelltext dieser Seite.
= Graphen in Java =
== Ergänzung zum Graph-Interface: ==
<code>
public interface Graph{<br>
public int addNode();<br>
public boolean addEdge(int orig, int dest);<br>
public Collection<Integer> getChildren(int node);!<br>
}
</code>