Text this: Adopting genetic algorithm to enhance state-sensitivity partitioning