You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
package class17;
|
|
|
|
import java.util.HashMap;
|
|
import java.util.HashSet;
|
|
|
|
public class Graph {
|
|
public HashMap<Integer, Node> nodes;
|
|
public HashSet<Edge> edges;
|
|
|
|
public Graph() {
|
|
nodes = new HashMap<>();
|
|
edges = new HashSet<>();
|
|
}
|
|
}
|