Class RootVertexImpl1
java.lang.Object
info.oais.implementation.infomodel.poss1RepInfo.possRepInfoNetwork.RootVertexImpl1
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- VertexImpl1
public class RootVertexImpl1 extends Object implements Serializable
The root Vertex of the graph.
- Since:
- 06-Sep-2021 15:59:47
- Version:
- 1.0
- Author:
- David
- See Also:
- Serialized Form
- 
Field SummaryFields Modifier and Type Field Description private static longserialVersionUIDTo be used when object is serialized.
- 
Constructor SummaryConstructors Constructor Description RootVertexImpl1()
- 
Method SummaryModifier and Type Method Description booleanisAcyclic()This is a method which can be used to check whether or not the graph is acyclic.
- 
Field Details- 
serialVersionUIDprivate static final long serialVersionUIDTo be used when object is serialized.- See Also:
- Constant Field Values
 
 
- 
- 
Constructor Details- 
RootVertexImpl1public RootVertexImpl1()
 
- 
- 
Method Details- 
isAcyclicpublic boolean isAcyclic()This is a method which can be used to check whether or not the graph is acyclic. For example if a Vertex or an Edge is added this can be used to check if this would cause the graph to contain a cycle i.e. FAIL to be acyclic, in which case the added component would be removed.- Returns:
- boolean which is true if the Graph is acyclic.
 
 
-