Skip to main content
. 2020 Dec 25;21(1):85. doi: 10.3390/s21010085
Algorithm 2 Operation of cluster head (node i*)
  •  Input:

    recognition model M

  • 1:

    for each time step t do

  • 2:

        collect data Si*,t from own sensors

  • 3:

        wait for data St transmitted from sensor nodes

  • 4:

        recognize activity a^t=R(Si*,tSt,M)

  • 5:

        send a^t to sink

  • 6:

    end for