1. A method comprising: accessing a set of samples of sensor data recording a plurality of measurements taken by one or more sensors; representing each sample of the set of samples as a minterm to yield a set of minterms; and generating a characteristic function from the set of minterms, the characteristic function indicating whether a given minterm is a member of the set of minterms.