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

Method machines

examples/job-shop.cpp:106–108  ·  view source on GitHub ↗

Return number of machines

Source from the content-addressed store, hash-verified

104 }
105 /// Return number of machines
106 int machines(void) const {
107 return data[1];
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];

Callers 4

JobShopBaseMethod · 0.80
nooverloadMethod · 0.80
printMethod · 0.80
JobShopSolveMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected