Interface ConjugateLinkFactory
-
- All Superinterfaces:
GraphEntityFactory<ConjugateLink>
,ManagedIdEntityFactory<ConjugateLink>
- All Known Implementing Classes:
ConjugateLinkFactoryImpl
public interface ConjugateLinkFactory extends GraphEntityFactory<ConjugateLink>
Factory interface for creating undirected turns, i.e., conjugate links- Author:
- markr
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ConjugateLink
registerNew(ConjugateDirectedVertex a, ConjugateDirectedVertex b, boolean registerOnNodes, Link originalLink1, Link originalLink2)
Create new conjugate link on conjugate links container, allow to be registered on conjugate nodes if indicated)-
Methods inherited from interface org.goplanit.utils.id.ManagedIdEntityFactory
createUniqueDeepCopyOf, createUniqueShallowCopyOf, getIdGroupingToken, setIdGroupingToken
-
-
-
-
Method Detail
-
registerNew
ConjugateLink registerNew(ConjugateDirectedVertex a, ConjugateDirectedVertex b, boolean registerOnNodes, Link originalLink1, Link originalLink2)
Create new conjugate link on conjugate links container, allow to be registered on conjugate nodes if indicated)- Parameters:
a
- the first conjugate node on this undirected turn (conjugate directed edge)b
- the second conjugate node on this undirected turn (conjugate directed edge)registerOnNodes
- choice to register new edge on the conjugate nodes or notoriginalLink1
- first of two links this conjugate link representsoriginalLink2
- second of two links this conjugate link represents- Returns:
- the created undirected turn, i.e. conjugated directed edge
-
-