Interface ConjugateDirectedEdgeFactory
-
- All Superinterfaces:
GraphEntityFactory<ConjugateDirectedEdge>
,ManagedIdEntityFactory<ConjugateDirectedEdge>
- All Known Implementing Classes:
ConjugateDirectedEdgeFactoryImpl
public interface ConjugateDirectedEdgeFactory extends GraphEntityFactory<ConjugateDirectedEdge>
Factory interface for creating conjugate directed edges.- Author:
- markr
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default ConjugateDirectedEdge
registerNew(ConjugateDirectedVertex vertexA, ConjugateDirectedVertex vertexB, DirectedEdge originalEdge1, DirectedEdge originalEdge2)
Create and register new conjugate directed edge to graph identified via its id, (not registered on vertices)ConjugateDirectedEdge
registerNew(ConjugateDirectedVertex vertexA, ConjugateDirectedVertex vertexB, DirectedEdge originalEdge1, DirectedEdge originalEdge2, boolean registerOnVertices)
Create new edge to network identified via its id, allow to be registered on vertices if indicated)-
Methods inherited from interface org.goplanit.utils.id.ManagedIdEntityFactory
createUniqueDeepCopyOf, createUniqueShallowCopyOf, getIdGroupingToken, setIdGroupingToken
-
-
-
-
Method Detail
-
registerNew
default ConjugateDirectedEdge registerNew(ConjugateDirectedVertex vertexA, ConjugateDirectedVertex vertexB, DirectedEdge originalEdge1, DirectedEdge originalEdge2) throws PlanItException
Create and register new conjugate directed edge to graph identified via its id, (not registered on vertices)- Parameters:
vertexA
- the first vertex of this edgevertexB
- the second vertex of this edgeoriginalEdge1
- first of adjacent edges representing this conjugateoriginalEdge2
- second of adjacent edges representing this conjugate- Returns:
- the created edge
- Throws:
PlanItException
- thrown if there is an error
-
registerNew
ConjugateDirectedEdge registerNew(ConjugateDirectedVertex vertexA, ConjugateDirectedVertex vertexB, DirectedEdge originalEdge1, DirectedEdge originalEdge2, boolean registerOnVertices) throws PlanItException
Create new edge to network identified via its id, allow to be registered on vertices if indicated)- Parameters:
vertexA
- the first vertex in this edgevertexB
- the second vertex in this edgeoriginalEdge1
- first of adjacent edges representing this conjugateoriginalEdge2
- second of adjacent edges representing this conjugateregisterOnVertices
- choice to register new edge on the vertices or not- Returns:
- the created edge
- Throws:
PlanItException
- thrown if there is an error
-
-