Enhanced second-chance algorithm.
When we increase the second-chance algorithm by considering both the reference bit and the modify bit as an order pair. We have the following four possible classes.
a) (0,0) neither recently used nor modified - best page to replace.
b) (0,1) not recently used but modified - not quite as good.
c) (1,0) recently used but clean - it probably will be used again soon.