[GRASS-SVN] r33825 - grass-addons/raster/mcda/r.roughset
svn_grass at osgeo.org
svn_grass at osgeo.org
Sat Oct 11 17:54:03 EDT 2008
Author: gianluca
Date: 2008-10-11 17:54:03 -0400 (Sat, 11 Oct 2008)
New Revision: 33825
Modified:
grass-addons/raster/mcda/r.roughset/main.c
grass-addons/raster/mcda/r.roughset/raccess.c
grass-addons/raster/mcda/r.roughset/raccess.h
grass-addons/raster/mcda/r.roughset/rbasic.c
grass-addons/raster/mcda/r.roughset/rbasic.h
grass-addons/raster/mcda/r.roughset/rclass.c
grass-addons/raster/mcda/r.roughset/rclass.h
grass-addons/raster/mcda/r.roughset/rcore.c
grass-addons/raster/mcda/r.roughset/rcore.h
grass-addons/raster/mcda/r.roughset/reduct1.c
grass-addons/raster/mcda/r.roughset/reduct1.h
grass-addons/raster/mcda/r.roughset/reduct2.c
grass-addons/raster/mcda/r.roughset/reduct2.h
grass-addons/raster/mcda/r.roughset/rerror.h
grass-addons/raster/mcda/r.roughset/rough.h
grass-addons/raster/mcda/r.roughset/rset.c
grass-addons/raster/mcda/r.roughset/rset.h
grass-addons/raster/mcda/r.roughset/rsystem.c
grass-addons/raster/mcda/r.roughset/rsystem.h
grass-addons/raster/mcda/r.roughset/rule1.c
grass-addons/raster/mcda/r.roughset/rule1.h
grass-addons/raster/mcda/r.roughset/rule2.c
grass-addons/raster/mcda/r.roughset/rule2.h
Log:
geographics multi-criteria analysis and knowledge discovery - GPL license ref.
Modified: grass-addons/raster/mcda/r.roughset/main.c
===================================================================
--- grass-addons/raster/mcda/r.roughset/main.c 2008-10-11 21:45:50 UTC (rev 33824)
+++ grass-addons/raster/mcda/r.roughset/main.c 2008-10-11 21:54:03 UTC (rev 33825)
@@ -1,11 +1,12 @@
/****************************************************************************
*
* MODULE: r.roughset
- * AUTHOR(S): Gianluca Massei (g_massa at libero.it) - Antonio Boggia (boggia at unipg.it)
- * M.Gawrys - J.Sienkiewicz original authors of RSl ver. 2
+ * AUTHOR(S): GRASS module authors ad Rough Set Library (RSL) maintain:
+ * G.Massei (g_massa at libero.it)-A.Boggia (boggia at unipg.it)
+ * Rough Set Library (RSL) ver. 2 original develop:
+ * M.Gawrys - J.Sienkiewicz
*
- * PURPOSE: Geographics rough set analisys and knowledge discovery (based on RSL system
- by M.Gawrys J.Sienkiewicz)
+ * PURPOSE: Geographics rough set analisys and knowledge discovery
*
* COPYRIGHT: (C) GRASS Development Team (2008)
*
Modified: grass-addons/raster/mcda/r.roughset/raccess.c
===================================================================
--- grass-addons/raster/mcda/r.roughset/raccess.c 2008-10-11 21:45:50 UTC (rev 33824)
+++ grass-addons/raster/mcda/r.roughset/raccess.c 2008-10-11 21:54:03 UTC (rev 33825)
@@ -1,13 +1,28 @@
-/*******************************************************************/
-/*******************************************************************/
-/*** ***/
-/*** FUNCTION OF ACCESS TO SYSTEM TABLES ***/
-/*** ***/
-/*** part of the ROUGH system written by M.Gawrys J. Sienkiewicz ***/
-/*** ***/
-/*******************************************************************/
-/*******************************************************************/
+/****************************************************************************
+ *
+ * MODULE: r.roughset
+ * AUTHOR(S): GRASS module authors ad Rough Set Library (RSL) maintain:
+ * G.Massei (g_massa at libero.it)-A.Boggia (boggia at unipg.it)
+ * Rough Set Library (RSL) ver. 2 original develop:
+ * M.Gawrys - J.Sienkiewicz
+ *
+ * PURPOSE: Geographics rough set analisys and knowledge discovery
+ *
+ * COPYRIGHT: (C) GRASS Development Team (2008)
+ *
+ * This program is free software under the GNU General Public
+ * License (>=v2). Read the file COPYING that comes with GRASS
+ * for details.
+ *
+ *****************************************************************************/
+/*** ***/
+/*** FUNCTION OF ACCESS TO SYSTEM TABLES ***/
+/*** ***/
+/*** part of the ROUGH system written by M.Gawrys J. Sienkiewicz ***/
+/*** ***/
+/*****************************************************************************/
+
#include "rough.h"
setA _table_element=NULL;
Modified: grass-addons/raster/mcda/r.roughset/raccess.h
===================================================================
--- grass-addons/raster/mcda/r.roughset/raccess.h 2008-10-11 21:45:50 UTC (rev 33824)
+++ grass-addons/raster/mcda/r.roughset/raccess.h 2008-10-11 21:54:03 UTC (rev 33825)
@@ -1,13 +1,28 @@
-/*******************************************************************/
-/*******************************************************************/
-/*** ***/
-/*** FUNCTIONS OF ACCESS TO SYSTEM TABLES ***/
-/*** ***/
-/*** part of the RSL system written by M.Gawrys J. Sienkiewicz ***/
-/*** ***/
-/*******************************************************************/
-/*******************************************************************/
+/****************************************************************************
+ *
+ * MODULE: r.roughset
+ * AUTHOR(S): GRASS module authors ad Rough Set Library (RSL) maintain:
+ * G.Massei (g_massa at libero.it)-A.Boggia (boggia at unipg.it)
+ * Rough Set Library (RSL) ver. 2 original develop:
+ * M.Gawrys - J.Sienkiewicz
+ *
+ * PURPOSE: Geographics rough set analisys and knowledge discovery
+ *
+ * COPYRIGHT: (C) GRASS Development Team (2008)
+ *
+ * This program is free software under the GNU General Public
+ * License (>=v2). Read the file COPYING that comes with GRASS
+ * for details.
+ *
+ *****************************************************************************/
+/*** ***/
+/*** FUNCTIONS OF ACCESS TO SYSTEM TABLES ***/
+/*** ***/
+/*** part of the RSL system written by M.Gawrys J. Sienkiewicz ***/
+/*** ***/
+/*****************************************************************************/
+
#define START_OF_D _table_element=_mainsys->matD,_table_end=_table_element+Dsize(_mainsys)
#define START_OF_X _table_element=_mainsys->matX,_table_end=_table_element+_mainsys->matXsize
#define START_OF_MAT(set,num) _table_element=(set),_table_end=_table_element+(num)*_mainsys->setAsize
Modified: grass-addons/raster/mcda/r.roughset/rbasic.c
===================================================================
--- grass-addons/raster/mcda/r.roughset/rbasic.c 2008-10-11 21:45:50 UTC (rev 33824)
+++ grass-addons/raster/mcda/r.roughset/rbasic.c 2008-10-11 21:54:03 UTC (rev 33825)
@@ -1,13 +1,28 @@
-/*******************************************************************/
-/*******************************************************************/
-/*** ***/
-/*** BASIC QUERIES FOR ACTIVE SYSTEM ***/
-/*** ***/
-/*** part of the RSL system written by M.Gawrys J.Sienkiewicz ***/
-/*** ***/
-/*******************************************************************/
-/*******************************************************************/
+/****************************************************************************
+ *
+ * MODULE: r.roughset
+ * AUTHOR(S): GRASS module authors ad Rough Set Library (RSL) maintain:
+ * G.Massei (g_massa at libero.it)-A.Boggia (boggia at unipg.it)
+ * Rough Set Library (RSL) ver. 2 original develop:
+ * M.Gawrys - J.Sienkiewicz
+ *
+ * PURPOSE: Geographics rough set analisys and knowledge discovery
+ *
+ * COPYRIGHT: (C) GRASS Development Team (2008)
+ *
+ * This program is free software under the GNU General Public
+ * License (>=v2). Read the file COPYING that comes with GRASS
+ * for details.
+ *
+ *****************************************************************************/
+/*** ***/
+/*** BASIC QUERIES FOR ACTIVE SYSTEM ***/
+/*** ***/
+/*** part of the RSL system written by M.Gawrys J.Sienkiewicz ***/
+/*** ***/
+/*****************************************************************************/
+
#include "rough.h"
int LowAppr( setO lowappr, setO X, setA P,int matrix_type)
Modified: grass-addons/raster/mcda/r.roughset/rbasic.h
===================================================================
--- grass-addons/raster/mcda/r.roughset/rbasic.h 2008-10-11 21:45:50 UTC (rev 33824)
+++ grass-addons/raster/mcda/r.roughset/rbasic.h 2008-10-11 21:54:03 UTC (rev 33825)
@@ -1,13 +1,28 @@
-/*******************************************************************/
-/*******************************************************************/
-/*** ***/
-/*** BASIC QUERRIES FOR SYSTEM ***/
-/*** ***/
-/*** part of the RSL system written by M.Gawrys J.Sienkiewicz ***/
-/*** ***/
-/*******************************************************************/
-/*******************************************************************/
+/****************************************************************************
+ *
+ * MODULE: r.roughset
+ * AUTHOR(S): GRASS module authors ad Rough Set Library (RSL) maintain:
+ * G.Massei (g_massa at libero.it)-A.Boggia (boggia at unipg.it)
+ * Rough Set Library (RSL) ver. 2 original develop:
+ * M.Gawrys - J.Sienkiewicz
+ *
+ * PURPOSE: Geographics rough set analisys and knowledge discovery
+ *
+ * COPYRIGHT: (C) GRASS Development Team (2008)
+ *
+ * This program is free software under the GNU General Public
+ * License (>=v2). Read the file COPYING that comes with GRASS
+ * for details.
+ *
+ *****************************************************************************/
+/*** ***/
+/*** BASIC QUERRIES FOR SYSTEM ***/
+/*** ***/
+/*** part of the RSL system written by M.Gawrys J.Sienkiewicz ***/
+/*** ***/
+/*****************************************************************************/
+
/* If a function from this section value a set, this set should be */
/* first initialized and then given to the function as a first */
/* argument. Functions from this group does not work on matrix X. */
Modified: grass-addons/raster/mcda/r.roughset/rclass.c
===================================================================
--- grass-addons/raster/mcda/r.roughset/rclass.c 2008-10-11 21:45:50 UTC (rev 33824)
+++ grass-addons/raster/mcda/r.roughset/rclass.c 2008-10-11 21:54:03 UTC (rev 33825)
@@ -1,14 +1,29 @@
-/*******************************************************************/
-/*******************************************************************/
-/*** ***/
-/*** SOME MORE QUERIES FOR SYSTEM ***/
-/*** ( CLASSIFICATION ) ***/
-/*** ***/
-/*** part of the RSL system written by M.Gawrys J.Sienkiewicz ***/
-/*** ***/
-/*******************************************************************/
-/*******************************************************************/
+/****************************************************************************
+ *
+ * MODULE: r.roughset
+ * AUTHOR(S): GRASS module authors ad Rough Set Library (RSL) maintain:
+ * G.Massei (g_massa at libero.it)-A.Boggia (boggia at unipg.it)
+ * Rough Set Library (RSL) ver. 2 original develop:
+ * M.Gawrys - J.Sienkiewicz
+ *
+ * PURPOSE: Geographics rough set analisys and knowledge discovery
+ *
+ * COPYRIGHT: (C) GRASS Development Team (2008)
+ *
+ * This program is free software under the GNU General Public
+ * License (>=v2). Read the file COPYING that comes with GRASS
+ * for details.
+ *
+ *****************************************************************************/
+/*** ***/
+/*** SOME MORE QUERIES FOR SYSTEM ***/
+/*** ( CLASSIFICATION ) ***/
+/*** ***/
+/*** part of the RSL system written by M.Gawrys J.Sienkiewicz ***/
+/*** ***/
+/*****************************************************************************/
+
#include <stdlib.h>
#include "rough.h"
Modified: grass-addons/raster/mcda/r.roughset/rclass.h
===================================================================
--- grass-addons/raster/mcda/r.roughset/rclass.h 2008-10-11 21:45:50 UTC (rev 33824)
+++ grass-addons/raster/mcda/r.roughset/rclass.h 2008-10-11 21:54:03 UTC (rev 33825)
@@ -1,14 +1,29 @@
-/*******************************************************************/
-/*******************************************************************/
-/*** ***/
-/*** SOME MORE QUERIES FOR SYSTEM ***/
-/*** ( CLASSIFICATION ) ***/
-/*** ***/
-/*** part of the RSL system written by M.Gawrys J.Sienkiewicz ***/
-/*** ***/
-/*******************************************************************/
-/*******************************************************************/
+/****************************************************************************
+ *
+ * MODULE: r.roughset
+ * AUTHOR(S): GRASS module authors ad Rough Set Library (RSL) maintain:
+ * G.Massei (g_massa at libero.it)-A.Boggia (boggia at unipg.it)
+ * Rough Set Library (RSL) ver. 2 original develop:
+ * M.Gawrys - J.Sienkiewicz
+ *
+ * PURPOSE: Geographics rough set analisys and knowledge discovery
+ *
+ * COPYRIGHT: (C) GRASS Development Team (2008)
+ *
+ * This program is free software under the GNU General Public
+ * License (>=v2). Read the file COPYING that comes with GRASS
+ * for details.
+ *
+ *****************************************************************************/
+/*** ***/
+/*** SOME MORE QUERIES FOR SYSTEM ***/
+/*** ( CLASSIFICATION ) ***/
+/*** ***/
+/*** part of the RSL system written by M.Gawrys J.Sienkiewicz ***/
+/*** ***/
+/*****************************************************************************/
+
int DecisionEQ(value_type *rule1,value_type *rule2,setA Q);
/* compares decisions of two rules */
/* returns 1 if equal */
Modified: grass-addons/raster/mcda/r.roughset/rcore.c
===================================================================
--- grass-addons/raster/mcda/r.roughset/rcore.c 2008-10-11 21:45:50 UTC (rev 33824)
+++ grass-addons/raster/mcda/r.roughset/rcore.c 2008-10-11 21:54:03 UTC (rev 33825)
@@ -1,14 +1,29 @@
-/*******************************************************************/
-/*******************************************************************/
-/*** ***/
-/*** SOME MORE QUERIES FOR SYSTEM ***/
-/*** ( FINDING CORES AND CHECKING REDUCTS ) ***/
-/*** ***/
-/*** part of the RSL system written by M.Gawrys J.Sienkiewicz ***/
-/*** ***/
-/*******************************************************************/
-/*******************************************************************/
+/****************************************************************************
+ *
+ * MODULE: r.roughset
+ * AUTHOR(S): GRASS module authors ad Rough Set Library (RSL) maintain:
+ * G.Massei (g_massa at libero.it)-A.Boggia (boggia at unipg.it)
+ * Rough Set Library (RSL) ver. 2 original develop:
+ * M.Gawrys - J.Sienkiewicz
+ *
+ * PURPOSE: Geographics rough set analisys and knowledge discovery
+ *
+ * COPYRIGHT: (C) GRASS Development Team (2008)
+ *
+ * This program is free software under the GNU General Public
+ * License (>=v2). Read the file COPYING that comes with GRASS
+ * for details.
+ *
+ *****************************************************************************/
+/*** ***/
+/*** SOME MORE QUERIES FOR SYSTEM ***/
+/*** ( FINDING CORES AND CHECKING REDUCTS ) ***/
+/*** ***/
+/*** part of the RSL system written by M.Gawrys J.Sienkiewicz ***/
+/*** ***/
+/*****************************************************************************/
+
#include "rough.h"
#include <stdlib.h>
Modified: grass-addons/raster/mcda/r.roughset/rcore.h
===================================================================
--- grass-addons/raster/mcda/r.roughset/rcore.h 2008-10-11 21:45:50 UTC (rev 33824)
+++ grass-addons/raster/mcda/r.roughset/rcore.h 2008-10-11 21:54:03 UTC (rev 33825)
@@ -1,15 +1,30 @@
-/*******************************************************************/
-/*******************************************************************/
-/*** ***/
-/*** SOME MORE QUERIES FOR SYSTEM ***/
-/*** ( FINDING CORES AND CHECKING REDUCTS ) ***/
-/*** ***/
-/*** part of the RSL system written by M.Gawrys J.Sienkiewicz ***/
-/*** ***/
-/*******************************************************************/
-/*******************************************************************/
+/****************************************************************************
+ *
+ * MODULE: r.roughset
+ * AUTHOR(S): GRASS module authors ad Rough Set Library (RSL) maintain:
+ * G.Massei (g_massa at libero.it)-A.Boggia (boggia at unipg.it)
+ * Rough Set Library (RSL) ver. 2 original develop:
+ * M.Gawrys - J.Sienkiewicz
+ *
+ * PURPOSE: Geographics rough set analisys and knowledge discovery
+ *
+ * COPYRIGHT: (C) GRASS Development Team (2008)
+ *
+ * This program is free software under the GNU General Public
+ * License (>=v2). Read the file COPYING that comes with GRASS
+ * for details.
+ *
+ *****************************************************************************/
+/*** ***/
+/*** SOME MORE QUERIES FOR SYSTEM ***/
+/*** ( FINDING CORES AND CHECKING REDUCTS ) ***/
+/*** ***/
+/*** part of the RSL system written by M.Gawrys J.Sienkiewicz ***/
+/*** ***/
+/*****************************************************************************/
+
int Core (setA core,int matrix_type);
int CoreA (setA core);
int CoreDX(setA core,int matrix_type);
Modified: grass-addons/raster/mcda/r.roughset/reduct1.c
===================================================================
--- grass-addons/raster/mcda/r.roughset/reduct1.c 2008-10-11 21:45:50 UTC (rev 33824)
+++ grass-addons/raster/mcda/r.roughset/reduct1.c 2008-10-11 21:54:03 UTC (rev 33825)
@@ -1,14 +1,29 @@
-/*******************************************************************/
-/*******************************************************************/
-/*** ***/
-/*** SOME MORE QUERIES FOR SYSTEM ***/
-/*** ( FINDING REDUCTS ) ***/
-/*** ***/
-/*** part of the RSL system written by M.Gawrys J.Sienkiewicz ***/
-/*** ***/
-/*******************************************************************/
-/*******************************************************************/
+/****************************************************************************
+ *
+ * MODULE: r.roughset
+ * AUTHOR(S): GRASS module authors ad Rough Set Library (RSL) maintain:
+ * G.Massei (g_massa at libero.it)-A.Boggia (boggia at unipg.it)
+ * Rough Set Library (RSL) ver. 2 original develop:
+ * M.Gawrys - J.Sienkiewicz
+ *
+ * PURPOSE: Geographics rough set analisys and knowledge discovery
+ *
+ * COPYRIGHT: (C) GRASS Development Team (2008)
+ *
+ * This program is free software under the GNU General Public
+ * License (>=v2). Read the file COPYING that comes with GRASS
+ * for details.
+ *
+ *****************************************************************************/
+/*** ***/
+/*** SOME MORE QUERIES FOR SYSTEM ***/
+/*** ( FINDING REDUCTS ) ***/
+/*** ***/
+/*** part of the RSL system written by M.Gawrys J.Sienkiewicz ***/
+/*** ***/
+/*****************************************************************************/
+
#include "rough.h"
#include <stdlib.h>
Modified: grass-addons/raster/mcda/r.roughset/reduct1.h
===================================================================
--- grass-addons/raster/mcda/r.roughset/reduct1.h 2008-10-11 21:45:50 UTC (rev 33824)
+++ grass-addons/raster/mcda/r.roughset/reduct1.h 2008-10-11 21:54:03 UTC (rev 33825)
@@ -1,15 +1,30 @@
-/*******************************************************************/
-/*******************************************************************/
-/*** ***/
-/*** SOME MORE QUERIES FOR SYSTEM ***/
-/*** ( FINDING REDUCTS ) ***/
-/*** ***/
-/*** part of the RSL system written by M.Gawrys J.Sienkiewicz ***/
-/*** ***/
-/*******************************************************************/
-/*******************************************************************/
+/****************************************************************************
+ *
+ * MODULE: r.roughset
+ * AUTHOR(S): GRASS module authors ad Rough Set Library (RSL) maintain:
+ * G.Massei (g_massa at libero.it)-A.Boggia (boggia at unipg.it)
+ * Rough Set Library (RSL) ver. 2 original develop:
+ * M.Gawrys - J.Sienkiewicz
+ *
+ * PURPOSE: Geographics rough set analisys and knowledge discovery
+ *
+ * COPYRIGHT: (C) GRASS Development Team (2008)
+ *
+ * This program is free software under the GNU General Public
+ * License (>=v2). Read the file COPYING that comes with GRASS
+ * for details.
+ *
+ *****************************************************************************/
+/*** ***/
+/*** SOME MORE QUERIES FOR SYSTEM ***/
+/*** ( FINDING REDUCTS ) ***/
+/*** ***/
+/*** part of the RSL system written by M.Gawrys J.Sienkiewicz ***/
+/*** ***/
+/*****************************************************************************/
+
int Red (setA *red,int matrix);
/* finds all reducts for information system, */
/* sets red to yhe allocated reducts table */
Modified: grass-addons/raster/mcda/r.roughset/reduct2.c
===================================================================
--- grass-addons/raster/mcda/r.roughset/reduct2.c 2008-10-11 21:45:50 UTC (rev 33824)
+++ grass-addons/raster/mcda/r.roughset/reduct2.c 2008-10-11 21:54:03 UTC (rev 33825)
@@ -1,14 +1,29 @@
-/*******************************************************************/
-/*******************************************************************/
-/*** ***/
-/*** SOME MORE QUERIES FOR SYSTEM ***/
-/*** ( AUXILIARY REDUCTS ROUTINES ) ***/
-/*** ***/
-/*** part of the RSL system written by M.Gawrys J.Sienkiewicz ***/
-/*** ***/
-/*******************************************************************/
-/*******************************************************************/
+/****************************************************************************
+ *
+ * MODULE: r.roughset
+ * AUTHOR(S): GRASS module authors ad Rough Set Library (RSL) maintain:
+ * G.Massei (g_massa at libero.it)-A.Boggia (boggia at unipg.it)
+ * Rough Set Library (RSL) ver. 2 original develop:
+ * M.Gawrys - J.Sienkiewicz
+ *
+ * PURPOSE: Geographics rough set analisys and knowledge discovery
+ *
+ * COPYRIGHT: (C) GRASS Development Team (2008)
+ *
+ * This program is free software under the GNU General Public
+ * License (>=v2). Read the file COPYING that comes with GRASS
+ * for details.
+ *
+ *****************************************************************************/
+/*** ***/
+/*** SOME MORE QUERIES FOR SYSTEM ***/
+/*** ( AUXILIARY REDUCTS ROUTINES ) ***/
+/*** ***/
+/*** part of the RSL system written by M.Gawrys J.Sienkiewicz ***/
+/*** ***/
+/*****************************************************************************/
+
#include <stdlib.h>
#include "rough.h"
Modified: grass-addons/raster/mcda/r.roughset/reduct2.h
===================================================================
--- grass-addons/raster/mcda/r.roughset/reduct2.h 2008-10-11 21:45:50 UTC (rev 33824)
+++ grass-addons/raster/mcda/r.roughset/reduct2.h 2008-10-11 21:54:03 UTC (rev 33825)
@@ -1,14 +1,29 @@
-/*******************************************************************/
-/*******************************************************************/
-/*** ***/
-/*** SOME MORE QUERIES FOR SYSTEM ***/
-/*** (AUXILIARY REDUCTS ROUTINES) ***/
-/*** ***/
-/*** part of the RSL system written by M.Gawrys J.Sienkiewicz ***/
-/*** ***/
-/*******************************************************************/
-/*******************************************************************/
+/****************************************************************************
+ *
+ * MODULE: r.roughset
+ * AUTHOR(S): GRASS module authors ad Rough Set Library (RSL) maintain:
+ * G.Massei (g_massa at libero.it)-A.Boggia (boggia at unipg.it)
+ * Rough Set Library (RSL) ver. 2 original develop:
+ * M.Gawrys - J.Sienkiewicz
+ *
+ * PURPOSE: Geographics rough set analisys and knowledge discovery
+ *
+ * COPYRIGHT: (C) GRASS Development Team (2008)
+ *
+ * This program is free software under the GNU General Public
+ * License (>=v2). Read the file COPYING that comes with GRASS
+ * for details.
+ *
+ *****************************************************************************/
+/*** ***/
+/*** SOME MORE QUERIES FOR SYSTEM ***/
+/*** (AUXILIARY REDUCTS ROUTINES) ***/
+/*** ***/
+/*** part of the RSL system written by M.Gawrys J.Sienkiewicz ***/
+/*** ***/
+/*****************************************************************************/
+
int RedSingle( setA red, int matrix_type);
/* heuristicly searches for a single reduct and stores it in red */
Modified: grass-addons/raster/mcda/r.roughset/rerror.h
===================================================================
--- grass-addons/raster/mcda/r.roughset/rerror.h 2008-10-11 21:45:50 UTC (rev 33824)
+++ grass-addons/raster/mcda/r.roughset/rerror.h 2008-10-11 21:54:03 UTC (rev 33825)
@@ -1,13 +1,28 @@
-/*******************************************************************/
-/*******************************************************************/
-/*** ***/
-/*** OPTIONAL ERROR HANDLING AND ERROR MESSAGES ***/
-/*** ***/
-/*** part of the RSL system written by M.Gawrys J. Sienkiewicz ***/
-/*** ***/
-/*******************************************************************/
-/*******************************************************************/
+/****************************************************************************
+ *
+ * MODULE: r.roughset
+ * AUTHOR(S): GRASS module authors ad Rough Set Library (RSL) maintain:
+ * G.Massei (g_massa at libero.it)-A.Boggia (boggia at unipg.it)
+ * Rough Set Library (RSL) ver. 2 original develop:
+ * M.Gawrys - J.Sienkiewicz
+ *
+ * PURPOSE: Geographics rough set analisys and knowledge discovery
+ *
+ * COPYRIGHT: (C) GRASS Development Team (2008)
+ *
+ * This program is free software under the GNU General Public
+ * License (>=v2). Read the file COPYING that comes with GRASS
+ * for details.
+ *
+ *****************************************************************************/
+/*** ***/
+/*** OPTIONAL ERROR HANDLING AND ERROR MESSAGES ***/
+/*** ***/
+/*** part of the RSL system written by M.Gawrys J. Sienkiewicz ***/
+/*** ***/
+/*****************************************************************************/
+
char *errcodes[10]={ "everything O.K.",
"Cannot open file",
"Wrong format of file",
Modified: grass-addons/raster/mcda/r.roughset/rough.h
===================================================================
--- grass-addons/raster/mcda/r.roughset/rough.h 2008-10-11 21:45:50 UTC (rev 33824)
+++ grass-addons/raster/mcda/r.roughset/rough.h 2008-10-11 21:54:03 UTC (rev 33825)
@@ -1,15 +1,29 @@
-/*******************************************************************/
-/*******************************************************************/
-/*** ***/
-/*** OBLIGATORY FILE TO INCLUDE IN APPLICATION SOURCE ***/
-/*** (DATA TYPES, CONSTANTS AND HEADERS) ***/
-/*** ***/
-/*** part of the RSL system written by M.Gawrys J.Sienkiewicz ***/
-/*** ***/
-/*******************************************************************/
-/*******************************************************************/
+/****************************************************************************
+ *
+ * MODULE: r.roughset
+ * AUTHOR(S): GRASS module authors ad Rough Set Library (RSL) maintain:
+ * G.Massei (g_massa at libero.it)-A.Boggia (boggia at unipg.it)
+ * Rough Set Library (RSL) ver. 2 original develop:
+ * M.Gawrys - J.Sienkiewicz
+ *
+ * PURPOSE: Geographics rough set analisys and knowledge discovery
+ *
+ * COPYRIGHT: (C) GRASS Development Team (2008)
+ *
+ * This program is free software under the GNU General Public
+ * License (>=v2). Read the file COPYING that comes with GRASS
+ * for details.
+ *
+ *****************************************************************************/
+/*** ***/
+/*** OBLIGATORY FILE TO INCLUDE IN APPLICATION SOURCE ***/
+/*** (DATA TYPES, CONSTANTS AND HEADERS) ***/
+/*** ***/
+/*** part of the RSL system written by M.Gawrys J.Sienkiewicz ***/
+/*** ***/
+/*****************************************************************************/
-/********************* CONSTANTS AND TYPES *************************/
+/********************* CONSTANTS AND TYPES ***********************************/
#define MATA 0
#define MATD 1
Modified: grass-addons/raster/mcda/r.roughset/rset.c
===================================================================
--- grass-addons/raster/mcda/r.roughset/rset.c 2008-10-11 21:45:50 UTC (rev 33824)
+++ grass-addons/raster/mcda/r.roughset/rset.c 2008-10-11 21:54:03 UTC (rev 33825)
@@ -1,13 +1,28 @@
-/*******************************************************************/
-/*******************************************************************/
-/*** ***/
-/*** OPERATIONS ON SETS OF ATTRIBUTES AND OBJECTS ***/
-/*** ***/
-/*** part of the RSL system written by M.Gawrys J. Sienkiewicz ***/
-/*** ***/
-/*******************************************************************/
-/*******************************************************************/
+/****************************************************************************
+ *
+ * MODULE: r.roughset
+ * AUTHOR(S): GRASS module authors ad Rough Set Library (RSL) maintain:
+ * G.Massei (g_massa at libero.it)-A.Boggia (boggia at unipg.it)
+ * Rough Set Library (RSL) ver. 2 original develop:
+ * M.Gawrys - J.Sienkiewicz
+ *
+ * PURPOSE: Geographics rough set analisys and knowledge discovery
+ *
+ * COPYRIGHT: (C) GRASS Development Team (2008)
+ *
+ * This program is free software under the GNU General Public
+ * License (>=v2). Read the file COPYING that comes with GRASS
+ * for details.
+ *
+ *****************************************************************************/
+/*** ***/
+/*** OPERATIONS ON SETS OF ATTRIBUTES AND OBJECTS ***/
+/*** ***/
+/*** part of the RSL system written by M.Gawrys J. Sienkiewicz ***/
+/*** ***/
+/*****************************************************************************/
+
#include "rough.h"
#include <stdlib.h>
Modified: grass-addons/raster/mcda/r.roughset/rset.h
===================================================================
--- grass-addons/raster/mcda/r.roughset/rset.h 2008-10-11 21:45:50 UTC (rev 33824)
+++ grass-addons/raster/mcda/r.roughset/rset.h 2008-10-11 21:54:03 UTC (rev 33825)
@@ -1,13 +1,28 @@
-/*******************************************************************/
-/*******************************************************************/
-/*** ***/
-/*** OPERATIONS ON SETS OF ATTRIBUTES AND OBJECTS ***/
-/*** ***/
-/*** part of the RSL system written by M.Gawrys J. Sienkiewicz ***/
-/*** ***/
-/*******************************************************************/
-/*******************************************************************/
+/****************************************************************************
+ *
+ * MODULE: r.roughset
+ * AUTHOR(S): GRASS module authors ad Rough Set Library (RSL) maintain:
+ * G.Massei (g_massa at libero.it)-A.Boggia (boggia at unipg.it)
+ * Rough Set Library (RSL) ver. 2 original develop:
+ * M.Gawrys - J.Sienkiewicz
+ *
+ * PURPOSE: Geographics rough set analisys and knowledge discovery
+ *
+ * COPYRIGHT: (C) GRASS Development Team (2008)
+ *
+ * This program is free software under the GNU General Public
+ * License (>=v2). Read the file COPYING that comes with GRASS
+ * for details.
+ *
+ *****************************************************************************/
+/*** ***/
+/*** OPERATIONS ON SETS OF ATTRIBUTES AND OBJECTS ***/
+/*** ***/
+/*** part of the RSL system written by M.Gawrys J. Sienkiewicz ***/
+/*** ***/
+/*****************************************************************************/
+
#include <stdarg.h>
extern cluster_type _mask[];
Modified: grass-addons/raster/mcda/r.roughset/rsystem.c
===================================================================
--- grass-addons/raster/mcda/r.roughset/rsystem.c 2008-10-11 21:45:50 UTC (rev 33824)
+++ grass-addons/raster/mcda/r.roughset/rsystem.c 2008-10-11 21:54:03 UTC (rev 33825)
@@ -1,12 +1,26 @@
-/*******************************************************************/
-/*******************************************************************/
-/*** ***/
-/*** SYSTEM HANDLING FUNCTIONS ***/
-/*** ***/
-/*** part of the RSL system written by M.Gawrys J.Sienkiewicz ***/
-/*** ***/
-/*******************************************************************/
-/*******************************************************************/
+/****************************************************************************
+ *
+ * MODULE: r.roughset
+ * AUTHOR(S): GRASS module authors ad Rough Set Library (RSL) maintain:
+ * G.Massei (g_massa at libero.it)-A.Boggia (boggia at unipg.it)
+ * Rough Set Library (RSL) ver. 2 original develop:
+ * M.Gawrys - J.Sienkiewicz
+ *
+ * PURPOSE: Geographics rough set analisys and knowledge discovery
+ *
+ * COPYRIGHT: (C) GRASS Development Team (2008)
+ *
+ * This program is free software under the GNU General Public
+ * License (>=v2). Read the file COPYING that comes with GRASS
+ * for details.
+ *
+ *****************************************************************************/
+/*** ***/
+/*** SYSTEM HANDLING FUNCTIONS ***/
+/*** ***/
+/*** part of the RSL system written by M.Gawrys J.Sienkiewicz ***/
+/*** ***/
+/*****************************************************************************/
#include <stdlib.h>
#include <string.h>
Modified: grass-addons/raster/mcda/r.roughset/rsystem.h
===================================================================
--- grass-addons/raster/mcda/r.roughset/rsystem.h 2008-10-11 21:45:50 UTC (rev 33824)
+++ grass-addons/raster/mcda/r.roughset/rsystem.h 2008-10-11 21:54:03 UTC (rev 33825)
@@ -1,12 +1,26 @@
-/*******************************************************************/
-/*******************************************************************/
-/*** ***/
-/*** SYSTEM HANDLING FUNCTIONS ***/
-/*** ***/
-/*** part of the RSL system written by M.Gawrys J.Sienkiewicz ***/
-/*** ***/
-/*******************************************************************/
-/*******************************************************************/
+/****************************************************************************
+ *
+ * MODULE: r.roughset
+ * AUTHOR(S): GRASS module authors ad Rough Set Library (RSL) maintain:
+ * G.Massei (g_massa at libero.it)-A.Boggia (boggia at unipg.it)
+ * Rough Set Library (RSL) ver. 2 original develop:
+ * M.Gawrys - J.Sienkiewicz
+ *
+ * PURPOSE: Geographics rough set analisys and knowledge discovery
+ *
+ * COPYRIGHT: (C) GRASS Development Team (2008)
+ *
+ * This program is free software under the GNU General Public
+ * License (>=v2). Read the file COPYING that comes with GRASS
+ * for details.
+ *
+ *****************************************************************************/
+/*** ***/
+/*** SYSTEM HANDLING FUNCTIONS ***/
+/*** ***/
+/*** part of the RSL system written by M.Gawrys J.Sienkiewicz ***/
+/*** ***/
+/*****************************************************************************/
#include <stdio.h>
Modified: grass-addons/raster/mcda/r.roughset/rule1.c
===================================================================
--- grass-addons/raster/mcda/r.roughset/rule1.c 2008-10-11 21:45:50 UTC (rev 33824)
+++ grass-addons/raster/mcda/r.roughset/rule1.c 2008-10-11 21:54:03 UTC (rev 33825)
@@ -1,13 +1,28 @@
-/*******************************************************************/
-/*******************************************************************/
-/*** ***/
-/*** SOME MORE QUERIES FOR SYSTEM ***/
-/*** ( MENAGING RULES ) ***/
-/*** ***/
-/*** part of the ROUGH system written by M.Gawrys J.Sienkiewicz ***/
-/*** ***/
-/*******************************************************************/
-/*******************************************************************/
+/****************************************************************************
+ *
+ * MODULE: r.roughset
+ * AUTHOR(S): GRASS module authors ad Rough Set Library (RSL) maintain:
+ * G.Massei (g_massa at libero.it)-A.Boggia (boggia at unipg.it)
+ * Rough Set Library (RSL) ver. 2 original develop:
+ * M.Gawrys - J.Sienkiewicz
+ *
+ * PURPOSE: Geographics rough set analisys and knowledge discovery
+ *
+ * COPYRIGHT: (C) GRASS Development Team (2008)
+ *
+ * This program is free software under the GNU General Public
+ * License (>=v2). Read the file COPYING that comes with GRASS
+ * for details.
+ *
+ *****************************************************************************/
+/*** ***/
+/*** SOME MORE QUERIES FOR SYSTEM ***/
+/*** ( MENAGING RULES ) ***/
+/*** ***/
+/*** part of the ROUGH system written by M.Gawrys J.Sienkiewicz ***/
+/*** ***/
+/*****************************************************************************/
+
#include <stdlib.h>
#include <string.h>
Modified: grass-addons/raster/mcda/r.roughset/rule1.h
===================================================================
--- grass-addons/raster/mcda/r.roughset/rule1.h 2008-10-11 21:45:50 UTC (rev 33824)
+++ grass-addons/raster/mcda/r.roughset/rule1.h 2008-10-11 21:54:03 UTC (rev 33825)
@@ -1,14 +1,29 @@
-/*******************************************************************/
-/*******************************************************************/
-/*** ***/
-/*** SOME MORE QUERIES FOR SYSTEM ***/
-/*** ( MENAGING RULES ) ***/
-/*** ***/
-/*** part of the RSL system written by M.Gawrys J.Sienkiewicz ***/
-/*** ***/
-/*******************************************************************/
-/*******************************************************************/
+/****************************************************************************
+ *
+ * MODULE: r.roughset
+ * AUTHOR(S): GRASS module authors ad Rough Set Library (RSL) maintain:
+ * G.Massei (g_massa at libero.it)-A.Boggia (boggia at unipg.it)
+ * Rough Set Library (RSL) ver. 2 original develop:
+ * M.Gawrys - J.Sienkiewicz
+ *
+ * PURPOSE: Geographics rough set analisys and knowledge discovery
+ *
+ * COPYRIGHT: (C) GRASS Development Team (2008)
+ *
+ * This program is free software under the GNU General Public
+ * License (>=v2). Read the file COPYING that comes with GRASS
+ * for details.
+ *
+ *****************************************************************************/
+/*** ***/
+/*** SOME MORE QUERIES FOR SYSTEM ***/
+/*** ( MENAGING RULES ) ***/
+/*** ***/
+/*** part of the RSL system written by M.Gawrys J.Sienkiewicz ***/
+/*** ***/
+/*****************************************************************************/
+
#define MINUS ((value_type)-1)
void RuleCopy( value_type *dest,value_type *source);
Modified: grass-addons/raster/mcda/r.roughset/rule2.c
===================================================================
--- grass-addons/raster/mcda/r.roughset/rule2.c 2008-10-11 21:45:50 UTC (rev 33824)
+++ grass-addons/raster/mcda/r.roughset/rule2.c 2008-10-11 21:54:03 UTC (rev 33825)
@@ -1,14 +1,29 @@
-/*******************************************************************/
-/*******************************************************************/
-/*** ***/
-/*** SOME MORE QUERIES FOR SYSTEM ***/
-/*** ( FINDING RULES ) ***/
-/*** ***/
-/*** part of the RSL system written by M.Gawrys J.Sienkiewicz ***/
-/*** ***/
-/*******************************************************************/
-/*******************************************************************/
+/****************************************************************************
+ *
+ * MODULE: r.roughset
+ * AUTHOR(S): GRASS module authors ad Rough Set Library (RSL) maintain:
+ * G.Massei (g_massa at libero.it)-A.Boggia (boggia at unipg.it)
+ * Rough Set Library (RSL) ver. 2 original develop:
+ * M.Gawrys - J.Sienkiewicz
+ *
+ * PURPOSE: Geographics rough set analisys and knowledge discovery
+ *
+ * COPYRIGHT: (C) GRASS Development Team (2008)
+ *
+ * This program is free software under the GNU General Public
+ * License (>=v2). Read the file COPYING that comes with GRASS
+ * for details.
+ *
+ *****************************************************************************/
+/*** ***/
+/*** SOME MORE QUERIES FOR SYSTEM ***/
+/*** ( FINDING RULES ) ***/
+/*** ***/
+/*** part of the RSL system written by M.Gawrys J.Sienkiewicz ***/
+/*** ***/
+/*****************************************************************************/
+
#include "rough.h"
#include <stdlib.h>
#include <string.h>
Modified: grass-addons/raster/mcda/r.roughset/rule2.h
===================================================================
--- grass-addons/raster/mcda/r.roughset/rule2.h 2008-10-11 21:45:50 UTC (rev 33824)
+++ grass-addons/raster/mcda/r.roughset/rule2.h 2008-10-11 21:54:03 UTC (rev 33825)
@@ -1,13 +1,27 @@
-/*******************************************************************/
-/*******************************************************************/
-/*** ***/
-/*** SOME MORE QUERIES FOR SYSTEM ***/
-/*** ( FINDING RULES ) ***/
-/*** ***/
-/*** part of the RSL system written by M.Gawrys J.Sienkiewicz ***/
-/*** ***/
-/*******************************************************************/
-/*******************************************************************/
+/****************************************************************************
+ *
+ * MODULE: r.roughset
+ * AUTHOR(S): GRASS module authors ad Rough Set Library (RSL) maintain:
+ * G.Massei (g_massa at libero.it)-A.Boggia (boggia at unipg.it)
+ * Rough Set Library (RSL) ver. 2 original develop:
+ * M.Gawrys - J.Sienkiewicz
+ *
+ * PURPOSE: Geographics rough set analisys and knowledge discovery
+ *
+ * COPYRIGHT: (C) GRASS Development Team (2008)
+ *
+ * This program is free software under the GNU General Public
+ * License (>=v2). Read the file COPYING that comes with GRASS
+ * for details.
+ *
+ *****************************************************************************/
+/*** ***/
+/*** SOME MORE QUERIES FOR SYSTEM ***/
+/*** ( FINDING RULES ) ***/
+/*** ***/
+/*** part of the RSL system written by M.Gawrys J.Sienkiewicz ***/
+/*** ***/
+/*****************************************************************************/
#define BESTOPT 0
#define FASTOPT 1
More information about the grass-commit
mailing list