Class AcyclicDirectedGraphImpl1
java.lang.Object
info.oais.implementation.infomodel.poss1RepInfo.possRepInfoNetwork.AcyclicDirectedGraphImpl1
- All Implemented Interfaces:
AcyclicDirectedGraph
,Serializable
public class AcyclicDirectedGraphImpl1 extends Object implements AcyclicDirectedGraph, Serializable
This class 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
- See Also:
- Serialized Form
-
Field Summary
Fields Modifier and Type Field Description (package private) RootVertex
m_RootVertex
Internal value for the RootVertex of this acyclic graph.private static long
serialVersionUID
SerialVersionUID to use when object is serialised. -
Constructor Summary
Constructors Constructor Description AcyclicDirectedGraphImpl1()
-
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.
-
Field Details
-
serialVersionUID
private static final long serialVersionUIDSerialVersionUID to use when object is serialised.- See Also:
- Constant Field Values
-
m_RootVertex
RootVertex m_RootVertexInternal value for the RootVertex of this acyclic graph.
-
-
Constructor Details
-
AcyclicDirectedGraphImpl1
public AcyclicDirectedGraphImpl1()
-
-
Method Details
-
getRootVertex
Get the RootVertex of the graph.- Specified by:
getRootVertex
in interfaceAcyclicDirectedGraph
- Returns:
- The RootVertex of the graph.
-
setRootVertex
Set the RootVertex of the graph.- Specified by:
setRootVertex
in interfaceAcyclicDirectedGraph
- Parameters:
rv
- The RootVertex of the graph.
-