Package net.ggtools.grand.graph
Interface LinkFinder
-
- All Known Implementing Classes:
BackwardLinkFinder
,ConnectedNodesFinder
,ForwardLinkFinder
public interface LinkFinder
An interface used to find out what the possible links from a node.- Author:
- Christophe Labouisse
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Collection<Node>
getLinks(Node node)
Returns all the accessible nodes from a specific one.
-
-
-
Method Detail
-
getLinks
Collection<Node> getLinks(Node node)
Returns all the accessible nodes from a specific one. Implementations must ensure that the returned collection will only contain Node objects.- Parameters:
node
- node to consider.- Returns:
- a collection of accessible nodes.
-
-