  In this paper we construct analogues of Ekeland-Hofer and Hofer-Zehnder
symplectic capacities based on a class of Hamiltonian boundary value problems
motivated by Clarke's and Ekeland's work, and study generalizations of some
important results about the original two capacities (for example, the famous
Weinstein conjecture, representation formula for $c_{\rm EH}$ and $c_{\rm HZ}$,
and a theorem by Evgeni Neduv).
