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


Public Member Functions | |
| 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 Member Functions | |
| ResolutionScheme (internal::SchemeAbilities abilities, double big=constant::big_number) | |
Protected Member Functions inherited from tvm::scheme::internal::ResolutionSchemeBase | |
| ResolutionSchemeBase (SchemeAbilities abilities, double big=constant::big_number) | |
Protected Member Functions inherited from tvm::internal::ObjWithId | |
| ObjWithId () | |
Additional Inherited Members | |
Protected Attributes inherited from tvm::scheme::internal::ResolutionSchemeBase | |
| SchemeAbilities | abilities_ |
| double | big_number_ |
Resolution schemes may be defined only for a particular type of problems. We use CRTP for providing a common interface despite this, and performing some basic common operations.
The Derived class must provide:
For a given problem, the solve_ methods is guaranteed to receive the ComputationData instance created by createComputationData_ for the same problem.
|
inlineprotected |
|
inline |
|
inline |
Returns a reference to the derived object
|
inline |
Returns a const reference to the derived object
|
inline |
| void tvm::scheme::abstract::ResolutionScheme< Derived >::updateComputationData | ( | const Problem & | problem, |
| internal::ProblemComputationData * | data | ||
| ) | const |