## 5.1.4 neighbors

### 5.1.4.1 What is this node for?

The node represents the neighborhood relationship of positions node.

### 5.1.4.2 Attributes

This node has a mandatory attribute algorithm. This attribute represents an algorithm for calculating neighborhood of positions. Currently, only NearestNeighbor is available. This algorithm calculates neighborhood depending on Euclidean distance.

### 5.1.4.3 Child Node

This node has neighbor nodes that represents a neighborhood positions for each positions.

Each neighbor has two mandatory attribtues.

id

The id of the corresponding position node.

ids

A set of position ids including itself. The delimiter is semicolon.

For example, a position whose id is 1 has a neighborhood whose id is 2, the representation is:

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