The HMC program is currently implemented as a closure that returns the different elements necessary to run it (warmup, results to trace, building the kernel, finding the initial position, etc).
However there is a great overlap between HMC and its variants (after all eHMC and dynamic HMC "are" a HMC algorithm) and it would be nice to have its variants inherit from HMC. It would make the code simpler, and make customization easier.
The HMC program is currently implemented as a closure that returns the different elements necessary to run it (warmup, results to trace, building the kernel, finding the initial position, etc).
However there is a great overlap between HMC and its variants (after all eHMC and dynamic HMC "are" a HMC algorithm) and it would be nice to have its variants inherit from HMC. It would make the code simpler, and make customization easier.
Waiting for eHMC to make the change.