Hashing-based approximate probabilistic inference in hybrid domains