Differences

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

Link to this comparison view

Next revision
Previous revision
expander [2011/08/01 19:49]
hermann created
expander [2015/10/12 00:08] (current)
admin
Line 7: Line 7:
 ===== Inputs ===== ===== Inputs =====
  
-^ Name ^ Type ^ Description ^ +^ Name  ^ Type  ^ Description ​ 
-| Landscape ​ | [[ Categorical Map Type|Categorical Map]]  |  Map of classes or categories. ​ | +| Landscape ​ | [[Categorical Map Type]] ​ | Map of classes or categories. ​ | 
-| Probabilities ​ | [[Map Type|Map]]  | Map of spatial probabilities. ​ | +| Probabilities ​ | [[Map Type]] ​ | Map of spatial probabilities. ​ | 
-| Changes ​ | [[Change Matrix Type|Change Matrix]]  | Matrix of number of changes. ​ | +| Changes ​ | [[Change Matrix Type]] ​ | Matrix of number of changes. ​ | 
-| Transition Parameters ​ | [[Transition Function Parameter Matrix Type|Transition Function Parameter Matrix]]  | Matrix of transition function parameters consisting of Mean Patch size, Patch size variance, and isometry. By varying these parameters, various spatial patterns can be reproduced (see examples on  |<a href="​http://​www.csr.ufmg.br/​dinamica/​spatialpatterns/​spatialpatterns.html"</​a>​ Dinamica collection ​of spatial patterns </a>). Increase patch size for less fragment ​landscape. Increase patch size variance for a more diverse landscape, and set isometry greater than one for more isometric patches. ​Patches can also be created in a diffuse way increasing the neighbor search window to values greater than 3 for its lines and columns3x3 window corresponds to the Moore neighborhood. Prune factor multiplies ​the expected number ​of cells to be changed to set the quantity of possible cellsbased on their spatial probabilitythat take part in the selection mechanism ​of new patch nuclei.+| Transition Parameters ​ | [[Transition Function Parameter Matrix Type]] ​ | Matrix of transition function parameters consisting of Mean Patch size, Patch size variance, and isometry. By varying these parameters, various spatial patterns can be reproduced (see examples on [[patterns_of_change|Patterns ​of Change]]). Increase ​the patch size for less-fragmented ​landscape. Increase ​the patch size variance for a more diverse landscape, and set isometry greater than one for more isometric patches. ​Typically, the isometry defines ​the aggregation level of a patch. Assuming that v is the current isometry value0<v<1 forces disaggregationv>1 forces aggregation and v=1 is ignored. The mean patch size and the variance define the size of the patches that will be added to existent ones|
  
 ===== Optional Inputs ===== ===== Optional Inputs =====
  
-<b>Name:</​b> ​ +Name ^ Type ^ Description ^ Default Value ^ 
-neighborWindowLines<​br>​ +| Neighbor Window Lines  | [[Positive Integer Value Type]]  | Number of lines and columns ​of the neighbor search window. ​Patches can be created in a diffuse way by increasing ​the neighbor search window ​to values greater than 3 for lines and columns; a 3x3 window corresponds to the Moore neighborhood | 3  | 
-<b>Type:</b>  +| Neighbor Window Columns ​ | [[Positive Integer Value Type]]  | :::  | 3  | 
-PositiveInt<​br>​ +| Prune Factor ​ | [[Real Value Type]] ​ | A multiple of the quantity of cells to be changed. This is used in order to specify the size of the vector where cells are ranked for subsequent draw. Prune factor multiplies the expected number of cells to be changed to set the quantity of possible cells, based on their spatial probability,​ that take part in the selection mechanism of new patch nuclei. Typically, increasing this value also increases the stochasticity of selection of patch pivot cells. ​ | 10  |
-<​b>​Description:</​b> ​Number of lines of the neighbor search window.<p> +
- +
-<​b>​Name:</​b>​  +
-neighborWindowColumns<​br>​ +
-<​b>​Type:</​b>​  +
-PositiveInt<​br>​ +
-<​b>​Description:</​b>​  +
-Number of columns  +
-of the neighbor search window.<p> +
- +
-<​b>​Name:</​b>​  +
-pruneFactor<​br>​ +
-<b>Type:</b>  +
-Double<​br>​ +
-<​b>​Description:</b>A multiple of the quantity of cells to be changed. This is used in order to specify the size of the vector where cells are ranked for subsequent draw.+
  
 ===== Outputs ===== ===== Outputs =====
  
 +^ Name  ^ Type  ^ Description ​ ^
 +| Changed Landscape ​ | [[Categorical Map Type]] ​ | Map of classes or categories. ​ |
 +| Corroded Probabilities ​ | [[Map Type]] ​ | Map of depleted spatial probabilities. Where a change occurred, the probability value is set to zero.  |
 +| Remaining Changes ​ | [[Change Matrix Type]] ​ | Matrix of number of remaining number of changes for each type of transition in case the functor does not succeed in making all the specified changes. ​ |
  
-|  Changed Landscape | [[ Categorical Map Type| Categorical Map  ]] |  Map of classes or categories.  +===== Group =====
- +
-| Corroded Probabilities | [[Map Type|Map ​ ]] | Map of depleted spatial probabilities. Where a change occurred, the probability value is set to zero. +
- +
- +
- || Remaining Changes | [[Change Matrix Type|Change Matrix ​ ]] | Matrix of remaining quantity of changes for each type of transition in case the functor does not succeed in making all specified changes. +
- +
- +
- | |===== Group =====+
  
 [[Functor List#​Simulation | Simulation]] [[Functor List#​Simulation | Simulation]]
- 
- 
- 
- 
  
 ===== Notes =====  ===== Notes ===== 
  
 +Dinamica EGO uses as a local [[wp>​Cellular_automaton|CA]] rule in its transition engine composed of two complementary transition functions, the Expander and the Patcher. Dinamica EGO splits the cell selection mechanism into these processes. The first process is dedicated only to the expansion or contraction of previous patches of a certain class, and it is called Expander. The second process is designed to generate or form new patches through a seeding mechanism, and it is called Patcher. The Patch Isometry is a number varying from 0 to 2. The patches assume a more isometric form as this number increases. The size of new patches and expansion fringes are set according to a lognormal probability distribution. Therefore, it is necessary to specify the parameters of this distribution represented by the mean and variance of the patch sizes to be formed. The combination of Dinamica EGO's transition function presents numerous possibilities with respect to the generation and evolvement of spatial patterns of change. ​
  
-DINAMICA uses as local CA rule and a transition ​engine composed of two complementary transition functions, the Expander and the PatcherDINAMICA splits ​the cell selection mechanism into these processes. The first process is dedicated only to the expansion or contraction of previous patches of a certain class, and it is called Expander. The second process is designed to generate or form new patches through a seeding mechanism, ​and it is called Patcher. The Patch Isometry is a number ​varying from 0 to 2. The patches assume a more isometric form as this number increases. The size of new patches and expansion fringes are set according to a lognormal probability distribution. Thereforeit is necessary to specify the parameters of this distribution represented by the mean and variance of the patch sizes to be formed. The combination of DINAMICA'​s transition function presents numerous possibilities with respect to the generation and evolvement of spatial patterns of change.+The Patcher function searches for cells around ​chosen location for combined ​transition. ​This is done firstly by electing ​the core cell of the new patch and then selecting ​specific ​number of cells around the core cell, according to their P<​sub>​ij</​sub>​ transition probabilitiesas depicted below:
  
 +[{{ :​expander001.gif?​nolink&​ |Transition probabilities after convoluting the expander kernel.}}]
  
-<p>In the Expander function, a new Pij spatial transition probability depends on the amount ​of cells type j around a cell type I, as depicted bellow.+See [[patterns_of_change|Patterns ​of Change]] for different examples of patches generated using [[Patcher]] and [[Expander]].
  
-<p align="​center"><​img border="​0"​ src="​images/​Expander001.gif"​ width="​244"​ height="​401"><​br>​ 
-Transition probabilities after convoluting the expander kernel. 
 ===== Internal Name =====  ===== Internal Name ===== 
- 
  
 Expander Expander