3.1. Cosine Similarity Measure for q-ROFSs
Suppose that
is a q-rung orthopair fuzzy set (q-ROFS) in a universe of discourse
, the elements contained in q-ROFS can be expressed as the function of membership degree
, the function of non-membership degree
, and the function of indeterminacy membership degree
. Thus, a cosine similarity measure and a weighted cosine similarity measure with q-rung orthopair fuzzy information are presented in an analogous manner to the cosine similarity measure based on Bhattacharya’s distance and cosine similarity measure for intuitionistic fuzzy set (IFS) [
13].
Let
and
be two q-rung orthopair fuzzy sets (q-ROFSs), then the q-rung orthopair fuzzy cosine (
q-ROFC) measure between
and
can be shown as
Especially, when we let , the cosine similarity measure between q-ROFSs and can be depicted as , which will become the correlation coefficient between and , which is depicted as , i.e., . In addition, the cosine similarity measure between q-ROFSs and also satisfies some properties as follows.
- (1)
;
- (2)
;
- (3)
.
Proof. - (1)
It is clear that the proposition is true based on the cosine result.
- (2)
It is clear that the proposition is true.
- (3)
When , it means that and for . So .
Therefore, we have finished the proofs. □
In what follows, we shall study the distance measure of the angle as . It satisfies some properties as follows.
- (1)
, if ;
- (2)
, if ;
- (3)
, if ,
- (4)
, if for any q-ROFS .
Proof. Clearly the distance measure satisfies properties (1)–(3). In what follows we shall prove that the distance measure satisfies property (4).
For any q-rung orthopair fuzzy set (q-ROFS)
,
, let us investigate the distance measures of the angle between the vectors:
where
are three vectors in one plane, if , . Therefore, it is clear that based on the triangle inequality. Combining the inequality , we can get . Therefore meets the property (4). So we completed the process of proof. □
If we consider three terms—membership degree, non-membership degree, and indeterminacy membership—which are contained in q-ROFSs, assume that there are two q-rung orthopair fuzzy sets,
and
, then the q-rung orthopair fuzzy cosine (
q-ROFC) measures between q-ROFSs can be expressed as
Especially when we let , the cosine similarity measure between q-ROFSs and will become the correlation coefficient between q-rung orthopair fuzzy sets (q-ROFSs) and Of course, the cosine similarity measure also satisfies some properties which are listed as follows.
- (1)
;
- (2)
;
- (3)
.
Consider the weighting vector of the elements in q-ROFS, the q-rung orthopair fuzzy weighted cosine (q-ROFWC) measure between two q-rung orthopair fuzzy sets (q-ROFSs)
and
can be shown as follows.
where
indicates the weighting vector of the elements
contained in q-ROFS and the weighting vector satisfies
,
,
. Especially, when we let weighting vector be
, then the weighted cosine similarity measure will reduce to cosine similarity measure. In other words, when
, the
.
Example 1. Suppose there are two q-ROFSs and , assume then according to Equation (19), the weighted cosine similarity measure between and can be calculated as Example 2. Suppose there are two q-ROFSs and , assume then according to Equation (3) and Equation (20), the weighted cosine similarity measure between and can be calculated as Evidently, similar to cosine similarity measure , the weighted cosine similarity measure also meets three properties as follows.
- (1)
,
- (2)
,
- (3)
.
3.2. Similarity Measures of q-ROFSs Based on Cosine Function
In this section, according to the cosine function, we will present some q-rung orthopair fuzzy cosine similarity measures (q-ROFCS) between q-ROFSs and discuss their properties.
Definition 7. Assume that there are any two q-rung orthopair fuzzy sets (q-ROFSs) and
. Then, we shall propose two q-rung orthopair fuzzy cosine similarity (q-ROFCS) measures between q-ROFSs and as follows Proposition 1. Assume that there are any two q-rung orthopair fuzzy sets (q-ROFSs)andin, the q-rung orthopair fuzzy cosine similarity measuresshould satisfy the properties (1)–(4):
- (1)
;
- (2)
if and only if;
- (3)
;
- (4)
Letbe three q-ROFSs inand, then.
Proof. (1) Since the calculated results based on the cosine function are within [0, 1], the q-rung orthopair fuzzy cosine similarity measures based on the cosine function are also within [0, 1]. Thus .
(2) For two q-rung orthopair fuzzy sets (q-ROFSs) and in , if , then Thus, , . So, . If it implies Since Then, there are Hence .
(3) Proof is straightforward.
(4) If
, that means
,
, for
. Then
,
. Thus, we have
Thus as the cosine function is a decreasing function with the interval . Then, we finished the process of proofs. □
If we consider three terms including membership degree, non-membership degree, and indeterminacy membership, which are contained in q-ROFSs, assume that there are two q-rung orthopair fuzzy sets
and
, then the q-rung orthopair fuzzy cosine similarity (q-ROFCS) measures between
and
can be expressed as
where
means the q-rung orthopair fuzzy cosine similarity measures between
and
, which consider the maximum distance based on the membership, indeterminacy membership, and non-membership degree.
where
means the q-rung orthopair fuzzy cosine similarity measures between
and
, which consider the sum of distance based on the membership, indeterminacy membership, and non-membership degree.
Consider the weighting vector of the elements in q-ROFS, the q-rung orthopair fuzzy weighted cosine similarity (q-ROFWCS) measure between two q-rung orthopair fuzzy sets (q-ROFSs)
and
can be shown as follows.
where
means the q-rung orthopair fuzzy weighted cosine similarity measures between
and
, which consider the maximum distance based on the membership and non-membership degree.
where
means the q-rung orthopair fuzzy weighted cosine similarity measures between
and
, which consider the sum of distance based on the membership and non-membership degree.
where
means the q-rung orthopair fuzzy weighted cosine similarity measures between
and
, which consider the maximum distance based on the membership, indeterminacy membership, and non-membership degree.
where
means the q-rung orthopair fuzzy weighted cosine similarity measures between
and
, which consider the sum of distance based on the membership, indeterminacy membership, and non-membership degree.
where indicates the weighting vector of the elements contained in q-ROFS, and the weighting vector satisfies , , . Especially, when we let weighting vector be , then the weighted cosine similarity measure will reduce to cosine similarity measure. In other words, when , the .
Example 3. Suppose there are two q-ROFSs,and, assume, then according to Equation (25), the weighted cosine similarity measure between and can be calculated as Evidently, similar to cosine similarity measure , the weighted cosine similarity measure also meets some properties as follows.
Proposition 2. Assume that there are any two q-rung orthopair fuzzy sets (q-ROFSs)andin, the q-rung orthopair fuzzy weighted cosine similarity measuresshould satisfy the properties (1)–(4):
- (1)
;
- (2)
if and only if;
- (3)
;
- (4)
Ifis a q-ROFS inand, then.
The proof is similar to Proposition 1, so it is omitted here.
3.3. Similarity Measures of q-ROFSs Based on Cotangent Function
In this section, according to the cotangent function, we will present some q-rung orthopair fuzzy cotangent similarity measures (q-ROFCot) between q-ROFSs and discuss their properties.
Definition 8. Assume that there are any two q-rung orthopair fuzzy sets (q-ROFSs)and. Then, we shall propose two q-rung orthopair fuzzy cotangent (q-ROFCot) measures between q-ROFSsand as follows
where means the q-rung orthopair fuzzy cotangent similarity measures between and , which consider the maximum distance based on the membership and non-membership degree.where means the q-rung orthopair fuzzy cotangent similarity measures between and , which consider the sum of distance based on the membership and non-membership degree. If we consider three terms—membership degree, non-membership degree and indeterminacy membership—which are contained in q-ROFSs, assume that there are two q-rung orthopair fuzzy sets
and
, then the q-rung orthopair fuzzy cotangent (q-ROFCot) similarity measures between
and
can be expressed as
where
means the q-rung orthopair fuzzy cotangent similarity measures between
and
, which consider the maximum distance based on the membership, indeterminacy membership, and non-membership degree.
where
means the q-rung orthopair fuzzy cotangent similarity measures between
and
, which consider the sum of distance based on the membership, indeterminacy membership, and non-membership degree.
Consider the weighting vector of the elements in q-ROFS, the q-rung orthopair fuzzy weighted cotangent (q-ROFWCot) similarity measure between two q-rung orthopair fuzzy sets (q-ROFSs)
and
can be shown as follows.
where
means the q-rung orthopair fuzzy weighted cotangent similarity measures between
and
, which consider the maximum distance based on the membership and non-membership degree.
where
means the q-rung orthopair fuzzy weighted cotangent similarity measures between
and
, which consider the sum of distance based on the membership and non-membership degree.
where
means the q-rung orthopair fuzzy weighted cotangent similarity measures between
and
, which consider the maximum distance based on the membership, indeterminacy membership and non-membership degree.
where
means the q-rung orthopair fuzzy weighted cotangent similarity measures between
and
, which consider the sum of distance based on the membership, indeterminacy membership and non-membership degree.
Where indicates the weighting vector of the elements contained in q-ROFS and the weighting vector satisfies , , . Especially, when we let weighting vector be , then the weighted cotangent similarity measure will reduce to cotangent similarity measure. In other words, when , the .
Example 4. Suppose there are two q-ROFSsand, assume, then according to Equation (33), the weighted cotangent similarity measure between and can be calculated as