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

Method update

gecode/int/sequence/view.hpp:210–223  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

208
209 template<class View, class Val, bool iss>
210 forceinline void
211 ViewValSupport<View,Val,iss>::update(Space& home,
212 ViewValSupport<View,Val,iss>& vvs,
213 int n0) {
214 y = nullptr;
215 if ( !vvs.retired() ) {
216 y = home.alloc<int>(n0);
217 for ( int l=0; l<n0; l++ ) {
218 y[l] = vvs.y[l];
219 }
220 v.update(home,vvs.v);
221 // = &home.construct<S>(S::key_compare(),S::allocator_type(home));
222 }
223 }
224
225 template<class View,class Val, bool iss>
226 forceinline bool

Callers 2

int.hppFile · 0.45
propagate.hppFile · 0.45

Calls 2

retiredMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected