2 * Copyright (c) 2020 Orange. All rights reserved.
4 * This program and the accompanying materials are made available under the
5 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6 * and is available at http://www.eclipse.org/legal/epl-v10.html
9 package org.opendaylight.algo;
11 import org.opendaylight.graph.ConnectedGraph;
12 import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.path.computation.rev200120.AlgorithmType;
15 * This class provides access to Path Computation Algorithms.
17 * @author Olivier Dugeon
20 public interface PathComputationProvider {
23 * Return Path Computation Algorithm object that corresponds to the requested type.
25 * @param cgraph Connected Graph on which path computation will run
26 * @param algorithmType Algorithm supported types are: 'SPF', 'CSPF' and 'SAMCRA'
28 * @return PathComputationAlgorithm
30 PathComputationAlgorithm getPathComputationAlgorithm(ConnectedGraph cgraph, AlgorithmType algorithmType);