11 template <
typename POLICY,
size_t STATE_DIM,
size_t CONTROL_DIM,
typename SCALAR>
16 template <
typename POLICY,
size_t STATE_DIM,
size_t CONTROL_DIM,
typename SCALAR>
21 template <
typename POLICY,
size_t STATE_DIM,
size_t CONTROL_DIM,
typename SCALAR>
26 policy = initialPolicy_;
29 template <
typename POLICY,
size_t STATE_DIM,
size_t CONTROL_DIM,
typename SCALAR>
32 SCALAR& effectivelyTruncated)
36 template <
typename POLICY,
size_t STATE_DIM,
size_t CONTROL_DIM,
typename SCALAR>
39 initialPolicy_ = newPolicy;
virtual void designWarmStartingPolicy(const SCALAR &delay, const SCALAR &TimeHorizon, POLICY &policy)
design a warm-starting policy for the optimal control problem solver
Definition: PolicyHandler-impl.h:22
EIGEN_MAKE_ALIGNED_OPERATOR_NEW PolicyHandler()
Definition: PolicyHandler-impl.h:12
CppAD::AD< CppAD::cg::CG< double > > SCALAR
virtual void truncateSolutionFront(const SCALAR &delay, POLICY &policy, SCALAR &effectivelyTruncated)
a method required for additional post-truncation.
Definition: PolicyHandler-impl.h:30
virtual ~PolicyHandler()
Definition: PolicyHandler-impl.h:17
void setPolicy(const POLICY &newPolicy)
set new policy to policy handler
Definition: PolicyHandler-impl.h:37