blob: 4ea3aa487663fe0d663187ff2c92b93f7ca74094 [file] [log] [blame]
Nikhil Cheerlad6734f62015-07-21 10:41:44 -07001package org.onosproject.flowanalyzer;
2
3import org.onlab.graph.MutableAdjacencyListsGraph;
4import org.onosproject.net.topology.TopologyEdge;
5import org.onosproject.net.topology.TopologyGraph;
6import org.onosproject.net.topology.TopologyVertex;
7
8import java.util.Set;
9
10/**
11 * Default implementation of an immutable topology graph based on a generic
12 * implementation of adjacency lists graph.
13 */
14public class DefaultMutableTopologyGraph
15 extends MutableAdjacencyListsGraph<TopologyVertex, TopologyEdge>
16 implements TopologyGraph {
17
18 /**
19 * Creates a topology graph comprising of the specified vertexes and edges.
20 *
21 * @param vertexes set of graph vertexes
22 * @param edges set of graph edges
23 */
24 public DefaultMutableTopologyGraph(Set<TopologyVertex> vertexes, Set<TopologyEdge> edges) {
25 super(vertexes, edges);
26 }
27
28}