Research Article
An Approach for Composing Services Based on Environment Ontology
Algorithm 3
Decomposition algorithm according to the type of environmental entities.
DecByEntTyp(Req, ReqSet) | (1) if(∃ (∈ Req.Ents∧(type() = A∨type() = S))) | (2) ReqSet:= create(, Req); | (3) ReqSet:= ReqSet∪DecByDep(Req.Ents-); | (4) end if |
|