Apprenticeship Learning And Reinforcement Learning With Application To Robotic Control