TVM  0.9.4
tvm::requirements::SolvingRequirementsBase< Lightweight > Class Template Reference

#include <tvm/requirements/SolvingRequirements.h>

Public Member Functions

template<typename... Args>
 SolvingRequirementsBase (const Args &... args)
 

Detailed Description

template<bool Lightweight = true>
class tvm::requirements::SolvingRequirementsBase< Lightweight >

This class groups a PriorityLevel, a Weight, an AnisotropicWeight and a ViolationEvaluation, to describe the way a constraint need to be solved and interact with other constraints.

Constructor & Destructor Documentation

◆ SolvingRequirementsBase()

template<bool Lightweight = true>
template<typename... Args>
tvm::requirements::SolvingRequirementsBase< Lightweight >::SolvingRequirementsBase ( const Args &...  args)
inline

Constructor. The arguments can be a PriorityLevel, a Weight, an AnisotropicWeight, or a ViolationEvaluation, or any combination of these objects, in any order, provided an instance of each type appears at most once. If an instance of a type is not given, the default value is taken.

See also
PriorityLevel, Weight, AnisotropicWeight, ViolationEvaluation

The documentation for this class was generated from the following file: