@@ -143,22 +143,23 @@ endif
143143# SUPPORT COMPONENTS
144144#
145145SUPPORTSRC0 = \
146- exception heap thread/thread thread/windows thread/pthreads \
146+ exception allocator heap \
147+ thread/thread thread/windows thread/pthreads \
147148 hw-rnd
148149SUPPORTHDR0 = \
149150 block-allocator cast dynamic-array \
150- dynamic-stack exception heap \
151+ dynamic-stack exception allocator heap \
151152 macros random sort static-stack \
152153 marked-pointer int-type auto-link \
153154 thread thread/thread thread/windows thread/pthreads thread/none timer \
154155 dynamic-queue bitset-base bitset bitset-offset \
155156 hw-rnd
156157
157- SUPPORTSRC1 = $(SUPPORTSRC0:%=gecode/support/%.cpp )
158- SUPPORTHDR = gecode/support.hh \
158+ SUPPORTSRC1 = $(SUPPORTSRC0:%=gecode/support/%.cpp )
159+ SUPPORTHDR = gecode/support.hh \
159160 $(SUPPORTHDR0:%=gecode/support/%.hpp )
160- SUPPORTOBJ = $(SUPPORTSRC1:%.cpp=%$(OBJSUFFIX ) )
161- SUPPORTSRC = $(SUPPORTSRC1 )
161+ SUPPORTOBJ = $(SUPPORTSRC1:%.cpp=%$(OBJSUFFIX ) )
162+ SUPPORTSRC = $(SUPPORTSRC1 )
162163
163164export SUPPORTDLL = $(LIBPREFIX ) @SUPPORT@$(DLLSUFFIX )
164165export SUPPORTLIB = $(LIBPREFIX ) @SUPPORT@$(LIBSUFFIX )
@@ -194,7 +195,7 @@ VARIMP = $(VARIMPHDR)
194195
195196KERNELSRC0 = \
196197 archive core memory-manager branch region \
197- afc activity rnd
198+ afc activity rnd exception trace-filter tracer
198199
199200KERNELHDR0 = \
200201 archive array shared-array core exception \
@@ -204,11 +205,13 @@ KERNELHDR0 = \
204205 brancher-view-sel brancher-merit \
205206 brancher-val-sel brancher-val-commit brancher-view brancher-view-val \
206207 brancher-val-sel-commit \
207- allocators global-afc \
208- afc activity rnd branch-traits
208+ allocators print gpi \
209+ afc activity rnd branch-traits \
210+ trace-traits trace-filter tracer trace-recorder \
211+ subscribed-propagators
209212
210- KERNELSRC = $(KERNELSRC0:%=gecode/kernel/%.cpp )
211- KERNELHDR = \
213+ KERNELSRC = $(KERNELSRC0:%=gecode/kernel/%.cpp )
214+ KERNELHDR = \
212215 gecode/kernel.hh gecode/kernel/wait.hh \
213216 $(KERNELHDR0:%=gecode/kernel/%.hpp )
214217KERNELOBJ = $(KERNELSRC:%.cpp=%$(OBJSUFFIX ) )
@@ -248,15 +251,24 @@ SEARCHSRC0 = \
248251 parallel/engine \
249252 dfs parallel/dfs \
250253 bab parallel/bab \
251- meta/rbs meta/nogoods sequential/path parallel/path
254+ lds sequential/lds \
255+ sequential/path parallel/path \
256+ meta/rbs meta/nogoods meta/dead \
257+ meta/sequential/pbs meta/parallel/pbs \
258+ rbs pbs sebs exception
252259SEARCHHDR0 = \
253260 statistics.hpp stop.hpp options.hpp cutoff.hpp \
254261 support.hh worker.hh exception.hpp \
262+ engine.hpp base.hpp build.hpp traits.hpp sebs.hpp \
255263 sequential/path.hh sequential/dfs.hh sequential/bab.hh \
264+ sequential/lds.hh \
256265 parallel/path.hh parallel/engine.hh \
257266 parallel/dfs.hh parallel/bab.hh \
258- meta/rbs.hh meta/nogoods.hh \
259- dfs.hpp bab.hpp rbs.hpp engine.hpp engine-base.hpp
267+ meta/rbs.hh meta/rbs.hpp meta/nogoods.hh meta/dead.hh \
268+ meta/sequential/pbs.hh meta/parallel/pbs.hh \
269+ meta/sequential/pbs.hpp meta/parallel/pbs.hpp \
270+ dfs.hpp bab.hpp lds.hpp rbs.hpp pbs.hpp \
271+ relax.hh
260272
261273SEARCHSRC = $(SEARCHSRC0:%=gecode/search/%.cpp )
262274SEARCHHDR = gecode/search.hh $(SEARCHHDR0:%=gecode/search/% )
@@ -288,7 +300,10 @@ export LINKSEARCH =
288300export SEARCHRES =
289301export SEARCHRC =
290302endif
291- SEARCHBUILDDIRS = search search/sequential search/parallel search/meta
303+ SEARCHBUILDDIRS = search \
304+ search/sequential search/parallel \
305+ search/meta \
306+ search/meta/sequential search/meta/parallel
292307
293308#
294309# INTEGER COMPONENTS
@@ -303,7 +318,7 @@ INTSRC0 = \
303318 exec/when.cpp element/pair.cpp \
304319 linear/int-post.cpp linear-int.cpp \
305320 linear/bool-post.cpp linear-bool.cpp \
306- branch.cpp distinct.cpp sorted.cpp gcc.cpp \
321+ branch.cpp distinct/eqite.cpp distinct .cpp sorted.cpp gcc.cpp \
307322 channel.cpp channel/link-single.cpp channel/link-multi.cpp \
308323 unshare.cpp sequence.cpp \
309324 bin-packing.cpp bin-packing/propagate.cpp \
@@ -314,7 +329,10 @@ INTSRC0 = \
314329 arithmetic/mult.cpp \
315330 branch/view-sel.cpp branch/val-sel-commit.cpp \
316331 branch/view-values.cpp \
317- ldsb.cpp ldsb/sym-imp.cpp ldsb/sym-obj.cpp
332+ relax.cpp \
333+ ldsb.cpp ldsb/sym-imp.cpp ldsb/sym-obj.cpp \
334+ trace.cpp trace/tracer.cpp \
335+ exception.cpp
318336
319337INTHDR0 = \
320338 limits.hpp support-values.hh support-values.hpp \
@@ -341,6 +359,7 @@ INTHDR0 = \
341359 distinct/graph.hpp distinct/dom-ctrl.hpp \
342360 distinct/bnd.hpp distinct/dom.hpp \
343361 distinct/val.hpp distinct/ter-dom.hpp \
362+ distinct/eqite.hpp \
344363 dom/range.hpp dom/set.hpp \
345364 element/int.hpp element/view.hpp element/pair.hpp \
346365 gcc/bnd.hpp gcc/dom.hpp gcc/bnd-sup.hpp gcc/dom-sup.hpp \
@@ -364,7 +383,7 @@ INTHDR0 = \
364383 distinct.hh dom.hh \
365384 element.hh exception.hpp gcc.hh linear.hh \
366385 reify.hpp propagator.hpp extensional.hh rel.hh \
367- sorted.hh var-imp.hpp view.hpp \
386+ sorted.hh var-imp.hpp view.hpp ipl.hpp \
368387 channel.hh channel/dom.hpp channel/val.hpp \
369388 channel/base.hpp channel/link-single.hpp channel/link-multi.hpp \
370389 sequence.hh sequence/int.hpp sequence/view.hpp \
@@ -373,16 +392,18 @@ INTHDR0 = \
373392 bin-packing/conflict-graph.hpp \
374393 task.hh task/fwd-to-bwd.hpp task/array.hpp task/sort.hpp \
375394 task/iter.hpp task/tree.hpp task/purge.hpp task/prop.hpp \
376- task/man-to-opt.hpp \
395+ task/man-to-opt.hpp task/event.hpp \
377396 unary.hh unary/task.hpp unary/task-view.hpp \
378397 unary/tree.hpp unary/overload.hpp unary/detectable.hpp \
379- unary/not-first-not-last.hpp \
398+ unary/time-tabling.hpp unary/ not-first-not-last.hpp \
380399 unary/edge-finding.hpp unary/subsumption.hpp \
381- unary/man-prop.hpp unary/opt-prop.hpp \
400+ unary/man-prop.hpp unary/opt-prop.hpp unary/post.hpp \
382401 cumulative.hh cumulative/man-prop.hpp cumulative/opt-prop.hpp \
383402 cumulative/task-view.hpp cumulative/overload.hpp \
384- cumulative/basic.hpp cumulative/task.hpp cumulative/edge-finding.hpp \
403+ cumulative/time-tabling.hpp cumulative/task.hpp \
404+ cumulative/edge-finding.hpp cumulative/post.hpp \
385405 cumulative/tree.hpp cumulative/limits.hpp \
406+ cumulative/subsumption.hpp \
386407 cumulatives.hh cumulatives/val.hpp \
387408 circuit.hh circuit/base.hpp circuit/val.hpp circuit/dom.hpp \
388409 no-overlap.hh no-overlap/dim.hpp no-overlap/box.hpp \
@@ -396,7 +417,10 @@ INTHDR0 = \
396417 val-set.hh val-set.hpp \
397418 member.hh member/prop.hpp member/re-prop.hpp \
398419 branch/afc.hpp branch/activity.hpp \
399- ldsb.hh ldsb/brancher.hpp ldsb/sym-imp.hpp
420+ ldsb.hh ldsb/brancher.hpp ldsb/sym-imp.hpp \
421+ trace.hpp \
422+ trace/bool-trace-view.hpp trace/int-trace-view.hpp \
423+ trace/bool-delta.hpp trace/int-delta.hpp trace/traits.hpp
400424
401425INTSRC = $(INTSRC0:%=gecode/int/% )
402426INTHDR = gecode/int.hh $(INTHDR0:%=gecode/int/% )
@@ -433,7 +457,7 @@ INTBUILDDIRS = \
433457 int/channel int/arithmetic int/linear int/bool int/branch int/exec \
434458 int/element int/sequence int/bin-packing \
435459 int/unary int/cumulative int/cumulatives int/task \
436- int/ldsb
460+ int/ldsb int/distinct int/trace
437461
438462#
439463# FLOAT COMPONENTS
@@ -442,7 +466,10 @@ INTBUILDDIRS = \
442466FLOATSRC0 = \
443467 var/float.cpp arithmetic.cpp array.cpp branch.cpp rel.cpp linear.cpp \
444468 linear/post.cpp branch/activity.cpp rounding.cpp exec.cpp \
445- branch/val-sel-commit.cpp branch/view-sel.cpp dom.cpp
469+ branch/val-sel-commit.cpp branch/view-sel.cpp dom.cpp \
470+ relax.cpp \
471+ trace.cpp trace/tracer.cpp \
472+ exception.cpp
446473
447474FLOATHDR0 = \
448475 var-imp.hpp array.hpp array-traits.hpp limits.hpp exception.hpp \
@@ -459,7 +486,8 @@ FLOATHDR0 = \
459486 branch.hh branch/afc.hpp branch/activity.hpp branch/traits.hpp \
460487 branch/var.hpp branch/val.hpp branch/assign.hpp \
461488 branch/val-commit.hpp branch/val-sel.hpp branch/merit.hpp \
462- num.hpp val.hpp rounding.hpp nextafter.hpp
489+ num.hpp val.hpp rounding.hpp nextafter.hpp \
490+ trace.hpp trace/trace-view.hpp trace/delta.hpp trace/traits.hpp
463491
464492FLOATSRC = $(FLOATSRC0:%=gecode/float/% )
465493FLOATHDR = gecode/float.hh $(FLOATHDR0:%=gecode/float/% )
@@ -494,7 +522,8 @@ endif
494522FLOATBUILDDIRS = \
495523 float float/var float/var-imp float/view \
496524 float/linear float/branch float/rel float/branch \
497- float/arithmetic float/transcendental float/trigonometric
525+ float/arithmetic float/transcendental float/trigonometric \
526+ float/trace
498527
499528#
500529# SET COMPONENTS
@@ -518,7 +547,10 @@ SETSRC0 = \
518547 var-imp/integerset.cpp var/set.cpp \
519548 exec.cpp branch/activity.cpp branch/view-sel.cpp \
520549 branch/val-sel-commit.cpp branch/ngl.cpp \
521- ldsb.cpp ldsb/sym-imp.cpp
550+ ldsb.cpp ldsb/sym-imp.cpp \
551+ relax.cpp \
552+ trace.cpp trace/tracer.cpp \
553+ exception.cpp
522554SETHDR0 = \
523555 limits.hpp \
524556 view.hpp exception.hpp int.hh element.hh var-imp.hpp \
@@ -548,7 +580,9 @@ SETHDR0 = \
548580 branch/var.hpp branch/val.hpp branch/assign.hpp \
549581 branch/merit.hpp branch/val-commit.hpp branch/val-sel.hpp \
550582 branch/ngl.hpp \
551- ldsb.hh ldsb/brancher.hpp channel.hh
583+ ldsb.hh ldsb/brancher.hpp channel.hh \
584+ trace.hpp trace/trace-view.hpp trace/delta.hpp trace/traits.hpp
585+
552586
553587SETSRC = $(SETSRC0:%=gecode/set/% )
554588SETHDR = gecode/set.hh $(SETHDR0:%=gecode/set/% )
@@ -583,7 +617,7 @@ endif
583617SETBUILDDIRS = \
584618 set set/convex set/distinct set/int set/rel set/rel-op \
585619 set/element set/sequence set/var set/var-imp set/view \
586- set/branch set/channel set/ldsb
620+ set/branch set/channel set/ldsb set/trace
587621
588622
589623#
@@ -594,7 +628,7 @@ MMSRC0 = \
594628 int-expr.cpp int-rel.cpp int-arith.cpp bool-expr.cpp \
595629 set-expr.cpp set-rel.cpp \
596630 float-expr.cpp float-rel.cpp float-arith.cpp \
597- reg.cpp optimize.cpp
631+ reg.cpp optimize.cpp exception.cpp
598632MMHDR0 = \
599633 int-rel.hpp float-rel.hpp exception.hpp matrix.hpp \
600634 bool-expr.hpp set-expr.hpp set-rel.hpp \
@@ -1163,7 +1197,7 @@ SEARCHTESTSRC0 = \
11631197ARRAYTESTSRC0 = \
11641198 test/array.cpp
11651199
1166- TESTSRC0 = test/test.cpp test/afc.cpp test/brancher-handle .cpp test/ldsb .cpp
1200+ TESTSRC0 = test/test.cpp test/afc.cpp test/ldsb .cpp test/region .cpp
11671201
11681202TESTSRC = \
11691203 $(TESTSRC0 ) $(INTTESTSRC0 ) $(SETTESTSRC0 ) $(FLOATTESTSRC0 ) \
@@ -1446,7 +1480,7 @@ export LINKALL = -F. -framework gecode
14461480else
14471481export LINKALL = \
14481482 $(LINKFLATZINC ) $(LINKDRIVER ) $(LINKGIST ) \
1449- $(LINKSEARCH ) $(LINKMM ) $(LINKSET ) $(LINKFLOAT ) $(LINKINT ) \
1483+ $(LINKSEARCH ) $(LINKMM ) $(LINKSET ) $(LINKFLOAT ) $(LINKMPFR ) $( LINKINT ) \
14501484 $(LINKKERNEL ) $(LINKSUPPORT )
14511485endif
14521486
@@ -1719,7 +1753,7 @@ TESTRES =
17191753endif
17201754$(TESTEXE ) : $(TESTOBJ ) $(TESTRES ) $(ALLLIB )
17211755 $(CXX ) @EXEOUTPUT@$@ $(TESTOBJ ) $(TESTRES ) $(DLLPATH ) $(CXXFLAGS ) \
1722- $(LINKALL ) $(GLDFLAGS )
1756+ $(LINKALL ) $(GLDFLAGS ) $( LINKQT )
17231757 $(FIXMANIFEST ) $@ .manifest $(DLLSUFFIX )
17241758 $(MANIFEST ) -manifest $@ .manifest -outputresource:$@ \; 1
17251759
@@ -2003,7 +2037,8 @@ distdoc: doc
20032037
20042038clean :
20052039 $(RMF ) * .stackdump core gmon.out \
2006- vc70.pdb vc80.pdb vc90.pdb vc100.pdb vc110.pdb vc120.pdb
2040+ vc70.pdb vc80.pdb vc90.pdb vc100.pdb vc110.pdb \
2041+ vc120.pdb vc130.pdb vc140.pdb
20072042 $(RMF ) doxygen.log doxygen.hh doxygen.conf.use stat.hh \
20082043 changelog.hh doxygen.hh license.hh header.html
20092044 $(RMF ) $(ALLOBJ ) $(ALLSBJ ) $(ALLOBJ:%$(OBJSUFFIX ) =%.pdb )
@@ -2040,7 +2075,7 @@ distclean: veryclean
20402075 $(RMF ) config.log config.status Makefile.dep
20412076
20422077depend : mkcompiledirs
2043- @$(MAKE ) $(VARIMP )
2078+ @$(MAKE ) $(VARIMP ) gecode/flatzinc/parser.tab.hh
20442079 perl $(top_srcdir ) /misc/makedepend.perl \
20452080 $(top_srcdir ) \
20462081 $(ALLSRC ) \
0 commit comments