prm_triangle: PRM ranking of two triangular fuzzy numbers
Description
Convenience wrapper around prm_polygon for triangular
fuzzy numbers, specified by their three defining points
\((a, b, c)\) with \(a \le b \le c\): membership rises linearly from
0 at a to 1 at b, then falls linearly back to 0 at
c.
Usage
prm_triangle(v1, v2, eps = 1e-06)
Value
See prm_polygon.
Arguments
v1, v2
Numeric vectors of length 3, c(a, b, c), giving the
left, peak and right points of each triangular fuzzy number. Named
v1/v2 for consistency with prm_polygon
and prm_trapezoid: argument 1 always describes
\(\tilde x_1\), argument 2 always describes \(\tilde x_2\).
eps
Passed to prm_polygon; only matters when
v1 or v2 is crisp (a == b == c).