Research Article

An Invocation Chain Test and Evaluation Method for Fog Computing

Algorithm 1

Environmental modelling for fog computing.
ProcedurePre-Treatment(Tree, )
Input:
Tree of attributes in the system environment;
Attribute f in Initial of System Environment Set
Output:
Tree after inserting attribute
1. ; //Extracting attribute of parameter value of HostID
2. ;
//Extract the predicate name representing attribute
3.  IfinS-Nodes(Tree.Root) Then
//S-Nodes(Tree.Root) represents the successive node sets of Tree
4.    ;
5.    ;
6.    ;
7.  Else IfinS-Nodes() Then
8.    ;
9.    ;
10.  Else IfinS-Nodes() Then
11.    ;
12. ReturnTree