Input: β : The scenario graph in the form |
ββRegionFound: a flag for deciding the termination criteria |
Output: β : ITM |
Data: β : Denotes the next node to be inspected |
βββ: Denotes the trailer node when the region is formed |
β ββββ// Initially, is the ITM |
β βββ// Start from the initial node of |
β while is not a β do |
βββif β β then // is not a |
ββββcontrol node |
ββββ ββββ |
ββββββββββ// Composing to be carried out at |
ββ else |
ββββ if then // Ensures that no composition was carried out so far |
βββββ ; |
ββββ end if; |
βββbreak; |
ββ end if |
ββ ; |
β end while |
β return β |
Function FormIntermediateGraph(G, RegionFound) |