Interface MacroscopicLinkFactory

    • Method Detail

      • registerNew

        MacroscopicLink registerNew​(Node nodeA,
                                    Node nodeB,
                                    double lengthKm,
                                    boolean registerOnNodes)
        Create new macroscopic link on container, allow to be registered on nodes if indicated)
        Specified by:
        registerNew in interface LinkFactory<MacroscopicLink>
        Parameters:
        nodeA - the first node in this link
        nodeB - the second node in this link
        lengthKm - length of the link in km
        registerOnNodes - choice to register new edge on the vertices or not
        Returns:
        the created link