Abstract:
Rough set attribute reduction process is complicated,and there are many calculation indexes. The traditional program and algorithm design method based on process-oriented pure math tool software such as MATLAB is difficult to be applied in software engineering and actual projects. Aiming at the above problems,this paper adopts object-oriented ideas and methods,and encapsu-lates the rough set operation into the RoughSet class with member variables and member methods. Based on the data structure such as linear table and key-value pair mapping,the calculation of equivalence class division,attribute kernel,decision dependence and at-tribute importance is realized,and the attribute reduction result is finally obtained. The correctness and reliability of the object-oriented method are verified by the example data.