5.1.4 neighbors

5.1.4.1 What is this node for?

It is an element used to define the the relationship between the neighboring positions of sibling elements.

5.1.4.2 Attributes

It has a mandatory attribute called algorithm. It describes the algorithm for calculating the correlation of neighboring positions. Currently, the only algorithm available is the NearestNeighbor, which calculates the correlation of neighboring positions nearest to the Euclidean distance.

5.1.4.3 Child Elements

Each positions has a neighbor child element that describes the neighboring positions.

Each neighbor has two mandatory attributes.

id

The id that represents the neighbor position. An integer is required.

ids

It includes its own id and the neighboring position’s id, divided by a semicolon.

For example, a position with id "1" that has a neighborhood position with id "2" will be shown as below:

<neighbor id="1" ids="1;2"/>