33 #ifndef TRAJECTORY_OPTIMIZER_H 34 #define TRAJECTORY_OPTIMIZER_H 43 class OptimizationState;
76 double&
value(
const std::size_t& _i)
override 82 const double&
value(
const std::size_t& _i)
const override 138 virtual void optimize();
141 virtual void initState0ParamFuncsHValid(
const size_t& _optFailCount);
144 void computeJacobian();
147 void computeJacobian1Entry(
size_t _idx);
175 #endif // TRAJECTORY_OPTIMIZER_H
std::shared_ptr< OptimizationState > OptimizationStateSPtr
OptimizationState & operator=(const OptimizationState &)=default
std::vector< TrajectorySimulator::LatticePointType > simulationLattice
static constexpr const double valueZero
std::unique_ptr< TrajectoryOptimizer const > TrajectoryOptimizerConstUPtr
TrajectorySimulator::LatticeVecSPtrVec partLattices
virtual void fromTrajState(const TrajectorySimulator &_trajSim)=0
virtual void toTrajState(TrajectorySimulator &_trajSim)=0
std::shared_ptr< TrajectoryOptimizer > TrajectoryOptimizerSPtr
std::vector< double > hCache
std::unique_ptr< TrajectoryOptimizer > TrajectoryOptimizerUPtr
std::vector< double > vars
std::shared_ptr< OptimizationState const > OptimizationStateConstSPtr
Generic tree-like recursive structure that allows sub-structure access as well as ordered (array-like...
double & value(const std::size_t &_i) override
Access state variable based on index _i.
std::shared_ptr< TrajectoryOptimizer const > TrajectoryOptimizerConstSPtr
std::unique_ptr< OptimizationState > OptimizationStateUPtr
std::vector< double > gCache
std::vector< std::shared_ptr< std::vector< LatticePoint > > > LatticeVecSPtrVec
std::shared_ptr< StateSim > StateSimPtr
size_t valueSize() const override
Size of the state variables.
std::unique_ptr< OptimizationState const > OptimizationStateConstUPtr
~OptimizationState()=default
const double & value(const std::size_t &_i) const override
Const access state variable based on index _i.
OptimizationStateSPtr optState_
OptimizationState()=default