跳过导航链接
com.ds.bpm.bpd.xml

类 GraphChecker

    • 构造器详细资料

      • GraphChecker

        public GraphChecker(boolean[][] matParam)
        Constructs the GraphChecker object.
        参数:
        matParam - The two dimensional array of booleans representing the graphs incidence matrix.
    • 方法详细资料

      • isGraphCyclic

        public boolean isGraphCyclic()
        返回:
        true if the graph is cyclic, and false otherwise.
      • getCyclicNodes

        public int[] getCyclicNodes()
        返回:
        The array of graph node indexes that are within some graph cycle. If the graph is not cyclic, returns null.
      • getJoinIndex

        public int getJoinIndex(int nodeX)
        Returns index of corresponding join node for the given split node index.
        参数:
        nodeX - The index of split node
        返回:
        Index of corresponding join node if it exists, -1 otherwise.

Copyright © 2023 onecode. All rights reserved.