Research Article
Graph-Based Semantic Web Service Composition for Healthcare Data Integration
Algorithm 3
Nonredundant composition.
Input: is a discovered path from the finding potential web services step | Output: is a set of composite processes of non-redundant web services | procedure NrC(pt) | | for //for each operation of redundant web services in a path | if is the first sequence in then | create //create new composite process | create //create new sequence control construct | set Seq as a sequence control construct of | | end if | //create new set of non-redundant composite processes | for //for each redundant operations in | for //for each created composite processes | //clone to | Seqi = get a sequence control construct of // | append o to Seqi //create a Perform control construct of | //add to a set of composite processes | end for | end for | //the composite processes set is replaced by | end for | return | end |
|