degree_mf: Define generic calculation of fuzzy membership degrees

Description Usage Arguments Value Examples

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

1
degree_mf(shape, input)

Arguments

shape

is the object (trapezoid_mf, triangle_mf and fuzzy_partitions) to dispatch to.

input

is the value to be assess.

Value

the membership degree for a given input values.

Examples

1
2
3
4
5
6
7
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)

rLDCP documentation built on May 2, 2019, 2:30 a.m.

Related to degree_mf in rLDCP...