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

Method duration

examples/job-shop.cpp:114–116  ·  view source on GitHub ↗

Return duration of step \a j in job \a i

Source from the content-addressed store, hash-verified

112 }
113 /// Return duration of step \a j in job \a i
114 int duration(int i, int j) const {
115 return data[2 + i*machines()*2 + j*2 + 1];
116 }
117 protected:
118 /// Find instance by name \a s
119 static const int* find(const char* s) {

Callers 3

JobShopBaseMethod · 0.80
nooverloadMethod · 0.80
JobShopSolveMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected