Nikhil Cheerla | d6734f6 | 2015-07-21 10:41:44 -0700 | [diff] [blame^] | 1 | package org.onosproject.flowanalyzer; |
| 2 | |
| 3 | import org.onlab.graph.MutableAdjacencyListsGraph; |
| 4 | import org.onosproject.net.topology.TopologyEdge; |
| 5 | import org.onosproject.net.topology.TopologyGraph; |
| 6 | import org.onosproject.net.topology.TopologyVertex; |
| 7 | |
| 8 | import java.util.Set; |
| 9 | |
| 10 | /** |
| 11 | * Default implementation of an immutable topology graph based on a generic |
| 12 | * implementation of adjacency lists graph. |
| 13 | */ |
| 14 | public 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 | } |