Package org.onlab.graph
Class DepthFirstSearch.SpanningTreeResult
- java.lang.Object
 - 
- org.onlab.graph.AbstractGraphPathSearch.DefaultResult
 - 
- org.onlab.graph.DepthFirstSearch.SpanningTreeResult
 
 
 
- 
- All Implemented Interfaces:
 GraphPathSearch.Result<V,E>
public class DepthFirstSearch.SpanningTreeResult extends AbstractGraphPathSearch.DefaultResult
Graph search result which includes edge classification for building a spanning tree. 
- 
- 
Field Summary
Fields Modifier and Type Field Description protected java.util.Map<E,DepthFirstSearch.EdgeType>edges- 
Fields inherited from class org.onlab.graph.AbstractGraphPathSearch.DefaultResult
costs, maxPaths, parents, paths 
 - 
 
- 
Constructor Summary
Constructors Constructor Description SpanningTreeResult(V src, V dst, int maxPaths)Creates a new spanning tree result. 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Map<E,DepthFirstSearch.EdgeType>edges()Returns the map of edge type.- 
Methods inherited from class org.onlab.graph.AbstractGraphPathSearch.DefaultResult
buildPaths, costs, dst, parents, paths, src 
 - 
 
 - 
 
- 
- 
Field Detail
- 
edges
protected final java.util.Map<E extends Edge<V>,DepthFirstSearch.EdgeType> edges
 
 - 
 
- 
Method Detail
- 
edges
public java.util.Map<E,DepthFirstSearch.EdgeType> edges()
Returns the map of edge type.- Returns:
 - edge to edge type bindings
 
 
 - 
 
 -