|
Algorithm 1 (building of DAG ). |
|
Input: A nonempty decision table T that has n conditional attributes .
Output: Directed acyclic graph .
Build the graph consisting of one node T that is not tagged as processed.
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 . Otherwise, select a node (table) which is yet unprocessed.
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 . Let . Then draw k edges from and attach to these edges systems of equations . These edges enter nodes , respectively. In case some of the nodes are not available in the graph, then add these nodes to the graph. Tag the node as processed and move to step 2.
|