====== Calc Similarity of Differences ====== ===== Description ===== {{:submodels:submodel16.png?nolink|Submodel}} Calculate the minimum fuzzy similarity using maps of changes. ===== Inputs ===== ^ Name ^ Type ^ Description ^ | Initial Map | [[categorical_map_type|Categorical Map]] | Initial map of simulation period. | | Observed Map | [[categorical_map_type|Categorical Map]] | Observed (reference) Map. | | Simulated map | [[categorical_map_type|Categorical Map]] | Simulated map. | | Use exponential decay | [[boolean_value_type|Boolean Value]] | If true, the similarity is calculated using an exponential decay function truncated by the window size. Otherwise, a constant function is used within the specified window. | | Window size | [[integer_value_type|Integer Value]] | Only odd number are accepted | | Print Similarities | [[boolean_value_type|Boolean Value]] | If true, print the values of the mean similarities on the application console. | ===== Optional Inputs ===== ^ Name ^ Type ^ Description ^ | Exponential Decay Divisor | [[real_value_type|Real Value]] | Attenuation factor of the exponential decay function. | ===== Outputs ===== ^ Name ^ Type ^ Description ^ | Similarity | [[table_type|Table]] | The minimum similarity. | | Similarity map | [[map_type|Map]] | The minimum similarity map (map) | ===== Notes ===== This operator calculates the map of differences between a initial map (first one of a time series) and an observed map (last one of a time series) and the differences between an initial map and a simulated map (the simulated one corresponding to the observed map). Then, these maps of differences are used by CalcReciprocalSimilarityMap to derive the minimum similarity value. All calculations are performed using a constant decay function. ===== Group ===== [[Functor List#Validation | Validation]] ===== Internal Name ===== CalcSimilarityofDifferences