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

Method Create

test/float/rel.cpp:166–178  ·  view source on GitHub ↗

Perform creation and registration

Source from the content-addressed store, hash-verified

164 public:
165 /// Perform creation and registration
166 Create(void) {
167 using namespace Gecode;
168 Gecode::FloatNum step = 0.7;
169 for (FloatRelTypes frts; frts(); ++frts) {
170 (void) new FloatVarXY(frts.frt(),1,step);
171 (void) new FloatVarXY(frts.frt(),2,step);
172 (void) new FloatVarXX(frts.frt(),step);
173 for (int c=-4; c<=4; c++) {
174 (void) new FloatFloat(frts.frt(),1,c,step);
175 (void) new FloatFloat(frts.frt(),2,c,step);
176 }
177 }
178 }
179 };
180
181 Create c;

Callers

nothing calls this directly

Calls 1

frtMethod · 0.80

Tested by

no test coverage detected