The Herglotz variational problem on spheres and its optimal control approach - Abrunheiro, Lígia (2016)