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

Method setBest

gecode/gist/node.hpp:105–110  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

103
104 template<class T>
105 forceinline void
106 NodeAllocatorBase<T>::setBest(int i, int best) {
107 assert(i/NodeBlockSize < n);
108 assert(i/NodeBlockSize < cur_b || i%NodeBlockSize <= cur_t);
109 b[i/NodeBlockSize]->best[i%NodeBlockSize] = best;
110 }
111
112 template<class T>
113 forceinline bool

Callers 1

acquireSpaceMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected