|
TVM
0.9.4
|
#include <tvm/scheme/internal/SchemeAbilities.h>
Public Member Functions | |
| LevelAbilities (bool inequality, const std::vector< requirements::ViolationEvaluationType > &types) | |
| template<class RequirementsPtr > | |
| void | check (const ConstraintPtr &c, const RequirementsPtr &req, bool emitWarnings=true) const |
A class to describe what type of constraint and solving requirements a level of a resolution scheme can handle.
| tvm::scheme::internal::LevelAbilities::LevelAbilities | ( | bool | inequality, |
| const std::vector< requirements::ViolationEvaluationType > & | types | ||
| ) |
| inequality | True if the level is able to handle inequality constraints. |
| types | The types of violation evaluation that can be handled at this level. |
|
inline |
Check that the given constraint and requirements \req can be handled by this level.
| std::runtime_error | if the level cannot handled them. |