Class Hamiltonian

template<typename Polytope, typename Point, int simdLen>
class Hamiltonian

Public Functions

inline Hamiltonian(Polytope &boundaries)
inline VT hamiltonian(MT x, MT v)
template<typename MatrixType>
inline IVT is_not_nan(MatrixType x)
inline VT feasible(MT x, MT v)
inline void prepare(pts const &xs)
inline pts DK(pts const &x_bar)
inline pts approxDK(pts const &x_bar, MT &nu)
inline pts DU(pts const &x_bar)
inline void move(pts const &y)
inline void project(pts &xs)
inline VT x_norm(pts const &xs, pts const &dx)

Public Members

bool prepared = false
bool forceUpdate = true
Polytope &P
MT hess
bool dUDx_empty = true
MT last_dUdx
CholObj solver
pts xs
MT x
MT dfx
MT lsc
VT fx
int n
int m
int num_runs = 0
Barrier *barrier
std::unique_ptr<WeightedBarrier> weighted_barrier
Opts &options