implementation of the computational components to infer events from observations