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( ) = Atype( ) = S)))
(2)  ReqSet:= create( , Req);
(3)  ReqSet:= ReqSetDecByDep(Req.Ents- );
(4) end if