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

Method machine

examples/job-shop.cpp:110–112  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

108 }
109 /// Return machine of step \a j in job \a i
110 int machine(int i, int j) const {
111 return data[2 + i*machines()*2 + j*2];
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];

Callers 2

nooverloadMethod · 0.80
JobShopSolveMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected