MCPcopy Create free account
hub / github.com/Gecode/gecode / Above

Class Above

test/int/cumulatives.cpp:153–162  ·  view source on GitHub ↗

Describe that event is above a certain limit

Source from the content-addressed store, hash-verified

151 };
152 /// Describe that event is above a certain limit
153 class Above {
154 public:
155 int limit; ///< limit
156 /// Initialize
157 Above(int l) : limit(l) {}
158 /// %Test whether \a val is above limit
159 bool operator()(int val) {
160 return val >= limit;
161 }
162 };
163
164 /// Check whether event \a e is valid
165 template<class C>

Callers 1

solutionMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected