Graphical models for continuous time inference and decision making