Menu

Commit [r8287]  Maximize  Restore  History

Major rewriting of transitive closure for transitive abolishes -- so far only integrated into subgoal abolishes and not predicate abolishes.

While transitive closure is not hard to write, the links within the residual program are quite complicated, so that once I got the link traversal
mostly correct, I had to restructure my dfs-based transitive closure. It should now be more correct when there are complex paths involving
both positive and negative links.

Hopefully this will be most of what is needed at least for the transitivity check, although there may be an optimization or two I can add.

tswift 2015-03-08

changed /trunk/XSB/emu/context.h
changed /trunk/XSB/emu/init_xsb.c
changed /trunk/XSB/emu/tab_structs.h
changed /trunk/XSB/emu/tr_utils.c
/trunk/XSB/emu/context.h Diff Switch to side-by-side view
Loading...
/trunk/XSB/emu/init_xsb.c Diff Switch to side-by-side view
Loading...
/trunk/XSB/emu/tab_structs.h Diff Switch to side-by-side view
Loading...
/trunk/XSB/emu/tr_utils.c Diff Switch to side-by-side view
Loading...
MongoDB Logo MongoDB