Research Article

New Topological Approaches to Rough Sets via Subset Neighborhoods

Table 3

Algorithm for j-subset accuracy measures.

Input: a binary relation on a nonempty finite set .
Output: an accuracy measure of each nonempty subset of .
(1)  Input the binary relation on a nonempty finite set ;
(2)  for for eachdo
(3)   Compute -neighborhoods induced from ;
(4)   Generate a topology using Theorem 2
(5)   ifthen
(6)    Put ;
(7)     Compute ;
(8)     Put ;
(9)     Calculate .
(10)   else
(11)    Compute ;
(12)    ifthen
(13)     .
(14)    else
(15)     Put ;
(16)     Compute ;
(17)     Put ;
(18)     Calculate .
(19)    end
(20)   end
(21)  end