Package org.opendaylight.algo
Interface PathComputationAlgorithm
- All Known Implementing Classes:
AbstractPathComputation,ConstrainedShortestPathFirst,Samcra,ShortestPathFirst
public interface PathComputationAlgorithm
This class provides entry for various Path Computation Algorithms.
- Author:
- Olivier Dugeon
-
Method Summary
Modifier and TypeMethodDescription@NonNull ConstrainedPathcomputeP2pPath(VertexKey source, VertexKey destination, PathConstraints constraints) Compute Point to Point Path from source to destination taking into account constraints.
-
Method Details
-
computeP2pPath
@NonNull ConstrainedPath computeP2pPath(VertexKey source, VertexKey destination, PathConstraints constraints) Compute Point to Point Path from source to destination taking into account constraints.- Parameters:
source- Source Vertex Keydestination- Destination Vertex Keyconstraints- Constraints (Metric, TE Metric, Delay, Jitter, Loss, Bandwidth)- Returns:
- A Path that meet constraints or empty path otherwise. ConstrainedPath.Status indicates the result of the path computation (Completed or Failed)
-