Next Article in Journal
Triple-Stream Deep Feature Selection with Metaheuristic Optimization and Machine Learning for Multi-Stage Hypertensive Retinopathy Diagnosis
Previous Article in Journal
Identification of Key Performance Indicators for T20—A Novel Hybrid Analytical Approach
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Fast Algorithm for Three-Way Object-Oriented Concept Acquisition

1
School of Computer and Artificial Intelligence, Zhengzhou University, No. 100 Science Avenue, Zhengzhou 450001, China
2
School of Information Engineering, Zhoukou Vocational College of Arts And Sciences, No. 5 Zhoukou Road, Zhoukou 466001, China
*
Author to whom correspondence should be addressed.
Appl. Sci. 2025, 15(12), 6486; https://doi.org/10.3390/app15126486
Submission received: 10 May 2025 / Revised: 1 June 2025 / Accepted: 5 June 2025 / Published: 9 June 2025
(This article belongs to the Topic Soft Computing and Machine Learning)

Abstract

Three-way rules can be extracted from three-way object-oriented concepts, which describe the necessary attributes of object sets based on the formal context as well as the necessary attributes not possessed by them based on the complement formal context. Thus, acquiring these three-way object-oriented concepts is important but difficult because of computing’s high time complexity. This study proposes a novel algorithm, called 3 W O C , which can be used to directly and quickly acquire all three-way object-oriented concepts from a given formal context ( U , V , R ) . Moreover, it has a time complexity of O ( ( | U | + 2 | V | ) × | O E O L ( U , V , R ) | 2 ) . We theoretically and experimentally proved the completeness of the generated concepts. Moreover, the results of comparative experiments showed that it outperforms the QM algorithm on a variety of datasets.

1. Introduction

The theory of formal concept analysis (FCA), proposed by Rudolf Wille in 1982 [1,2], describes entities or abstract concepts in a formal manner and establishes their corresponding hierarchical structures. Regarding the core data structures and tools for formal concept analysis in the context of data analysis and processing, the concept lattice has been widely used in many fields. Many studies have extensively explored the diversity of knowledge representation and reasoning based on the theory of the concept lattice [3]. Examples include knowledge exploration [4,5,6], concept learning [7,8,9,10,11], data extraction [12], and path planning [13].
Significant progress has been made in research on the formal concept lattice and its extended structure in recent years. Rough set (RS) theory is a useful mathematical tool that was proposed by Pawlak [14]. Given that FCA and the RS are highly complementary, it is useful to combine them for knowledge discovery. Duntsch and Gediga [15] defined model-style operators based on a binary relation. Inspired by this, Yao [16,17] proposed the object-oriented concept lattice based on necessary and possible operators. A number of studies on the subject have been published following the proposal of the three-way decision [18]. Three-way concept analysis is the product of combining the three-way decision with FCA [19,20]. The three-way concept lattice is the minimal closure system that contains both the concept lattice and complementary concept lattice [21]; thus, it can describe more information. Wei et al. [22] extended the three-way concept lattice to the three-way object-oriented concept lattice. They described the necessary attributes of object sets based on the formal context as well as the necessary attributes not possessed by them based on the complement formal context. Thus, the three-way object-oriented concept contains both positive and negative parts. However, in contrast to the three-way concept, these two parts can be used to simultaneously describe the attributes that are necessarily possessed and not possessed by the object sets. Moreover, three-way rules can be extracted from these concepts [23,24,25].
In addition, most applications based on FCA require first acquiring a concept lattice or its extended structure. Obtaining all the relevant concepts is important but difficult because of their high time complexity. Many studies have been devoted to acquiring object-oriented concept lattices and three-way concept lattices. Wang et al. [26] proposed a method to construct object-oriented concept lattices based on approximation operators. Ma et al. [27] put forward an approach to acquire all object-oriented concepts based on layered extent sets. She et al. [28] presented a theoretical study on object-oriented concept lattices and property-oriented concept lattices in multi-scale formal contexts. Shao et al. [29] proposed the zoom algorithm, which is composed of the zoom-in and zoom-out algorithms. It can be used to transform object-oriented concept lattices with different combinations of attribute granularity. Qian et al. [30,31,32] proposed a method for generating three-way object-oriented concepts. It first generates the apposition of a given formal context and its complementary context, and then applies an algorithm of constructing the object-oriented concepts to obtain all three-way object-oriented concepts based on the isomorphic relationship between the object-oriented concept lattice and the three-way object-oriented concept lattice. Long et al. [33] and Hu et al. [34] developed a method to update attribute-induced and object-induced three-way concepts, respectively. Hao et al. [35] proposed a method to incrementally construct the three-way concept lattice.
However, to the best of our knowledge, little effort has been dedicated in research for three-way object-oriented concept acquisition. Inspired by past work in the field [26,30,31,32], this study develops an algorithm that can completely and directly acquire all three-way object-oriented concepts from a given formal context ( U , V , R ) . We call it the 3 W O C algorithm. It is a structured algorithm with a time complexity of O ( ( | U | + 2 | V | ) × | O E O L ( U , V , R ) | 2 ) . It not only avoids traversing the power set of the attribute set V but also uses bitwise operations on hash values instead of union operations on object sets to enhance the efficiency of acquisition. The results of comparative experiments demonstrated that it can be used to acquire all three-way object-oriented concepts more quickly than the prevalent algorithm in the field on various datasets. Our work can serve as a basic algorithm for three-way rule acquisition from three-way object-oriented concepts.
The remainder of this paper is organized as follows: Section 2 reviews some basic notions that are relevant to three-way object-oriented concept lattices. To clearly and accurately illustrate concept acquisition process of the 3 W O C algorithm, we provide its theoretical foundation in Section 3. Section 4 presents the pseudo-code of the 3 W O C algorithm and analyses its time complexity, while Section 5 provides its experimental verification. Finally, Section 6 summarizes our contributions and future research in the area.

2. Preliminaries

In this section, we briefly review some basic notions and relevant properties of three-way object-oriented concepts in order to clearly describe the acquisition process of these concepts in next section.
Definition 1 
(Formal context [1,2]). A formal context ( U , V , R ) consists of two sets U and V and a relation R between U and V. The elements of set U are called objects, while those of set V are called attributes of the context. For x U and y V , ( x , y ) R can be written as x R y , which means that object x has attribute y, or that attribute y belongs to object x.
For a formal context ( U , V , R ) , let R c = ( U × V ) R . ( U , V , R c ) is then the complement context of ( U , V , R ) . For x U and y V , if ( x , y ) R c , this can be written as x R c y . This means that object x does not possess attribute y, or that attribute y does not belong to object x.
For any X U and any Y V on a formal context ( U , V , R ) , Wille and Ganter also defined two operators, f and g [1,2]:
f ( X ) = { y V | x X , x R y }
g ( Y ) = { x U | y Y , x R y }
The f and g operators are also called positive operators, while the two corresponding operators, f ¯ and g ¯ , on the complement context ( U , V , R c ) are called negative operators in three-way concept analysis [19]. The f ¯ and g ¯ operators are defined as follows:
f ¯ ( X ) = { y V | x X , x R c y }
g ¯ ( Y ) = { x U | y Y , x R c y }
Example 1. 
Table 1 shows a formal context ( U 1 , V 1 , R 1 ) , while Table 2 shows the complement context ( U 1 , V 1 , R 1 c ) . U 1 = { 1 , 2 , 3 , 4 , 5 } is the object set, and V 1 = { a , b , c , d , e } is the attribute set. Each row represents an object and each column represents an attribute.
Usually, □ is called the necessity operator and ⋄ the possibility operator. For a formal context ( U , V , R ) , X U and Y V , X is the set consisting of all necessary attributes of X, while Y is the object set that possesses at least one attribute in Y. They are defined as follows [16,17]:
X = { y V | x U ( x R y x X ) } = { y V | R y X }
Y = { x U | y V ( x R y y Y ) } = { x U | x R Y } = y Y R y = R Y
Furthermore, □ and ⋄ have the following properties [16,17]:
X 1 X 2 X 1 X 2
A 1 A 2 A 1 A 2
X X , A A
X = X , A = A
( X 1 X 2 ) = X 1 X 2 , ( A 1 A 2 ) = A 1 A 2
For the complement context ( U , V , R c ) , operators □ and ⋄ are called negative approximation operators as a pair. To refer to them explicitly, they are denoted by ¯ and ¯ , respectively. ¯ and ¯ have the same properties as □ and ⋄; thus, we do not list them here again. By combining the operators □, ⋄, ¯ , and ¯ , a pair of object-induced three-way object-oriented operators (OEO operators), “⊳:” P ( U ) DP ( V ) and “⊲:” DP ( V ) P ( U ) , can be defined as follows [22,30]:
X = ( X , X ¯ )
( Y , Z ) = Y Z ¯
where X U and Y , Z V . If and only if X = ( Y , Z ) and X = ( Y , Z ) , the pair ( X , ( Y , Z ) ) is called an object-induced three-way object-oriented concept, i.e., an OEO-concept [22,30]. X and ( Y , Z ) are called the extent and the intent of the OEO-concept ( X , ( Y , Z ) ) , respectively. The set of all OEO-concepts of ( U , V , R ) is denoted by O E O L ( U , V , R ) . For any ( X , ( Y , Z ) ) and ( A , ( B , C ) ) O E O L ( U , V , R ) ,
( X , ( Y , Z ) ) ( A , ( B , C ) ) X A ( Y , Z ) ( B , C )
The relation ≤ defined above is a partial-order relation on O E O L ( U , V , R ) [22,30]. For any ( X 1 , ( Y 1 , Z 1 ) ) , ( X 2 , ( Y 2 , Z 2 ) ) O E O L ( U , V , R ) ,
( X 1 , ( Y 1 , Z 1 ) ) ( X 2 , ( Y 2 , Z 2 ) ) = ( ( X 1 X 2 ) , ( Y 1 , Z 1 ) ( Y 2 , Z 2 ) )
( X 1 , ( Y 1 , Z 1 ) ) ( X 2 , ( Y 2 , Z 2 ) ) = ( X 1 X 2 , ( ( Y 1 , Z 1 ) ( Y 2 , Z 2 ) ) )
Thus, ( O E O L ( U , V , R ) , ) forms a complete lattice, which is called the three-way object-oriented concept lattice.

3. Theoretical Foundation

In this section, we describe the theoretical principles of the 3 W O C algorithm to acquire all three-way object-oriented concepts, i.e., OEO-concepts, from a given formal context ( U , V , R ) . The related definitions and propositions are as follows.
Definition 2 
(Single-attribute concept). For a formal context ( U , V , R ) , a pair ( X i , a i ) , with X i U , a i V and g ( a i ) = X i , is called a single-attribute concept. Similarly, for the complement context ( U , V , R c ) , a pair ( X h , a h ) , with X h U , a h U and g ¯ ( a h ) = X h , is also called a single-attribute concept.
For the formal context ( U , V , R ) , the set of all single-attribute concepts is denoted by C s . Similarly, for the complement context ( U , V , R c ) , the set of all single-attribute concepts is denoted by C s c . Single-attribute concepts are directly obtained by mapping individual attributes to objects, with the operators g and g ¯ , i.e., Equations (2) and (4), in the formal context and the complement context, respectively. Therefore, these single-attribute concepts are not formal concepts. However, we can obtain OEO-concepts through single-attribute concepts. This procedure is defined by using the following λ function:
Definition 3 
(Function λ ). Given a formal context ( U , V , R ) , the λ function is a mapping C s C s c to O E O L ( U , V , R ) . The definition is as follows:
λ ( ( X , a i ) = ( X , ( Y , Z ) )
Y = a j , ( X j , a j ) C a , X j X
Z = a h , ( X h , a h ) C a c , X h X
where ( X , a i ) C s C s c .
In order to prove that λ ( ( X , a i ) ) is an OEO-concept, Propositions 1 and 2 are presented separately.
Proposition 1. 
For a formal context ( U , V , R ) and its complement context ( U , V , R c ) , if X U , then ( X X ¯ ¯ , ( X , X ¯ ) ) is an OEO-concept.
Proof. 
According to the definition of the OEO-concept [22,30], we need to only prove that X U , ( X X ¯ ¯ ) = ( X , X ¯ ) .
First, we can obtain X ( X X ¯ ¯ ) . It follows from the property (Equation (7)) that X ( X X ¯ ¯ ) . Further, we can deduce from the property in Equation (10) that X ( X X ¯ ¯ ) . Second, we know from the property in Equation (9) that X X and X ¯ ¯ X . Consequently, we obtain ( X X ¯ ¯ ) X X . This implies ( X X ¯ ¯ ) X . Thus, we can conclude that ( X X ¯ ¯ ) = X .
Similarly, ( X X ¯ ¯ ) ¯ = X ¯ . Hence, based on the definition of the OEO concept, ( X X ¯ ¯ , ( X , X ¯ ) ) is an OEO-concept.    □
For any given object set X U , an OEO-concept can be obtained based on Proposition 1. It can subsequently be used in the proof of Proposition 2.
Proposition 2. 
For a formal context ( U , V , R ) and its complement context ( U , V , R c ) , any ( X , a i ) C s C s c , λ ( ( X , a i ) ) is an OEO-concept.
Proof. 
Based on the function λ (Definition 3), let λ ( ( X , a i ) ) = ( X , ( Y , Z ) ) . We need to prove that ( X , ( Y , Z ) ) satisfies such conditions that Y = X , Z = X ¯ and X = Y Z ¯ . According to Proposition 1, it is an OEO-concept.
(1)
First, we prove that Y = X . According to Definition 3, we can obtain Y = a j , where a j V , g ( a j ) X . Therefore, Y satisfies the definition of X in the formal context ( U , V , R ) , i.e., Equation (5). Thus, Y = X .
(2)
Second, we prove that Z = X ¯ . We know that Z = a h , where a h V , g ¯ ( a h ) X . Thus, Z = X ¯ satisfies the definition of X ¯ in the complement context ( U , V , R c ) . Hence, Z = X ¯ .
(3)
Finally, we prove X = Y X ¯ . Based on (1), (2), and the property in Equation (9), we obtain Y Z ¯ = X X ¯ ¯ X . Assuming that X X ¯ ¯ X , we have X X and X ¯ ¯ X . As ( X , a j ) C s , this means that g ( a j ) = X and a j X . Thus, we obtain X X . This leads to a contradiction with the assumption. Thus, we obtain X = Y Z ¯ .
Based on (1), (2) and (3), the proposition has been proven.    □
According to Proposition 2, we can obtain OEO-concepts with the function λ for a formal context ( U , V , R ) . Furthermore, these OEO-concepts that are derived by the function λ can be used to obtain the other remaining OEO-concepts by using the steps below. For convenience of expression, we provide the following definitions:
Definition 4 
(Basic OEO-concept). For a formal context ( U , V , R ) , the concept derived from λ ( ( X , a i ) ) , where X U and ( X , a i ) C s C s c , is called a basic OEO-concept. The set of all basic OEO-concepts is denoted by B O E O .
Definition 5 
(k-granularity OEO-concept). Given an OEO-concept c of a formal context ( U , V , R ) , if the cardinality of the extent of c is equal to k, i.e., | E x t ( c ) | = k, then the concept c is called a k-granularity OEO-concept, and it is denoted by c O E O k .
For a formal context ( U , V , R ) , the set of all k-granularity OEO-concepts is denoted by C O E O k , while the set of all k-granularity basic OEO-concepts is denoted by B O E O k . Moreover, all OEO-concepts can be categorized into C O E O 0 , C O E O 1 , , C O E O | U | by their k-granularity. Thus, we can get the following equation:
O E O L ( U , V , R ) = k = 0 | U | C O E O k
Proposition 3. 
Any 1-granularity OEO-concept c O E O 1 C O E O 1 can be obtained from the basic OEO-concepts, i.e., C O E O 1 = B O E O 1 .
Proof. 
For a 1-granularity OEO-concept c O E O 1 = ( X , ( Y , Z ) ) , we can obtain | X | = 1 . a i Y , g ( a i ) = X and a h Z , g ¯ ( a h ) = X . Thus, ( X , a i ) and ( X , a h ) are single-attribute concepts based on Definition 2. Furthermore, according to Definition 4, we can obtain λ ( X , a i ) = c O E O 1 , which is a basic OEO-concept. Thus, any 1-granularity OEO-concept can be obtained from basic OEO-concepts, i.e., C O E O 1 = B O E O 1 .    □
Now, we can obtain C O E O 0 by Proposition 1, i.e., ( , ( , ¯ ) ) , and can obtain C O E O 1 based on Proposition 3. In order to obtain the remaining OEO-concepts, i.e., C O E O 2 , , C O E O | U | , it is necessary to perform merge operations on the generated OEO-concepts.
Definition 6 
(Concept merging). For a formal context ( U , V , R ) , if c 1 = ( X 1 , ( Y 1 , Z 1 ) ) and c 2 = ( X 2 , ( Y 2 , Z 2 ) ) are OEO-concepts, then the merge operation of c 1 and c 2 is defined as follows:
M ( c 1 , c 2 ) = ( X 1 X 2 , ( Y 1 Y 2 , Z 1 Z 2 ) ) .
where X 1 , X 2 U , Y 1 , Y 2 V , and Z 1 , Z 2 V ,
For any two OEO-concepts c 1 and c 2 , a new pair can be obtained by using M ( c 1 , c 2 ) . However, the new pair derived from the merge operation may be not an OEO-concept. Thus, we introduced the definitions of the candidate k-granularity OEO-concept.
Definition 7 
(Candidate k-granularity OEO-concept). For a formal context (U, V, R), c 1 and c 2 are any two OEO-concepts, and the pair obtained by M ( c 1 , c 2 ) is called the candidate OEO-concept. If | E x t ( M ( c 1 , c 2 ) ) | = k , the pair can be called the candidate k-granularity OEO-concept and is denoted by c C a n d i k .
For a formal context (U, V, R), the set of all candidate k-granularity concepts is denoted by C C a n d i k , i.e.,
C C a n d i k = { M ( c O E O i , c O E O j ) | c O E O i C O E O i , c O E O j C O E O j , i < k , j < k , | E x t ( M ( c O E O i , c O E O j ) ) | = k }
For any c C C a n d i k , regardless of whether c is an OEO-concept or not, its extent part, i.e., E x t ( c ) , must be the extent of a certain OEO-concept based on the definition of the supremum of two OEO-concepts (Equation (16)) and merge operation (Definition 6). Does the set of all candidate k-granularity concepts C C a n d i k include all extents of all k-granularity OEO-concepts C O E O k , i.e., E x t ( C C a n d i k ) = E x t ( C O E O k ) ? We answer this question by following proposition.
Proposition 4. 
For a formal context (U, V, R), c 1 and c 2 are OEO-concepts. If c 2 is an immediate sub-concept of c 1 , i.e., c 2 < c 1 , then there must exist an OEO-concept c 3 such that c 3 c 1 and E x t ( M ( c 2 , c 3 ) ) = E x t ( c 1 ) .
Proof. 
Assume that c 1 = ( X 1 , ( Y 1 , Z 1 ) ) and c 2 = ( X 2 , ( Y 2 , Z 2 ) ) . Because c 2 < c 1 , there must at least exist an object x X 1 X 2 .
(1)
If X 1 f ( x ) , we obtain g ( X 1 f ( x ) ) X 1 . Thus, let X 3 = g ( X 1 f ( x ) ) . Based on Proposition 1, let c 3 = ( X 3 X 3 ¯ ¯ , ( X 3 , X 3 ¯ ) ) ; thus, it is an OEO-concept. According to the properties of □ and ⋄ (Equation (9)), X 3 X 3 ¯ ¯ X 3 X 3 X 1 . Thus, c 3 c 1 . Furthermore, according to the properties of OEO-concept lattices and the definition of supremum (Equation (16)), we obtain c 2 c 3 = c 1 . Hence, E x t ( M ( c 2 , c 3 ) ) = E x t ( c 1 ) .
(2)
If X 1 f ( x ) = , we get x X 1 . Thus, X 1 ¯ f ¯ ( x ) . We thus let X 3 = g ¯ ( X 1 ¯ f ¯ ( x ) ) . Similarly, we can get c 3 and E x t ( M ( c 2 , c 3 ) ) = E x t ( c 1 ) .
Based on (1) and (2), the proposition has been proven.    □
According to Proposition 4, if c 3 < c 1 , we can get | E x t ( c 3 ) | < | E x t ( c 1 ) | and M ( c 2 , c 3 ) C C a n d i | E x t ( c 1 ) | . However, if c 3 = c 1 , M ( c 2 , c 3 ) C C a n d i | E x t ( c 1 ) | owing to the definition of C C a n d i k (Equation (22)). However, if c 3 = c 1 , we can obtain a further conclusion based on Proposition 4. We state it as the following proposition:
Proposition 5. 
For a formal context (U, V, R), c 1 = ( X 1 , ( Y 1 , Z 1 ) ) and c 2 = ( X 2 , ( Y 2 , Z 2 ) ) are OEO-concepts, such that c 2 < c 1 and x X 1 X 2 . If g ( X 1 f ( x ) ) = X 1 or g ¯ ( X 1 ¯ f ¯ ( x ) ) = X 1 , then c 1 B O E O .
Proof. 
If g ( X 1 f ( x ) ) = X 1 and a X 1 f ( x ) , we can get g ( a ) X 1 based on the properties of operator g. On the contrary, because a is a necessary attribute, we get g ( a ) X 1 . Thus, it can be concluded that g ( a ) = X 1 . Furthermore, according to Definitions 2 and 4, we get ( X 1 , a ) C s and c 1 B O E O .
The same conclusion can be obtained for the case where g ¯ ( X 1 ¯ f ¯ ( x ) ) = X 1 . We omit its proof.    □
Based on Propositions 4 and 5, it can be concluded that E x t ( C O E O k ) = E x t ( C C a n d i k B O E O k ) . Therefore, we can group the candidate k-granularity OEO-concepts C C a n d i k and the k-granularity basic OEO-concepts B O E O k with the same extent. And, then, the corresponding intents of these extents are confirmed as follows:
Definition 8 
(Equivalence class of extent). Given a formal context (U, V, R), if c C C a n d i k B O E O k and the set [ c ] E x t meets the condition
[ c ] E x t = { ( X , ( Y , Z ) ) | ( X , ( Y , Z ) ) C C a n d i k B O E O k , E x t ( X , ( Y , Z ) ) = E x t ( c ) }
then the set [ c ] E x t is called the equivalence class of the extent of c.
The equivalence class of the extent of c is used to obtain the intents of a new OEO-concept through the union operations of the intents of all concepts in the equivalence class. The process is defined as the function φ .
Definition 9 
(Function φ ). Given a formal context (U, V, R), the φ function is a mapping C C a n d i k to C O E O k . The definition is as follows:
φ ( c ) = ( X , ( Y m a x , Z m a x ) ) , ( X i , ( Y i , Z i ) ) [ c ] E x t , Y m a x = Y i , Z m a x = Z i
where c = ( X , ( Y , Z ) ) C C a n d i k .
As B O E O k B O E O has been already generated by λ (Definition 3), φ needs to only map each concept c C C a n d i k to an OEO-concept in C O E O k . Now, Proposition 6 is provided to prove that φ ( c ) is an OEO-concept.
Proposition 6. 
For a formal context (U, V, R), if c 1 = ( X 1 , Y 1 , Z 1 ) C C a n d i k , then φ ( c 1 ) = ( X 1 , ( Y m a x , Z m a x ) ) is an OEO-concept.
Proof. 
If we want to prove that φ ( c 1 ) is an OEO-concept, it needs to satisfy Y max = X 1 , Z max = X 1 ¯ and X 1 = Y max Z max ¯ based on the definition of OEO-concepts.
(1)
First, we prove that Y max = X 1 .
  • b Y max , if g ( b ) X 1 ; then, by the definition of the necessary operator, b X 1 . Given the arbitrariness of b, it follows that Y max X 1 .
  • Assume that b X 1 but b Y max , i.e., b X 1 Y max ; then, let c 2 = ( g ( b ) g ( b ) ¯ ¯ , ( g ( b ) , g ( b ) ¯ ) ) . c 2 is then an OEO-concept based on Proposition 1. Because g ( b ) X 1 , g ( b ) g ( b ) ¯ ¯ X 1 . If g ( b ) g ( b ) ¯ ¯ = X 1 , then we get c 2 [ c 1 ] Ext . This implies that b Y max . Therefore, given the arbitrariness of b, we conclude that X 1 Y max .
    In the case g ( b ) g ( b ) ¯ ¯ X 1 , let c 3 = ( X 1 , ( X 1 , X 1 ¯ ) ) . Because c 1 C C a n d i k and X 1 is the extent of an OEO-concept, c 3 is an OEO-concept and c 2 < c 3 . According to Proposition 4, there must exist an OEO-concept c 4 c 3 such that M ( c 2 , c 4 ) [ c 1 ] E x t . This means that b Y M a x . Given the arbitrariness of b, we get X 1 Y max as well.
  • According to above 1. and 2., we get Y max = X 1 .
(2)
Second, it can similarly be proved that Z max = X 1 ¯ .
(3)
Third, Y max Z max ¯ = X 1 X 1 ¯ ¯ X 1 . Moreover, ( X 1 , ( X 1 , X 1 ¯ ) ) is an OEO-concept. Therefore, X 1 = X 1 X 1 ¯ ¯ . Thus, Y max Z max ¯ = X 1 .
From the above proofs, the proposition has been proven.    □
For the formal context ( U , V , R ) , all OEO-concepts can be categorized into C O E O 0 , C O E O 1 , , C O E O | U | by their k-granularity. Thus, we can obtain C O E O 0 , C O E O 1 from the basic OEO-concepts, and we can then apply function φ to iteratively obtain the others based on the k-granularity. Consequently, all OEO-concepts of the formal context ( U , V , R ) can be obtained. Proposition 7 proves that the OEO-concepts generated by this method are complete.
Proposition 7. 
All OEO-concepts of the formal context ( U , V , R ) can be obtained by iteratively applying function φ based on the basic OEO-concepts.
Proof. 
We use mathematical induction to prove the proposition. For convenience, all OEO-concepts are categorized into C O E O 0 , C O E O 1 , , C O E O | U | by their k-granularity.
(1)
Inductive Foundation: Based on Propositions 1 and 3, C O E O 0 and C O E O 1 can be obtained from basic OEO-concepts.
(2)
Inductive Hypothesis: Assume that the k-granularities of all OEO-concepts with granularity less than k are known, i.e., C O E O 0 , C O E O 1 , , and C O E O k are already known.
(3)
Inductive Step: Based on the inductive hypothesis and the partial-order relationship among OEO-concepts, all of the sub-concepts of each k + 1 granularity OEO-concept are known. The candidate set for k + 1 granularity OEO-concepts, C C a n d i k + 1 , can be obtained by Definition 7. Furthermore, according to Propositions 4 and 5, and Definition 8, the equivalence class of the extent of each k + 1 granularity OEO-concept can be obtained. Thus, all k + 1 granularity OEO-concepts can be obtained by using the function φ based on Proposition 6. Finally, C O E O k + 1 can be obtained.
(4)
Conclusion: C O E O 0 , C O E O 1 , , C O E O | U | can all be obtained.
   □
Based on Proposition 7, we designed a structural algorithm to construct all OEO-concepts from a formal context. The details are provided in the next section.

4. Algorithm Description and Time Complexity

The main idea underlying the 3WOC algorithm is as follows: First, C O E O 0 is obtained by Proposition 1, and then the set of single-attribute concepts (Definition 2) is built from the formal context ( U , V , R ) and its complementary context ( U , V , R c ) . Second, the set of all basic OEO-concepts, i.e., B O E O , is obtained from function λ (Definition 3), and C O E O 1 is obtained based on Propostion 3. Third, the candidate k-granularity OEO-concepts C C a n d i k (k = 2 when beginning) are obtained according to Propositions 4 and 5. The function φ is then used to obtain all new k-granularity OEO-concepts in C O E O k based on Proposition 6. By iteratively repeating this procedure, all concepts in C O E O k + 1 , , C O E O | U | can be constructed. Finally, all OEO-concepts of the formal context ( U , V , R ) , i.e., C O E O 0 , C O E O 1 , , C O E O | U | , are constructed based on Proposition 7.

4.1. Algorithm Description

The pseudo-code description of our proposed 3 W O C algorithm is as follows:
Algorithm 1 is a structured algorithm. Lines 2 to 5 are used to generate the basic OEO-concepts, i.e., B O E O (Definition 4). By Proposition 3, C O E O 1 was constructed. Lines 6 to 16 are then used to iteratively construct C O E O 2 , C O E O 3 , , C O E O | U | . Lines 7 to 16 implement the function φ (Definition 9). Finally, all OEO-concepts are constructed and collected (line 17). The computational process of the 3WOC algorithm involves a large number of search and union operations, i.e., the functions find() and M(). The hash key is not only used to improve the efficiency of searching for a concept in L but also to improve the efficiency of union operations by directly performing bitwise operations with their hash values in place of the union operations on the set. The hash function h ( ) , which maps the extent of an OEO-concept to a unique value, is defined as follows:
Definition 10 
(Function h). Given a formal context ( U , V , R ) , we can provide a linear order on the object set U, i.e., U = { x 1 , x 2 , x 3 , , x | U | } . Then, each object x i U , 1 i | U | , has its ordered position i in U. The function h is a mapping from an object set to a natural number, i.e., P ( U ) N :
h ( X ) = x i X 2 i 1
where X = { x i , x m , , x j } U , 1 i m j | U | .
Algorithm 1: 3WOC
Applsci 15 06486 i001
Due to the correspondence relationship between the hash value and the extent of a concept, the time complexity of F i n d ( k e y ) in line 12 is O ( 1 ) . Furthermore, we can obtain the extent that is composed of objects from the hash value by using the function h :
Definition 11 
(Function h ). Function h : N P ( U )
h ( k e y ) = { x i | x i U , 2 i 1 AND k e y 0 }
where AND is the bitwise AND operation on the binary representation of two natural numbers.
For a given formal context ( U , V , R ) , each X U corresponds to a hash key h ( X ) based on the above functions, h and h . Let K E Y represent all hash values from P ( U ) , i.e., K E Y = { h ( X ) | X P ( U ) } . Thus, | K E Y | = 2 | U | . We can consider < P ( U ) , > and < K E Y , O R > as two algebraic systems, where OR is the bitwise OR operation on the binary representation of two natural numbers. They are isomorphic. Moreover, the proof is given in Proposition 8.
Proposition 8. 
The algebraic systems < P ( U ) , > and < K E Y , OR > are isomorphic.
Proof. 
(1)
K E Y is the non-empty set of natural numbers ranging from 0 to 2 | U | 1 . Thus, | K E Y | = | P ( U ) | .
(2)
For any X P ( U ) , there is an n K E Y such that h ( X ) = n . Thus, the function h is an injection. Furthermore, for any X , Y P ( U ) , if X Y , then h ( X ) h ( Y ) . Thus, the function h is a surjection. Consequently, the function h is a bijection.
h ( X Y ) = x i X Y 2 i 1 = x i X 2 i 1 OR y j Y 2 j 1 = h ( X ) OR h ( Y )
(3)
For any a K E Y , there exists X P ( U ) such that h ( a ) = X . Thus, the function h is an injection. For any a , b K E Y , if a b , then there must be at least one bit that is different between the binary representations of a and b, i.e., h ( a ) h ( b ) . Thus, the function h is a surjection. Consequently, the function h is a bijection.
h ( a OR b ) = { x i | x i U , 2 i 1 AND ( a OR b ) 0 } = { x i | x i U , ( 2 i 1 AND a 0 ) or ( 2 i 1 AND b 0 ) } = { x i | x i U , 2 i 1 AND a 0 } { x i | x i U , 2 i 1 AND b 0 } = h ( a ) h ( b )
Based on the above, (1), (2), (3), the proposition has been proven. □
According to Proposition 8, we can directly perform the bitwise OR operations with their hash values in place of union operations on object sets in the 3 W O C algorithm. However, the time complexity of function h, which converts the extent of concepts into a natural number, is O ( | U | ) .

4.2. Time Complexity

The time complexity of Algorithm 1 is analyzed as follows: According to Equations (2) and (4), executing Steps 2–3 takes O ( 2 | U | × | V | ) to obtain all single-attribute concepts (Definition 2) from the formal context ( U , V , R ) and its complement context ( U , V , R c ) . According to Definition 3 and Proposition 8, the time complexity of function λ is O ( | U | + | C a | + | C a c | ) , and it is O ( | U | + 2 | V | ) in the worst case. Thus, Steps 4–5 take at most O ( 2 | U | × | V | + 4 | V | 2 ) to obtain all basic OEO concepts, B O E O (Definition 4). Steps 6–16 take at most O ( k = 2 | U | ( | C O E O k 1 | × j = 1 k 1 | C O E O j | ) × ( | U | + 2 | V | ) ) . Based on Equation (20), letting | O E O L ( U , V , R ) | = k = 0 | U | ( | C O E O k | ) , we can obtain the total time complexity of Algorithm 1 as O ( 4 | U | × | V | + 4 | V | 2 + ( | U | + 2 | V | ) × | O E O L ( U , V , R ) | 2 ) . As | O E O L ( U , V , R ) | is significantly larger than | V | , the time complexity of Algorithm 1 is O ( ( | U | + 2 | V | ) × | O E O L ( U , V , R ) | 2 ) .
Example 2 illustrates the process of constructing OEO-concepts for the 3WOC algorithm. The details are as follows:
Example 2. 
The formal context ( U 1 , V 1 , R 1 ) is shown in Table 1 while the complement context is shown in Table 2. The object set is U 1 = 1, 2, 3, 4, 5 and the attribute set is V 1 = a, b, c, d, e. For the sake of clarity, the extents of the concepts considered in this example are still represented in the form of object sets. Additionally, the hash key of the extent of each concept is also provided.
By using g and g ¯ (Equations (2) and (4)), we can obtain sets of single-attribute concepts C s and C s c (Definition 2), as shown in Table 3. The hash key can be obtained by using the above function h (Definition 10) on the extent of each concept. For instance, the object set {1,2,4,5} is the extent of the single-attribute concept ( 1245 , a ) . Thus, its hash key is h ( { 1 , 2 , 4 , 5 } ) = 2 0 + 2 1 + 2 3 + 2 4 = 27 .
Then, B O E O (Definition 4) is generated from C s and C s c , as shown in Table 4.
According to line 1 in Algorithm 1, C O E O 0 is [ k e y : 0 , ( , ( , ) ) ] . Based on Proposition 3, all 1-granularity OEO-concepts have been constructed. In this example, C O E O 1 = { [ k e y : 1 , ( 1 , ( d , ) ) ] , [ k e y : 4 , ( 3 , ( , a ) ) ] } . In order to obtain all 2-granularity OEO-concepts except for B O E O 2 , we need to perform M ( c 1 , c 2 ) , such that c 1 C O E O 1 and c 2 C O E O 0 C O E O 1 . Thus, key: 1 OR key: 4 = key: 5 = h ( { 1 } { 3 } ) based on Proposition 8. Thus we get C C a n d i 2 : [ k e y : 5 , ( 13 , ( d , a ) ) ] . When the loop (lines 7 to 16 in Algorithm 1) is completed, we obtain ( 13 , ( d , a ) ) as a new OEO-concept according to Proposition 6, i.e., φ ( ( 13 , ( d , a ) ) ) = ( 13 , ( d , a ) ) . Consequently, [ k e y : 5 , ( 13 , ( d , a ) ) ] is added to C O E O 2 . The updated C O E O 2 is shown in Table 5.
We now construct C O E O 3 , i.e., k = 3 . c 1 C O E O 2 and c 2 C O E O 1 C O E O 2 , M ( c 1 , c 2 ) are computed. This yields the following candidate OEO-concepts: [ k e y : 11 , ( 124 , ( d , e ) ) ] , [ k e y : 7 , ( 123 , ( c d , a ) ) ] , [ k e y : 21 , ( 135 , ( b d , a ) ) ] , [ k e y : 14 , ( 234 , ( , a e ) ) ] , [ k e y : 23 , ( 1235 , ( b c d , a ) ) ] , [ k e y : 30 , ( 2345 , ( b , a e ) ) ] , and [ k e y : 15 , ( 1234 , ( d , a e ) ) ] . Similarly, we can obtain [ k e y : 7 , ( 123 , ( c d , a ) ) ] and [ k e y : 14 , ( 234 , ( , a e ) ) ] as new OEO-concepts according to Proposition 6, and we add them to C O E O 3 . [ k e y : 23 , ( 1235 , ( b c d , a ) ) ] , [ k e y : 30 , ( 2345 , ( b , a e ) ) ] , and [ k e y : 15 , ( 1234 , ( d , a e ) ) ] are 4-granularity candidate OEO-concepts now. We can obtain C O E O 4 when k = 4. Finally, all OEO-concepts are obtained as shown in Table 6.
Furthermore, the three-way object-oriented concept lattice ( O E O L ( U 1 , V 1 , R 1 ) , ) can be built based on the partial relationship between the concepts (Equation (14)). The lattice is shown in Figure 1, in which the concepts marked with a box are basic OEO-concepts.
For any two formal contexts, ( U , V , R ) and ( U , T , J ) , V is the set of condition attributes, T is the set of decision attributes, and V T = . They form a formal decision context ( U , V , R , T , J ) . We can obtain two three-way object-oriented concept lattices, O E O L ( U , V , R ) and O E O L ( U , T , J ) , using Algorithm 1. Assume that the formal decision context ( U , V , R , T , J ) is OEO-consistence. Then, for any ( X , ( A , B ) ) O E O L ( U , V , R ) and ( Y , ( C , D ) ) O E O ( U , T , J ) , if X Y , and X , Y , A , B , C , D are not ∅, we can obtain a positive three-way rule A C and a negative three-way rule ¬ B ¬ D [25]. Thus, Algorithm 1 can serve as a basic algorithm for three-way rule acquisition from OEO-concepts.

5. Experimental Evaluation

In this section, we evaluate the completeness and performance of our proposed 3 W O C algorithm. We compared it with Qian’s method—the generation of three-way object-oriented concepts [30]—for which we used Ma’s algorithm to acquire object-oriented concepts [27]. We call it the QM algorithm for the sake of convenience. All algorithms were implemented in Python 3.8, and all experiments were run on an otherwise idle Windows system.
The data consisted of artificial datasets and real-world datasets. For a formal context ( U , V , R ) , there are three factors, the number of objects | U | , the number of attributes | V | , and the dense of non-zero entries, which can influence the number of OEO-concepts | O E O L ( U , V , R ) | . Thus, we used different arguments of these three factors to randomly generate a series of datasets. It is not necessary to separately illustrate them, and we represent the characteristics of each dataset by a naming rule whereby a randomly generated data table with m objects, n attributes, and average non-zero entries of d % is called Data_OmAnDd. m { 10 , 20 , 30 , 40 } , n { 5 , 10 } , and d % { 10 % , 20 % , 30 % , 40 % , 50 % , 60 % } . Furthermore, any group of datasets can be simply expressed. For instance, the datasets Data_OmA5Dd, in which m = 10 , , 40 and d = 10 , , 50 , 60 , can be simply denoted by Data_A5. The real-world datasets came from the UCI Machine Learning Repository (https://archive.ics.uci.edu/datasets/, accessed on 17 February 2025), including Balloons, Lenses, COVID-19 surveillance. All of the datasets were prepared as formal contexts without noisy and incomplete data in our experiments.

5.1. Completeness Experiment

To verify the completeness of OEO-concepts generated by our Algorithm 1, we compared them with the concepts generated by the QM algorithm. We executed the experiments on several datasets, including the formal context listed in Table 1, the UCI dataset (Balloons, Lenses, and COVID-19 surveillance), and random datasets (Data_A5, Data_A10). The extent and intent of each of the OEO-concepts derived from the above datasets were separately checked. We confirmed that the OEO-concepts generated by Algorithm 1 were complete.
The number of concepts derived from the UCI datasets is shown in Table 7, while those derived from the random datasets are shown in Figure 2 and Figure 3. Furthermore, the concepts obtained by Algorithm 1 from Table 1 are listed in Table 6.

5.2. Performance Evaluation

To evaluate the efficiency of Algorithm 1, we measured its run time and memory usage when constructing three-way object-oriented concepts from scratch in comparison with those of the QM algorithm. We used both the UCI datasets and randomly generated datasets for these experiments.
Table 7 lists the run times and memory usage of both algorithms on the UCI datasets (Balloons, Lenses, COVID-19 surveillance). It shows that Algorithm 1 was significantly more efficient than the QM algorithm on each dataset. However, Algorithm 1 used more memory than the QM algorithm on each dataset. This is because Algorithm 1 not only stored the hash key of each OEO-concept but also was implemented with the dictionary and list data structure in Python 3.8, whereas the QM algorithm was implemented with the list data structure in Python 3.8. On the other hand, Table 7 shows that Algorithm 1 used the same size of memory on both datasets, Balloons and COVID-19 surveillance, due to the memory preallocation mechanism of Python 3.8.
The QM algorithm requires computing the power set of attribute sets and obtaining the corresponding extent of object-oriented concepts based on the size of the power set. The more attributes there are, the greater the number of power sets of attributes that needs to be calculated. By contrast, Algorithm 1 derives OEO-concepts directly from single-attribute concepts. By iteratively merging these concepts, all OEO-concepts are obtained while avoiding the exhaustive calculation of the power sets of the attribute sets. Furthermore, it uses bitwise operations with the hash values, in place of union operations on extents of concepts, to improve its efficiency.
Figure 4 and Figure 5 show the run times of Algorithm 1 on datasets Data_A5 and Data_A10, respectively. These results reflect the inherent property of the proposed algorithm for constructing formal concepts: its time complexity increased exponentially with the number of objects and attributes, and the density of the datasets. Figure 6 and Figure 7 show the run times of the QM algorithm on Data_A5 and Data_A10, respectively. It is clear that Algorithm 1 delivered better performance than the QM algorithm on each dataset.
In addition, a comparison between Figure 2 and Figure 4 shows that the run time of Algorithm 1 exhibited a similar trend of change with the number of concepts. This phenomenon is also shown in Figure 3 and Figure 5. Given that the time complexity of Algorithm 1 (in Section 4.2) is O ( ( | U | + 2 | V | ) × | O E O L ( U , V , R ) | 2 ) , its run time was mainly influenced by the number of OEO-concepts.

6. Conclusions

In this study, we proposed an algorithm for quickly and completely acquiring all OEO-concepts from a formal context ( U , V , R ) . We also theoretically and experimentally proved that the OEO-concepts generated by our proposed algorithm are complete. Its time complexity is O ( ( | U | + 2 | V | ) × | O E O L ( U , V , R ) | 2 ) . Moreover, it not only avoids traversing the power set of the attribute set V but also uses use the bitwise operations on hash values in place of union operations on object sets to improve the efficiency of acquisition. Furthermore, it delivered better performance than the QM algorithm on various datasets in comparative experiments. Our work in this paper can serve as a basic algorithm for the three-way rule acquisition from OEO-concepts.
There remains considerable room for further research in the area, including ways to quickly and simultaneously acquire three-way object-oriented concepts and their lattice structures, as well as techniques to design parallel construction algorithms, and so on.

Author Contributions

Conceptualization, Z.Z. and Y.B.; methodology, Z.Z. and Y.B.; software, Y.J.; validation, Y.J.; formal analysis, Z.Z.; investigation, Y.B.; resources, X.Z.; data curation, Y.J.; writing—original draft preparation, Y.J.; writing—review and editing, Z.Z. and X.Z.; visualization, Y.J.; supervision, X.Z.; project administration, Z.Z. and X.Z.; funding acquisition, X.Z. All authors have read and agreed to the published version of the manuscript.

Funding

This study was supported in part by the Fundamental Research Funds for the Central Universities (NJ2023024) and the Key Laboratory of Civil Aviation Aircraft Health Monitoring and Intelligent Maintenance.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The raw data supporting the conclusions of this article can be made available by the authors upon request.

Acknowledgments

The authors would like to thank the reviewers for their valuable comments and helpful suggestions, which significantly improved the manuscript.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Wille, R. Restructuring Lattice Theory; Rival, I., Ed.; Ordered Sets: Reidel, Dordrecht, 1982; pp. 445–470. [Google Scholar]
  2. Ganter, B.; Wille, R. Formal Concept Analysis: Mathematical Foundations; Springer: Berlin/Heidelberg, Germany, 1999. [Google Scholar]
  3. Li, J.H.; Wei, L.; Zhang, Z.; Zhai, Y.H.; Zhang, T.; Zhi, H.L.; Mi, Y.L. Concept lattice theory and method and their research prospect. Pattern Recorgniton Artif. Intell. 2020, 33, 619–642. [Google Scholar]
  4. Cui, H.; Deng, A.S.; Chang, C.M.; Diao, H.Y.; Zou, L. Granule description of object (attribute)-oriented linguistic concept lattice based on dominance relation. Int. J. Comput. Intell. Syst. 2021, 14, 701–714. [Google Scholar] [CrossRef]
  5. Zhi, H.L.; Li, J.H. Granule description based knowledge discovery from incomplete formal contexts via necessary attribute analysis. Inf. Sci. 2019, 485, 347–361. [Google Scholar] [CrossRef]
  6. Liaw, T.M.; Lin, S.C. A general theory of concept lattice with tractable implication exploration. Theor. Comput. Sci. 2020, 837, 84–114. [Google Scholar] [CrossRef]
  7. Li, J.H.; Mei, C.L.; Xu, W.H.; Qian, Y.H. Concept learning via granular computing: A cognitive viewpoint. Inf. Sci. 2015, 298, 447–467. [Google Scholar] [CrossRef]
  8. Li, J.H.; Huang, C.C.; Qi, J.J.; Qian, Y.H.; Liu, W.Q. Three-way cognitive concept learning via multi-granularity. Inf. Sci. 2017, 378, 244–263. [Google Scholar] [CrossRef]
  9. Mi, Y.L.; Shi, Y.; Li, J.H.; Liu, W.; Yan, M. Fuzzy-based concept learning method: Exploiting data with fuzzy conceptual clustering. IEEE Trans. Cybern. 2022, 52, 582–593. [Google Scholar] [CrossRef]
  10. Guo, D.D.; Xu, W.H.; Qian, Y.H.; Ding, W.P. M-FCCL: Memory-based concept-cognitive learning for dynamic fuzzy data classification and knowledge fusion. Inf. Fusion 2023, 100, 101962. [Google Scholar] [CrossRef]
  11. Guo, D.D.; Xu, W.H.; Qian, Y.H.; Ding, W.P. Fuzzy-granular concept-cognitive learning via three-way decision: Performance evaluation on dynamic knowledge discovery. IEEE Trans. Fuzzy Syst. 2024, 32, 1409–1423. [Google Scholar] [CrossRef]
  12. Zhang, Z.; Du, J.; Wang, L. Formal concept analysis approach for data extraction from a limited deep web database. J. Intell. Inf. Syst. 2013, 41, 211–234. [Google Scholar] [CrossRef]
  13. Zhang, Z.; Xu, X.L.; Yue, F.B.; Ba, Y.J. Robot path planning based on concept lattice. Int. J. Approx. Reason. 2023, 153, 87–103. [Google Scholar] [CrossRef]
  14. Pawlak, Z. Rough sets. Int. J. Comput. Inf. Sci. 1982, 11, 341–356. [Google Scholar] [CrossRef]
  15. Gediga, G.; Duntsch, I. Modal-style operators in qualitative data analysis. In Proceedings of the 2002 IEEE International Conference on Data Mining, Maebashi City, Japan, 9–12 December 2002; pp. 155–162. [Google Scholar]
  16. Yao, Y.Y. A comparative study of formal concept analysis and rough set theory in data analysis. In Proceedings of the 4th International Conference on Rough Sets and Current Trends in Computing, Lecture Notes in Artificial Intelligence, Uppsala, Sweden, 1–5 June 2004; Springer: Berlin/Heidelberg, Germany, 2004; Volume 3066, pp. 59–68. [Google Scholar]
  17. Yao, Y.Y. Concept lattices in rough set theory. In Proceedings of the 4th Annual Conference of the North American Fuzzy Information Processing Society, Banff, AB, Canada, 27–30 June 2004; pp. 796–801. [Google Scholar]
  18. Yao, Y.Y. An outline of a theory of three-way decisions. In Proceedings of the 2012 International Conference on Rough Sets and Current Trends in Computing (LNCS 7413), Chengdu, China, 17–20 August 2012; pp. 1–17. [Google Scholar] [CrossRef]
  19. Qi, J.J.; Wei, L.; Yao, Y.Y. Three-way formal concept analysis. In Proceedings of the 9th International Conference, RSKT 2014, Shanghai, China, 24–26 October 2014; pp. 732–741. [Google Scholar] [CrossRef]
  20. Qi, J.J.; Qian, T.; Wei, L. The connections between three-way and classical concept lattices. Knowl.-Based Syst. 2016, 91, 143–151. [Google Scholar] [CrossRef]
  21. Zhai, Y.H.; Qi, J.J.; Li, D.Y.; Zhang, C.; Xu, W.H. The structure theorem of three-way concept lattice. Int. J. Approx. Reason. 2022, 146, 157–173. [Google Scholar] [CrossRef]
  22. Wei, L.; Qian, T. The three-way object oriented concept lattice and the three-way property oriented concept lattice. In Proceedings of the 2015 International Conference on Machine Learning and Cybernetics, Guangzhou, China, 12–15 July 2015; pp. 854–859. [Google Scholar] [CrossRef]
  23. Wei, L.; Liu, L.; Qi, J.J.; Qian, T. Rules acquisition of formal decision contexts based on three-way concept lattices. Inf. Sci. 2020, 516, 529–544. [Google Scholar] [CrossRef]
  24. Zhao, J.; Wan, R.X.; Miao, D.Q.; Zhang, B.Y. Rule acquisition of three-way semi-concept lattices in formal decision context. Caai Trans. Intell. Technol. 2024, 9, 333–347. [Google Scholar] [CrossRef]
  25. Zhang, C.L.; Li, J.J.; Lin, Y.D. Three-way rules acquisition based on object (attribute)-oriented concept lattices. J. Nanjing Univ. Nat. Sci. 2021, 57, 599–610. [Google Scholar] [CrossRef]
  26. Wang, S.N.; Wei, L.; Li, Q. Construct new lattices based on rough set theory. In Proceedings of the 2nd International Conference on Information Science and Engineering, Hangzhou, China, 4–6 December 2010; pp. 5013–5016. [Google Scholar] [CrossRef]
  27. Ma, J.M.; Cai, M.J.; Zou, C.J. Concept acquisition approach of object-oriented concept lattices. Int. J. Mach. Learn. Cybern. 2017, 8, 123–134. [Google Scholar] [CrossRef]
  28. She, Y.H.; He, X.L.; Qian, T.; Wang, Q.Q.; Zeng, W.L. A theoretical study on object-oriented and property-oriented multi-scale formal concept analysis. Int. J. Mach. Learn. Cybern. 2019, 10, 3263–3271. [Google Scholar] [CrossRef]
  29. Shao, M.W.; Lu, M.M.; Li, K.W.; Wang, C.Z. The construction of attribute (object)-oriented multi-granularity concept lattices. Int. J. Mach. Learn. Cybern. 2020, 11, 1017–1032. [Google Scholar] [CrossRef]
  30. Qian, T. The Constructions of Classical Concept Lattices and Three-Way Concept Lattices and Knowledge Acquisition; Northwest University: Lanzhou, China, 2016. (In Chinese) [Google Scholar]
  31. Qian, T.; Wei, L.; Qi, J.J. Constructing three-way concept lattices based on apposition and subposition of formal contexts. Knowl.-Based Syst. 2017, 116, 39–48. [Google Scholar] [CrossRef]
  32. Qian, T.; Wei, L.; Qi, J.J. A theoretical study on the object (property) oriented concept lattices based on three-way decisions. Soft Comput. 2019, 23, 9477–9489. [Google Scholar] [CrossRef]
  33. Long, B.H.; Xu, W.H.; Zhang, X.Y.; Yang, L. The dynamic update method of attribute-induced three-way granular concept in formal contexts. Int. J. Approx. Reason. 2020, 126, 228–248. [Google Scholar] [CrossRef]
  34. Hu, Q.; Qin, K.; Yang, L. The updating methods of object-induced three-way concept in dynamic formal contexts. Appl. Intell. 2023, 53, 1826–1841. [Google Scholar] [CrossRef]
  35. Hao, F.; Yang, Y.X.; Min, G.Y.; Loia, V. Incremental construction of three-way concept lattice for knowledge discovery in social networks. Inf. Sci. 2021, 578, 257–280. [Google Scholar] [CrossRef]
Figure 1. ( O E O L ( U 1 , V 1 , R 1 ) , ) derived from Table 1.
Figure 1. ( O E O L ( U 1 , V 1 , R 1 ) , ) derived from Table 1.
Applsci 15 06486 g001
Figure 2. Number of concepts in Data_A5.
Figure 2. Number of concepts in Data_A5.
Applsci 15 06486 g002
Figure 3. Number of concepts in Data_A10.
Figure 3. Number of concepts in Data_A10.
Applsci 15 06486 g003
Figure 4. Run time of 3WOC on Data_A5.
Figure 4. Run time of 3WOC on Data_A5.
Applsci 15 06486 g004
Figure 5. Run time of 3WOC on Data_A10.
Figure 5. Run time of 3WOC on Data_A10.
Applsci 15 06486 g005
Figure 6. Run time of QM on Data_A5.
Figure 6. Run time of QM on Data_A5.
Applsci 15 06486 g006
Figure 7. Run time of QM on Data_A10.
Figure 7. Run time of QM on Data_A10.
Applsci 15 06486 g007
Table 1. The formal context ( U 1 , V 1 , R 1 ) .
Table 1. The formal context ( U 1 , V 1 , R 1 ) .
abcde
110111
210100
301001
410000
511001
Table 2. The complement context ( U 1 , V 1 , R 1 c ) .
Table 2. The complement context ( U 1 , V 1 , R 1 c ) .
abcde
101000
201011
310110
401111
500110
Table 3. C s C s c .
Table 3. C s C s c .
Attribute C s C s c
a[key: 27, (1245,a)][key: 4, (3,a)]
b[key: 20, (35,b)][key: 11, (124,b)]
c[key: 3, (12,c)][key: 28, (345,c)]
d[key: 1, (1,d)][key: 30, (2345,d)]
e[key: 21, (135,e)][key: 10, (24,e)]
Table 4. B O E O .
Table 4. B O E O .
k-GranularityOEO-Concepts
1[key: 1, (1,(d, ⌀))], [key: 4, (3,(⌀,a))]
2[key: 3, (12,(cd, ⌀))], [key: 10, (24,(⌀,e))], [key: 20, (35,(b,a))]
3[key: 21, (135,(bde,a))], [key: 11, (124,(cd,be))], [key: 28, (345,(b,ac))]
4[key: 27, (1245,(acd,be))], [key: 30, (2345,(b,acde))]
Table 5. B O E O C O E O 0 C O E O 2 .
Table 5. B O E O C O E O 0 C O E O 2 .
k-GranularityOEO-Concepts
0[key: 0, ( , ( , ) ) ]
1[key: 1, (1,(d, ⌀))], [key: 4, (3,(⌀,a))]
2[key: 3, (12,(cd, ⌀))], [key: 10, (24,(⌀,e))], [key:20, (35,(b,a))], [key: 5, (13,(d,a))]
3[key: 21, (135,(bde,a))], [key: 11, (124,(cd,be))], [key:28, (345,(b,ac))]
4[key: 27, (1245,(acd,be))], [key:30, (2345,(b,acde))]
Table 6. O E O L ( U 1 , V 1 , R 1 ) .
Table 6. O E O L ( U 1 , V 1 , R 1 ) .
k-GranularityOEO-Concepts
0[key: 0, (⌀,(⌀,⌀))]
1[key: 1, (1,(d, ⌀))], [key: 4, (3,(⌀,a))]
2[key: 3, (12,(cd, ⌀))], [key: 10, (24,(⌀,e))], [key: 20, (35,(b,a))], [key: 5, (13,(d,a))]
3[key: 21, (135,(bde,a))], [key: 11, (124,(cd,be))], [key: 28, (345,(b,ac))],
[key: 7, (123,(cd,a))], [key: 14, (234,(⌀,ae))]
4[key: 27, (1245,(acd,be))], [key: 30, (2345,(b,acde))], [key: 29, (1345,(bde,ac))],
[key: 15, (1234,(cd,abe))], [key: 23, (1235,(bcde,a))]
5[key: 31, (U,(V,V))]
Table 7. Number of concepts, run times and memory usage on the UCI datasets.
Table 7. Number of concepts, run times and memory usage on the UCI datasets.
Dataset | U | | V | Num. of ConceptsRun Time of 3WOCMem. Usage of 3WOCRun Time of QMMem. Usage of QM
Balloons2010910.0108 s4696 bytes5.5065 s904 bytes
Lenses24122290.0964 s9312 bytes64.3453 s1920 bytes
COVID-19 Surveillance14171390.0178 s4696 bytes86.4654 s1240 bytes
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Zhang, Z.; Jin, Y.; Zhao, X.; Ba, Y. A Fast Algorithm for Three-Way Object-Oriented Concept Acquisition. Appl. Sci. 2025, 15, 6486. https://doi.org/10.3390/app15126486

AMA Style

Zhang Z, Jin Y, Zhao X, Ba Y. A Fast Algorithm for Three-Way Object-Oriented Concept Acquisition. Applied Sciences. 2025; 15(12):6486. https://doi.org/10.3390/app15126486

Chicago/Turabian Style

Zhang, Zhuo, Yuhao Jin, Xincan Zhao, and Yujing Ba. 2025. "A Fast Algorithm for Three-Way Object-Oriented Concept Acquisition" Applied Sciences 15, no. 12: 6486. https://doi.org/10.3390/app15126486

APA Style

Zhang, Z., Jin, Y., Zhao, X., & Ba, Y. (2025). A Fast Algorithm for Three-Way Object-Oriented Concept Acquisition. Applied Sciences, 15(12), 6486. https://doi.org/10.3390/app15126486

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop