Create Elevation Graph

Description

This functor creates the elevation patch graph from neighborhood information and their properties.

Inputs

Name	Type	Description
Neighborhood Table	Neighborhood Table Type	Neighborhood relationship between patches.
Properties	Table Type	Elevation patch properties table. The table has the format “Patch_Id*:real, Patch_Elevation:real, Patch_Area:real, Patch_Slope:real, Patch_Y:real, Patch_X:real”. The “Patch_Y” and “Patch_X” values typically represent the coordinates of the patch centroids.

Optional Inputs

None.

Output

Name	Type	Description
Elevation Graph	Elevation Graph Type	Elevation patch graph created from neighborhood relationships and their properties.

Group

Elevation Graph

Notes

The elevation patch graph is a directed graph whose nodes correspond to the patches defined in the neighborhood table, typically constructed from a terrain map. The edges between nodes represent the adjacency relationships and elevation differences between each patch and its neighbors. The parent nodes of a given node correspond to neighbors with higher elevation, while child nodes correspond to neighbors with lower elevation.

Neighboring patches according to the neighborhood relationship must have different elevation values according to the table provided in “Properties”. Otherwise, an error will be reported.

Internal Name

CreateElevationGraph