Calc Neighborhood
Description
This functor calculates the relationship of neighboring features in a feature map.
Inputs
| Name | Type | Description |
|---|---|---|
| Source | Categorical Map Type | Feature map. Cells containing values different from the null value represent features. If the map does not define a null value, an error will be reported. |
Optional Inputs
None.
Output
| Name | Type | Description |
|---|---|---|
| Neighborhood | Neighborhood Table Type | Relationship of neighboring features. |
Group
Notes
Only the values present in the feature map categorization are used in calculating the neighbors. Other values are ignored.
A reflexive relationship is always defined for all values present in the categorization with weight 0.0, ensuring that even values without neighbors are represented in the resulting table.
Relationships between two neighbors always have weight 1.0 and are represented by two relations: the found relationship and its symmetric relationship.
Internal Name
CalcNeighborhood