Research Article
Research on the Disease Intelligent Diagnosis Model Based on Linguistic Truth-Valued Concept Lattice
Algorithm 2
Hasse diagram of LTV-CL generation algorithm.
| Input: the linguistic truth-valued formal concepts | | Output: Hasse diagram of LTV-CL | | Begin | | Calculate the topmost formal concept , the extent set of is and the intent set of is . | | ; // is used to save lattices | | ; //initialize | | while | | | | for to | | ; //find out all the subconcepts | | for every node | | If c does not exist, then | | ; enter into Q; | | Add the edge from to | | endif | | endfor | | endfor | | end |
|