Interface AcyclicDirectedGraph
- All Known Subinterfaces:
RepresentationInformationNetwork
- All Known Implementing Classes:
AcyclicDirectedGraphImpl1
,RepresentationInformationNetworkImpl1
public interface AcyclicDirectedGraph
This interface provides methods which can be used to navigate a RepInfoNetwork.
The acyclic directed graph has one root vertex.
- Since:
- 06-Sep-2021 15:59:45
- Version:
- 1.0
- Author:
- David
-
Method Summary
Modifier and Type Method Description RootVertex
getRootVertex()
Get the RootVertex of the graph.void
setRootVertex(RootVertex rv)
Set the RootVertex of the graph.
-
Method Details
-
getRootVertex
RootVertex getRootVertex()Get the RootVertex of the graph.- Returns:
- The RootVertex of the graph.
-
setRootVertex
Set the RootVertex of the graph.- Parameters:
rv
- The RootVertex of the graph.
-