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

Method clone

gecode/kernel/core.hpp:3257–3263  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3255 }
3256
3257 forceinline Space*
3258 Space::clone(CloneStatistics&) const {
3259 // Clone is only const for search engines. During cloning, several data
3260 // structures are updated (e.g. forwarding pointers), so we have to
3261 // cast away the constness.
3262 return const_cast<Space*>(this)->_clone();
3263 }
3264
3265 forceinline void
3266 Space::commit(const Choice& c, unsigned int a, CommitStatistics&) {

Callers 15

runMethod · 0.45
runMethod · 0.45
runMethod · 0.45
runMethod · 0.45
runMethod · 0.45
runMethod · 0.45
choiceMethod · 0.45
solveFunction · 0.45
pbsseqFunction · 0.45
pbsparFunction · 0.45
PBSMethod · 0.45
buildMethod · 0.45

Calls 1

_cloneMethod · 0.80

Tested by

no test coverage detected