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

Method MixNaryOnePropagator

gecode/kernel/propagator/pattern.hpp:721–728  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

719
720 template<class View0, PropCond pc0, class View1, PropCond pc1>
721 MixNaryOnePropagator<View0,pc0,View1,pc1>::MixNaryOnePropagator
722 (Home home, ViewArray<View0>& x0, View1 y0)
723 : Propagator(home), x(x0), y(y0) {
724 if (pc0 != PC_GEN_NONE)
725 x.subscribe(home,*this,pc0);
726 if (pc1 != PC_GEN_NONE)
727 y.subscribe(home,*this,pc1);
728 }
729
730 template<class View0, PropCond pc0, class View1, PropCond pc1>
731 forceinline

Callers

nothing calls this directly

Calls 1

subscribeMethod · 0.45

Tested by

no test coverage detected