Research Article
An Approach for Composing Services Based on Environment Ontology
Algorithm 2
Decomposition algorithm according to the dependent type between environmental entities.
DecByDepDir(Req, ReqSet) | (1) if(∃ ((∈ Req.Ents)∧ ∀dep(des ∈ Req.Deps∧(dep.se ≠ ∨dep.te ≠ )))) | (2) ReqSet:= create (, Req); | (3) ReqSet:= ReqSet ∪ DecByDep (Req.Ents-); | (4) end if |
|