Package org.onlab.graph
Class KShortestPathsSearch.InnerOrderedResult
- java.lang.Object
- 
- org.onlab.graph.AbstractGraphPathSearch.DefaultResult
- 
- org.onlab.graph.KShortestPathsSearch.InnerOrderedResult
 
 
- 
- All Implemented Interfaces:
- GraphPathSearch.Result<V,E>
 
 protected class KShortestPathsSearch.InnerOrderedResult extends AbstractGraphPathSearch.DefaultResult A result modified to return paths ordered according to the provided comparator.
- 
- 
Field Summary- 
Fields inherited from class org.onlab.graph.AbstractGraphPathSearch.DefaultResultcosts, maxPaths, parents, paths
 
- 
 - 
Constructor SummaryConstructors Constructor Description InnerOrderedResult(V src, V dst)InnerOrderedResult(V src, V dst, int maxPaths)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description Set<Path<V,E>>paths()Returns the set of paths produced as a result of the graph search.- 
Methods inherited from class org.onlab.graph.AbstractGraphPathSearch.DefaultResultbuildPaths, costs, dst, parents, src
 
- 
 
- 
- 
- 
Method Detail- 
pathspublic Set<Path<V,E>> paths() Description copied from interface:GraphPathSearch.ResultReturns the set of paths produced as a result of the graph search.- Specified by:
- pathsin interface- GraphPathSearch.Result<V extends Vertex,E extends Edge<V>>
- Overrides:
- pathsin class- AbstractGraphPathSearch.DefaultResult
- Returns:
- set of paths
 
 
- 
 
-