Class HorizontalCoordinateAssignmentDeprecated<V,​E>

    • Constructor Detail

      • HorizontalCoordinateAssignmentDeprecated

        public HorizontalCoordinateAssignmentDeprecated​(LV<V>[][] layers,
                                                        org.jgrapht.Graph<LV<V>,​LE<V,​E>> svGraph,
                                                        Set<LE<V,​E>> markedSegments,
                                                        int horizontalOffset,
                                                        int verticalOffset)
    • Method Detail

      • pos

        protected int pos​(LV<V> v)
        override to use pos instead of index
        Overrides:
        pos in class HorizontalCoordinateAssignment<V,​E>
        Parameters:
        v - vertex to consider
        Returns:
        v's pos (not its index in the rank)
      • idx

        protected int idx​(LV<V> v)
      • incidentToInnerSegment

        protected boolean incidentToInnerSegment​(LV<V> v)
        override to say that only QVertices are incident to an inner edge that spans from previous rank to this one
        Overrides:
        incidentToInnerSegment in class HorizontalCoordinateAssignment<V,​E>
        Parameters:
        v - vertex to check
        Returns:
        true iv v is incident to an inner segment between v's rank and the preceding rank
      • misAligned

        protected List<LV<V>> misAligned​(LV<V>[][] layers)
      • misAligned

        protected boolean misAligned​(LV<V> v)
      • misAligned

        protected boolean misAligned​(LV<V> v,
                                     Map<LV<V>,​Point> map)