Skip to main content
. 2021 Dec 7;23(12):1641. doi: 10.3390/e23121641
Algorithm 1ADAG (building of DAG Δ(T)).

Input: A nonempty decision table T that has n conditional attributes f1,,fn.

Output: Directed acyclic graph Δ(T).

  1. Build the graph consisting of one node T that is not tagged as processed.

  2. Check the processing of all nodes of the graph is completed or not. If yes, then the algorithm halts and returns the resulting graph as Δ(T). Otherwise, select a node (table) Θ which is yet unprocessed.

  3. Check node Θ is degenerate or not.
    • (a)
      If yes, then tag the node Θ as processed and move to step 2.
    • (b)
      If no, then draw a bundle of edges from the node Θ for each fiE(Θ). Let E(Θ,fi)={a1,,ak}. Then draw k edges from Θ and attach to these edges systems of equations {fi=a1},,{fi=ak}. These edges enter nodes Θ{fi=a1},,Θ{fi=ak}, respectively. In case some of the nodes Θ{fi=a1},,Θ{fi=ak} are not available in the graph, then add these nodes to the graph. Tag the node Θ as processed and move to step 2.