Class ConjugateVertexFactoryImpl

    • Constructor Detail

      • ConjugateVertexFactoryImpl

        protected ConjugateVertexFactoryImpl​(IdGroupingToken groupId,
                                             ConjugateVertices conjugateVertices)
        Constructor
        Parameters:
        groupId - to use
        conjugateVertices - to use
    • Method Detail

      • createNew

        public ConjugateVertex createNew​(Edge originalEdge)
        Create a new conjugate vertex (without registering on this class)
        Specified by:
        createNew in interface ConjugateVertexFactory
        Parameters:
        originalEdge - this conjugate will represent
        Returns:
        created conjugate vertex
      • registerNew

        public ConjugateVertex registerNew​(Edge originalEdge)
        Create and register new conjugate vertex
        Specified by:
        registerNew in interface ConjugateVertexFactory
        Parameters:
        originalEdge - this conjugate will represent
        Returns:
        new conjugate vertex created