Package org.onosproject.net.topology
Interface PathAdminService
-
public interface PathAdminServiceProvides administrative abilities to tailor the path service behaviours.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidsetDefaultGraphPathSearch(GraphPathSearch<TopologyVertex,TopologyEdge> graphPathSearch)Sets the specified graph path search algorightm to be used as a default.voidsetDefaultLinkWeigher(LinkWeigher linkWeigher)Sets the specified link-weight function to be used as a default.
-
-
-
Method Detail
-
setDefaultLinkWeigher
void setDefaultLinkWeigher(LinkWeigher linkWeigher)
Sets the specified link-weight function to be used as a default. If null is specified, the builtin default hop-count link-weight will be used.- Parameters:
linkWeigher- link-weight function to be used as default
-
setDefaultGraphPathSearch
void setDefaultGraphPathSearch(GraphPathSearch<TopologyVertex,TopologyEdge> graphPathSearch)
Sets the specified graph path search algorightm to be used as a default. If null is specified, the builtin default all-shortest-paths Dijkstra algorithm will be used.- Parameters:
graphPathSearch- default graph path search algorithm
-
-