Add an 'approximate difference' method to `StateFilter`.