Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
calc_neighborhood [2011/07/31 03:30]
127.0.0.1 external edit
calc_neighborhood [2026/01/06 19:15] (current)
admin [Group]
Line 1: Line 1:
-====== Calc Neighborhood ====== ​+====== Calc Neighborhood ======
  
 ===== Description ===== ===== Description =====
  
-This functor calculates the list of first order neighbors for each source ​feature.+This functor calculates the relationship ​of neighboring features in a feature ​map.
  
 ===== Inputs ===== ===== Inputs =====
  
-^ Name     ​^ Type                                        ^ Description ​                                              ​+^ Name  ^ Type  ^ Description ​ 
-| Source ​  ​| [[Categorical Map Type|Categorical Map  ​]]  | Map whose non-null cells correspond to source ​features. ​  ​|+| 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 ===== ===== Optional Inputs =====
 +
 +None.
  
 ===== Output ===== ===== Output =====
- +^ Name  ^ Type  ^ Description ​ 
-^ Name          ^ Type                                              ^ Description ​                                          ​+| Neighborhood ​ | [[Neighborhood Table Type]] ​ | Relationship of neighboring features.  |
-| Neighborhood ​ | [[Neighborhood Table Type|Neighborhood Table  ​]]  | Neighbors for each source feature on the source map.  |+
  
 ===== Group ===== ===== Group =====
  
-[[Functor List#Statistics ​Statistics]]+[[Functor List#Simulation ​Simulation]]
  
 ===== Notes ===== ===== 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 ===== ===== Internal Name =====