|
Algorithm A2 Percent of cycles within the norm |
-
1:
function CCWCycles:(dataset of convex center windows , index of cycle i):
-
2:
-
3:
for all do
-
4:
-
5:
end for
-
6:
return
-
7:
end function
-
8:
function CycleDists:(baseline dataset X, set of signals to compare C, index of cycle i):
-
9:
-
10:
-
11:
CCWCycles(XCCWs)
-
12:
CCWCycles(CCCWs)
-
13:
-
14:
for all do
-
15:
-
16:
for all do
-
17:
-
18:
end for
-
19:
-
20:
end for
-
21:
return
-
22:
end function
-
23:
function Fidelity_Cycle:(baseline dataset X, set of real signals R, set of synthetic signals S, index of cycle i):
-
24:
CycleDists(X, R, i)
-
25:
CycleDists(X, S, i)
-
26:
-
27:
-
28:
-
29:
return
-
30:
end function
|