|
Algorithm 1 Mimic transformation graph generation. |
-
1:
functiongenerateMimicImageSet()
-
2:
for each doTraverse mimic layer set
-
3:
Insert information into Dockerfile
-
4:
Create image with Dockerfile and name it
-
5:
Append to Add image to the mimic image set
-
6:
return
-
7:
functioncreateMTG()
-
8:
; Weighted graph W
-
9:
Select m different images from as G
-
10:
while do
-
11:
Append G to
-
12:
for each in W do
-
13:
if diff(G, node) = 1 then
-
14:
Append to
-
15:
return W
|