Differences

This shows you the differences between two versions of the page.

Link to this comparison view

create_elevation_graph [2026/01/06 19:31]
admin created
create_elevation_graph [2026/01/09 20:03] (current)
admin
Line 2: Line 2:
  
 ===== Description ===== ===== Description =====
- +This functor creates the elevation patch graph from neighborhood information and their properties.
-This functor creates the elevation patch graph from the neighborhood information and their properties.+
  
 ===== Inputs ===== ===== Inputs =====
- 
 ^ Name  ^ Type  ^ Description ​ ^ ^ Name  ^ Type  ^ Description ​ ^
-| Neighborhood Table | [[Neighborhood Table Type]] ​ | Relationship of neighborhoods ​between ​the patches. ​ | +| Neighborhood Table | [[Neighborhood Table Type]] ​ | Neighborhood relationship ​between patches. ​ | 
-| Properties | [[Table Type]] ​ | Table of elevation ​patch properties. The table has format "id*:​real, ​elevation:​real, ​area:​real, ​slope:​real, ​y:​real, ​x:​real"​. The and values typically represent coordinates of the patch centroids. ​ |+| 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 ===== ===== Optional Inputs =====
- 
 None. None.
  
 ===== Output ===== ===== Output =====
- 
 ^ Name  ^ Type  ^ Description ​ ^ ^ Name  ^ Type  ^ Description ​ ^
-| Elevation Graph  | [[Elevation Graph Type]] ​ | Graph of elevation patches ​created from the neighborhood relationships and their properties. ​ |+| Elevation Graph | [[Elevation Graph Type]] ​ | Elevation patch graph created from neighborhood relationships and their properties. ​ |
  
 ===== Group ===== ===== Group =====
- 
 [[Functor List#​Elevation Graph | Elevation Graph]] [[Functor List#​Elevation Graph | Elevation Graph]]
  
 ===== Notes ===== ===== 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.
  
-Creates ​the elevation ​patch graph from the neighborhood information and their properties.+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 ===== ===== Internal Name =====
- 
 CreateElevationGraph CreateElevationGraph