Skip to main content
. 2021 Jun 30;21(13):4482. doi: 10.3390/s21134482
Algorithm 1 Computing a network.
  • 1:

    Input:Tk,l={tk,l,1,tk,l,2,...,tk,l,NA}: set of NA time series representing the joint angles of individual pk when performing the movement Ml.

  • 2:

    Output:Wk,l: adjacency matrix corresponding to the network Gk,l(S,Ek,l).

  • 3:

    Z:=0                    ▹0RNA×NA is the null matrix

  • 4:

    fori:=1 to NA do

  • 5:

        for j:=i+1 to NA do

  • 6:

            Zi,j:=z1(i,j)+z2(i,j)+z3(i,j)

  • 7:

            Zi,j:=Zj,i

  • 8:

        end for

  • 9:

    end for

  • 10:

    Solve the optimization problem in the Equation (3), given the pairwise similarity measures Z=Zi,ji,j=1NA, to obtain the adjacency matrix Wk,l.