Struct EulerODESolver

template<typename Point, typename NT, typename Polytope, typename func>
struct EulerODESolver

Public Types

typedef std::vector<Point> pts
typedef std::vector<Polytope*> bounds
typedef Polytope::VT VT

Public Functions

inline EulerODESolver(NT initial_time, NT step, pts initial_state, func oracle, bounds boundaries)
inline void step(int k, bool accepted)
inline void print_state()
inline void steps(int num_steps, bool accepted)
inline Point get_state(int index)
inline void set_state(int index, Point p)
inline void disable_adaptive()
inline void enable_adaptive()

Public Members

unsigned int dim
NT eta
NT t
VT Ar
VT Av
func F
bounds Ks
pts xs
pts xs_prev
Point x_prev_bound
int prev_facet = -1