Interface ConjugateEdgeSegmentFactory
-
- All Superinterfaces:
GraphEntityFactory<ConjugateEdgeSegment>,ManagedIdEntityFactory<ConjugateEdgeSegment>
- All Known Implementing Classes:
ConjugateEdgeSegmentFactoryImpl
public interface ConjugateEdgeSegmentFactory extends GraphEntityFactory<ConjugateEdgeSegment>
Factory interface for creating conjugate edge segment instances- Author:
- markr
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ConjugateEdgeSegmentcreate(ConjugateDirectedEdge parentEdge, boolean directionAB)Create edge segmentConjugateEdgeSegmentregisterNew(ConjugateDirectedEdge parentEdge, boolean directionAb, boolean registerOnVertexAndEdge)Create directional edge segment and register it-
Methods inherited from interface org.goplanit.utils.id.ManagedIdEntityFactory
createUniqueDeepCopyOf, createUniqueShallowCopyOf, getIdGroupingToken, setIdGroupingToken
-
-
-
-
Method Detail
-
create
ConjugateEdgeSegment create(ConjugateDirectedEdge parentEdge, boolean directionAB)
Create edge segment- Parameters:
parentEdge- the parent edge of this edge segmentdirectionAB- direction of travel- Returns:
- the created edge segment
-
registerNew
ConjugateEdgeSegment registerNew(ConjugateDirectedEdge parentEdge, boolean directionAb, boolean registerOnVertexAndEdge)
Create directional edge segment and register it- Parameters:
parentEdge- the parent edge of this edge segmentdirectionAb- direction of travelregisterOnVertexAndEdge- option to register the new edge segment on the underlying edge and its vertices- Returns:
- the created edge segment
-
-