degree_mf {rLDCP} | R Documentation |
Define generic calculation of fuzzy membership degrees
Description
It is a generic function in charge of computing fuzzy membership degrees. Namely, it identifies the specific
membership function to consider and run the related method for computing the membership degree for a given
input value. It takes as input an object (trapezoid_mf
, triangle_mf
and fuzzy_partitions
) and the related input values
Usage
degree_mf(shape, input)
Arguments
shape |
is the object ( |
input |
is the value to be assess. |
Value
the membership degree for a given input values.
Examples
w <- degree_mf(triangle_mf(450,450,550),450)
w <- degree_mf(fuzzy_partitions(triangle_mf(450,450,550),
triangle_mf(450,550,600),
trapezoid_mf(550,600,800,1000),
triangle_mf(800,1000,1300),
trapezoid_mf(1000,1300,1500,1500)),450)
[Package rLDCP version 1.0.2 Index]