TVM  0.9.4
ViolationEvaluation.h
Go to the documentation of this file.
1 
3 #pragma once
4 
6 
7 #include <Eigen/Core>
8 
9 namespace tvm
10 {
11 
12 namespace requirements
13 {
14 
25 {
27  L1,
29  L2,
31  LINF
32 };
33 
38 template<bool Lightweight = true>
39 class ViolationEvaluationBase : public abstract::SingleSolvingRequirement<ViolationEvaluationType, Lightweight>
40 {
41 public:
45  {}
46 
48  : abstract::SingleSolvingRequirement<ViolationEvaluationType, Lightweight>(t, false)
49  {}
50 
52 };
53 
55 
56 } // namespace requirements
57 
58 } // namespace tvm
#define TVM_DEFINE_LW_NON_LW_CONVERSION_OPERATORS(className, T, L)
Definition: SingleSolvingRequirement.h:79
Definition: ViolationEvaluation.h:40
ViolationEvaluationBase()
Definition: ViolationEvaluation.h:43
ViolationEvaluationBase(ViolationEvaluationType t)
Definition: ViolationEvaluation.h:47
Definition: SingleSolvingRequirement.h:26
SingleSolvingRequirement(const ViolationEvaluationType &val, bool isDefault)
Definition: SingleSolvingRequirement.h:48
ViolationEvaluationType
Definition: ViolationEvaluation.h:25
Definition: Clock.h:12