[GRASS-SVN] r62052 - grass-addons/grass6/raster/r.mcda.fuzzy
svn_grass at osgeo.org
svn_grass at osgeo.org
Mon Sep 22 13:51:02 PDT 2014
Author: gianluca
Date: 2014-09-22 13:51:02 -0700 (Mon, 22 Sep 2014)
New Revision: 62052
Modified:
grass-addons/grass6/raster/r.mcda.fuzzy/fuzzy.c
grass-addons/grass6/raster/r.mcda.fuzzy/main.c
Log:
owa starter value setting to 0
Modified: grass-addons/grass6/raster/r.mcda.fuzzy/fuzzy.c
===================================================================
--- grass-addons/grass6/raster/r.mcda.fuzzy/fuzzy.c 2014-09-22 15:13:28 UTC (rev 62051)
+++ grass-addons/grass6/raster/r.mcda.fuzzy/fuzzy.c 2014-09-22 20:51:02 UTC (rev 62052)
@@ -119,7 +119,8 @@
G_percent(row1, nrows, 2);
for (col1 = 0; col1 < ncols; col1++)
{
- value = decision_vol[row1][col1][0]; /* set value to firsth matrix i-value */
+ /*value = decision_vol[row1][col1][0];*/
+ value=0; /* set value to firsth matrix i-value */
for (i = 0; i < ncriteria; i++)
{
value = value + decision_vol[row1][col1][i];
Modified: grass-addons/grass6/raster/r.mcda.fuzzy/main.c
===================================================================
--- grass-addons/grass6/raster/r.mcda.fuzzy/main.c 2014-09-22 15:13:28 UTC (rev 62051)
+++ grass-addons/grass6/raster/r.mcda.fuzzy/main.c 2014-09-22 20:51:02 UTC (rev 62052)
@@ -4,7 +4,7 @@
* MODULE: r.mcda.electre
* AUTHORS: Gianluca Massei (g_massa at libero.it) - Antonio Boggia (boggia at unipg.it)
*
- * PURPOSE: Make a multicriterio decision analysis based on Yager fuzzy algorthm
+ * PURPOSE: Make a multicriteria decision analysis based on Yager fuzzy algorthm
*
* COPYRIGHT: (C) GRASS Development Team (2008)
*
@@ -48,7 +48,7 @@
/* initialize module */
module = G_define_module();
- module->keywords = _("raster,fuzzy,MCDA");
+ module->keywords = _("raster,MCDA,fuzzy");
module->description =
_("Multicirtieria decision analysis based on Yager fuzzy method");
More information about the grass-commit
mailing list