Research Article
Sequential Failure Analysis Using Novel Algorithms in Sequence Determination of Petri Nets Firing
Algorithm 3
Function copier.
COPIER Algorithm | Input: Info, row, level, | Output: the same Info matrix which is modified | ifInfo{row−1, level then | = number of ones in Info{row, level}; | if level = 1 then | for | for level | Copy the sequence to Info with one row spacing; | end for | end for | else | for | for level | Copy the sequence to Info; | end for | end for | end if | end if | return Info |
|