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

#include <tvm/requirements/ViolationEvaluation.h>

Inheritance diagram for tvm::requirements::ViolationEvaluationBase< Lightweight >:
Collaboration diagram for tvm::requirements::ViolationEvaluationBase< Lightweight >:

Public Member Functions

 ViolationEvaluationBase ()
 
 ViolationEvaluationBase (ViolationEvaluationType t)
 
- Public Member Functions inherited from tvm::requirements::abstract::SingleSolvingRequirement< ViolationEvaluationType, true >
const ViolationEvaluationTypevalue () const
 
void value (const ViolationEvaluationType &val)
 
bool isDefault () const
 

Additional Inherited Members

- Protected Member Functions inherited from tvm::requirements::abstract::SingleSolvingRequirement< ViolationEvaluationType, true >
 SingleSolvingRequirement (const ViolationEvaluationType &val, bool isDefault)
 
 SingleSolvingRequirement (const SingleSolvingRequirement< ViolationEvaluationType, !Lightweight > &other)
 
SingleSolvingRequirementoperator= (const SingleSolvingRequirement< ViolationEvaluationType, !Lightweight > &other)
 
SingleSolvingRequirementoperator= (const ViolationEvaluationType &val)
 
- Protected Attributes inherited from tvm::requirements::abstract::SingleSolvingRequirement< ViolationEvaluationType, true >
bool default_
 
ViolationEvaluationType value_
 

Detailed Description

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

A class specifying how a constraint violation should be handled. By default the L2 norm of the violation is used.

See also
ViolationEvaluationType

Constructor & Destructor Documentation

◆ ViolationEvaluationBase() [1/2]

template<bool Lightweight = true>
tvm::requirements::ViolationEvaluationBase< Lightweight >::ViolationEvaluationBase ( )
inline

◆ ViolationEvaluationBase() [2/2]

template<bool Lightweight = true>
tvm::requirements::ViolationEvaluationBase< Lightweight >::ViolationEvaluationBase ( ViolationEvaluationType  t)
inline

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