seq.icc
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028 namespace Gecode { namespace Set { namespace Sequence {
00029
00030
00031
00032
00033
00034
00035 forceinline
00036 Seq::Seq(Space* home, ViewArray<SetView>& x)
00037 : NaryPropagator<SetView, PC_SET_CGLB>(home,x) {}
00038
00039 forceinline
00040 Seq::Seq(Space* home, bool share, Seq& p)
00041 : NaryPropagator<SetView, PC_SET_CGLB>(home,share,p) {}
00042
00043 forceinline ExecStatus
00044 Seq::post(Space* home, ViewArray<SetView> x) {
00045 if (x.shared())
00046 return ES_FAILED;
00047 (void) new (home) Seq(home,x);
00048 return ES_OK;
00049 }
00050
00051 }}}
00052
00053