International Scholarly Research Notices / 2013 / Article / Alg 1

Research Article

Web Services Conversation Adaptation Using Conditional Substitution Semantics of Application Domain Concepts

Algorithm 1

Converter generator.
Input: Set of concepts , , Conversation Context CC,
and The CSEG segment .
Output: Source code of converting to with respect
to CC.
Begin
 Get Concepts Mapping Matrix between and .
 Create an empty class CONVERTER.
 Create a method CONVERT with as its input, and
as its output.
for each concept in   do
 Get corresponding mapping concept using .
if There exists a path from to in   then
  for each edge in the path do
      Create a method in CONVERTER with same
      signature and body of the edge conversion function .
      Add invocation code to CONVERT body.
  end for
else
  Return Error.
end if
end for
 Return CONVERTER generated code.
End

Article of the Year Award: Outstanding research contributions of 2020, as selected by our Chief Editors. Read the winning articles.