Interface ILinkingResourceRouter<NodeType,LinkType>
- Type Parameters:
NodeType- The type of the nodesLinkType- The tyoe of the links
- All Known Implementing Classes:
ResourceEnvironmentObservingLegacyRouter
public interface ILinkingResourceRouter<NodeType,LinkType>
A linking resource router determines the connection between two nodes.
-
Method Summary
-
Method Details
-
findRoute
Determines a series of links between transmissionSource and transmissionTarget.- Parameters:
transmissionSource- the node where the transmission is originatingtransmissionTarget- the target node of the transmission- Returns:
- an
Optionalof anIterableof links if there is a route between the nodes. The iterable may be empty, e. g. if source equals target. If there is no route between source and target an empty optional is returned.
-