Learning task constraints for robot grasping using graphical models | Synapse