time complexity of sensor selection.