r.mcda.input
Generates a raster map classified with Dominance Rough Set Approach. Use *.rls file from JAMM, 4eMka2 etc.
r.mcda.input [-kjl] input=string output=string [--verbose] [--quiet] [--qq] [--ui]
Example:
r.mcda.input input=string output=string
grass.script.run_command("r.mcda.input", input, output, flags=None, verbose=None, quiet=None, superquiet=None)
Example:
gs.run_command("r.mcda.input", input="string", output="string")
grass.tools.Tools.r_mcda_input(input, output, flags=None, verbose=None, quiet=None, superquiet=None)
Example:
tools = Tools()
tools.r_mcda_input(input="string", output="string")
This grass.tools API is experimental in version 8.5 and expected to be stable in version 8.6.
Parameters
input=string [required]
File name with rules (*.rls)
output=string [required]
output classified raster map
-k
file *.rls from software 4eMka2
-j
file *.rls from software jMAF (NOT YET IMPLEMENTED)
-l
do not remove single rules in vector format
--help
Print usage summary
--verbose
Verbose module output
--quiet
Quiet module output
--qq
Very quiet module output
--ui
Force launching GUI dialog
input : str, required
File name with rules (*.rls)
Used as: input, input
output : str, required
output classified raster map
Used as: output
flags : str, optional
Allowed values: k, j, l
k
file *.rls from software 4eMka2
j
file *.rls from software jMAF (NOT YET IMPLEMENTED)
l
do not remove single rules in vector format
verbose : bool, optional
Verbose module output
Default: None
quiet : bool, optional
Quiet module output
Default: None
superquiet : bool, optional
Very quiet module output
Default: None
input : str | io.StringIO, required
File name with rules (*.rls)
Used as: input, input
output : str | type(np.ndarray) | type(np.array) | type(gs.array.array), required
output classified raster map
Used as: output
flags : str, optional
Allowed values: k, j, l
k
file *.rls from software 4eMka2
j
file *.rls from software jMAF (NOT YET IMPLEMENTED)
l
do not remove single rules in vector format
verbose : bool, optional
Verbose module output
Default: None
quiet : bool, optional
Quiet module output
Default: None
superquiet : bool, optional
Very quiet module output
Default: None
Returns:
result : grass.tools.support.ToolResult | np.ndarray | tuple[np.ndarray] | None
If the tool produces text as standard output, a ToolResult object will be returned. Otherwise, None
will be returned. If an array type (e.g., np.ndarray) is used for one of the raster outputs, the result will be an array and will have the shape corresponding to the computational region. If an array type is used for more than one raster output, the result will be a tuple of arrays.
DESCRIPTION
The r.mcda.input module will read a *rls file output from jMAF, JAMM or 4eMka2 sofware Laboratory of Intelligent Decision Support Systems - Poznan University. and returns maps of the rules
SEE ALSO
r.roughset, r.mcda.regime, r.mcda.fuzzy r.mcda.electre, r.mcda.ahp r.mcda.roughset r.mcda.input r.mcda.output
AUTHORS
Antonio Boggia - Gianluca Massei
Department of Economics and Appraisal - University of Perugia - Italy
SOURCE CODE
Available at: r.mcda.input source code
(history)
Latest change: Thursday Feb 20 20:36:19 2025 in commit 158e314