The boolean hierarchy of NP-partitions