Skip to main content
. 2018 Mar 17;18(3):895. doi: 10.3390/s18030895
Algorithm 1: CP Estimation on LOSL(i) based on the Least-square-error Method.
Initialization: Obtain the coordinates of all wireless sensor nodes, as well as the topology information of all LOSLs, that is, their formulas.
  • Step 1.

    Launch the algorithm when LOSL(i) is triggered;

  • Step 2.

    List all the segments on LOSL(i) and obtain the coordinate set of each segment;

  • Step 3.

    Find the unique possible segment where the CP may be located by using the LOSL triggering sequence;

  • Step 4.

    Set the middle point of the unique possible segment as the CP.