|
TVM
0.9.4
|
#include <tvm/scheme/HierarchicalLeastSquares.h>


Public Types | |
| using | ComputationDataType = Memory |
Public Member Functions | |
| template<class SolverFactory , typename std::enable_if< isFactory< SolverFactory >::value, int >::type = 0> | |
| HierarchicalLeastSquares (const SolverFactory &solverFactory, HierarchicalLeastSquaresOptions schemeOptions={}) | |
| template<class SolverOptions , typename std::enable_if< isHLSSolverFactoryOption< SolverOptions >::value, int >::type = 0> | |
| HierarchicalLeastSquares (const SolverOptions &solverOptions, HierarchicalLeastSquaresOptions schemeOptions={}) | |
| template<typename T , typename std::enable_if<!isFactory< T >::value &&!isHLSSolverFactoryOption< T >::value, int >::type = 0> | |
| HierarchicalLeastSquares (const T &, HierarchicalLeastSquaresOptions={}) | |
| HierarchicalLeastSquares (const HierarchicalLeastSquares &)=delete | |
| HierarchicalLeastSquares (HierarchicalLeastSquares &&)=delete | |
| HierarchicalLeastSquares & | operator= (const HierarchicalLeastSquares &)=delete |
| HierarchicalLeastSquares & | operator= (HierarchicalLeastSquares &&)=delete |
| bool | solve_ (const LinearizedControlProblem &problem, internal::ProblemComputationData *data) const |
| void | updateComputationData_ (const LinearizedControlProblem &problem, internal::ProblemComputationData *data) const |
| std::unique_ptr< Memory > | createComputationData_ (const LinearizedControlProblem &problem) const |
Public Member Functions inherited from tvm::scheme::abstract::ResolutionScheme< Derived > | |
| template<typename Problem > | |
| bool | solve (Problem &problem) const |
| template<typename Problem > | |
| std::unique_ptr< internal::ProblemComputationData > | createComputationData (const Problem &problem) const |
| template<typename Problem > | |
| void | updateComputationData (const Problem &problem, internal::ProblemComputationData *data) const |
| Derived & | derived () |
| const Derived & | derived () const |
Public Member Functions inherited from tvm::scheme::internal::ResolutionSchemeBase | |
| double | big_number () const |
| void | big_number (double big) |
Public Member Functions inherited from tvm::internal::ObjWithId | |
| ObjWithId (const ObjWithId &)=delete | |
| ObjWithId (ObjWithId &&other) | |
| ObjWithId & | operator= (const ObjWithId &)=delete |
| ObjWithId & | operator= (ObjWithId &&other) |
| int | id () const |
Protected Attributes | |
| HierarchicalLeastSquaresOptions | options_ |
| std::unique_ptr< solver::abstract::HLSSolverFactory > | solverFactory_ |
Protected Attributes inherited from tvm::scheme::internal::ResolutionSchemeBase | |
| SchemeAbilities | abilities_ |
| double | big_number_ |
This class implements the hierarchical least square scheme.
| using tvm::scheme::HierarchicalLeastSquares::ComputationDataType = Memory |
|
inline |
Constructor from a HLSSolverFactory
| SolverFactory | Any class deriving from HLSSolverFactory. |
| solverFactory | A factory for the solver that should be used in the resolution scheme. |
| schemeOptions | Options for the schemes. See tvm::scheme::HierarchicalLeastSquaresOptions. |
|
inline |
Constructor from a configuration class
| SolverOptions | Any class representing solver options. The class must have a member type Factory referring to a class C deriving from HLSSolverFactory and such that C can be constructed from SolverOptions. |
| solverOptions | A set of options for the solver to be used by the resolution scheme. |
| schemeOptions | Options for the scheme. See tvm::Scheme::HierarchicalLeastSquaresOptions. |
|
inline |
A fallback constructor that is enabled when none of the others are. It always fails at compilation time to provide a nice error message.
|
delete |
|
delete |
|
protected |
| std::unique_ptr<Memory> tvm::scheme::HierarchicalLeastSquares::createComputationData_ | ( | const LinearizedControlProblem & | problem | ) | const |
|
delete |
|
delete |
|
protected |
|
protected |
|
protected |
| bool tvm::scheme::HierarchicalLeastSquares::solve_ | ( | const LinearizedControlProblem & | problem, |
| internal::ProblemComputationData * | data | ||
| ) | const |
Private interface for CRTP
| void tvm::scheme::HierarchicalLeastSquares::updateComputationData_ | ( | const LinearizedControlProblem & | problem, |
| internal::ProblemComputationData * | data | ||
| ) | const |
|
protected |
|
protected |
The factory to create solvers attached to each problem.