Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- root@gitlab:/mnt/sdf1/usr/local/sicstus4.3.5/lib/sicstus-4.3.5/library/clpfd# grep -i bdd ../ -R
- Binary file ../x86_64-linux-glibc2.17/clpfd.s.o matches
- Binary file ../x86_64-linux-glibc2.17/clpfd/lcc_d.o matches
- Binary file ../x86_64-linux-glibc2.17/clpfd/lin_d.o matches
- Binary file ../x86_64-linux-glibc2.17/clpfd/sorting_d.o matches
- Binary file ../x86_64-linux-glibc2.17/clpfd/fdsets_s.o matches
- Binary file ../x86_64-linux-glibc2.17/clpfd/arith_s.o matches
- Binary file ../x86_64-linux-glibc2.17/clpfd/discrete_d.o matches
- Binary file ../x86_64-linux-glibc2.17/clpfd/alldifferent_d.o matches
- Binary file ../x86_64-linux-glibc2.17/clpfd/arith_d.o matches
- Binary file ../x86_64-linux-glibc2.17/clpfd/multi_cumulative_s.o matches
- Binary file ../x86_64-linux-glibc2.17/clpfd/fdsets_d.o matches
- Binary file ../x86_64-linux-glibc2.17/clpfd/setsingleton_d.o matches
- Binary file ../x86_64-linux-glibc2.17/clpfd/symmcum_d.o matches
- Binary file ../x86_64-linux-glibc2.17/clpfd/multi_cumulative_d.o matches
- Binary file ../x86_64-linux-glibc2.17/clpfd/setsingleton_s.o matches
- Binary file ../x86_64-linux-glibc2.17/clpfd/disjoint2_s.o matches
- Binary file ../x86_64-linux-glibc2.17/clpfd/indexical_d.o matches
- Binary file ../x86_64-linux-glibc2.17/clpfd/dvars_s.o matches
- Binary file ../x86_64-linux-glibc2.17/clpfd/relation_d.o matches
- Binary file ../x86_64-linux-glibc2.17/clpfd/lh_s.o matches
- Binary file ../x86_64-linux-glibc2.17/clpfd/alldistinct_s.o matches
- Binary file ../x86_64-linux-glibc2.17/clpfd/discrete_s.o matches
- Binary file ../x86_64-linux-glibc2.17/clpfd/disjoint2_d.o matches
- Binary file ../x86_64-linux-glibc2.17/clpfd/relation_s.o matches
- Binary file ../x86_64-linux-glibc2.17/clpfd/ac3intervals_d.o matches
- Binary file ../x86_64-linux-glibc2.17/clpfd.so matches
- ../clpb.pl: bdd_to_formula(G, F, M),
- ../clpb.pl: formula_to_bdd(Var, X, 1, [], _, Dic),
- ../clpb.pl: ; prolog:'$bdd_negate'(X, Y), bool1(Dic, [Y])
- ../clpb.pl: prolog:'$bdd_build'(I, 1, 0, Node),
- ../clpb.pl: prolog:'$bdd_negate'(PNode, NNode),
- ../clpb.pl: bdd_to_bdd(G, M, Node, Free0, Free1, Dic0, Dic1),
- ../clpb.pl: bdd_univ(Node, NNode, PNode, Eq),
- ../clpb.pl:% Translating from BDD to internal polynomial format.
- ../clpb.pl:bdd_to_formula(0, [], _) :- !.
- ../clpb.pl:bdd_to_formula(1, [[]], _) :- !.
- ../clpb.pl:bdd_to_formula(Graph, F, Dic) :-
- ../clpb.pl: bdd_parts(Graph, V, Q, R, Dic),
- ../clpb.pl: prolog:'$bdd_type'(Q, R, Type),
- ../clpb.pl: bdd_to_formula(Type, V, Q, R, Dic, F).
- ../clpb.pl:bdd_to_formula(0, V, _, _, _, [[V]]).
- ../clpb.pl:bdd_to_formula(1, V, _, _, _, [[],[V]]).
- ../clpb.pl:bdd_to_formula(2, V, _, R, Dic, Formula) :-
- ../clpb.pl: bdd_to_formula(R, R1, Dic),
- ../clpb.pl:bdd_to_formula(3, V, _, R, Dic, Formula) :-
- ../clpb.pl: bdd_to_formula(R, R1, Dic),
- ../clpb.pl:bdd_to_formula(4, V, Q, _, Dic, Formula) :-
- ../clpb.pl: bdd_to_formula(Q, Q1, Dic),
- ../clpb.pl:bdd_to_formula(5, V, Q, _, Dic, Formula) :-
- ../clpb.pl: bdd_to_formula(Q, Q1, Dic),
- ../clpb.pl:bdd_to_formula(6, V, _, R, Dic, Formula) :-
- ../clpb.pl: bdd_to_formula(R, R1, Dic),
- ../clpb.pl:bdd_to_formula(7, V, Q, R, Dic, Formula) :-
- ../clpb.pl: bdd_to_formula(Q, Q1, Dic),
- ../clpb.pl: bdd_to_formula(R, R1, Dic),
- ../clpb.pl: bdd_subst_set(Unifier0, Sub0, Sub),
- ../clpb.pl: ( prolog:'$bdd_parts'(Sub, V, 1, 0) -> Unifier1=Unifier0
- ../clpb.pl: bdd_subst_set(Unifier, G, G1),
- ../clpb.pl: ( prolog:'$bdd_parts'(G, I, 1, 0)
- ../clpb.pl: formulas_to_bdds(Parts, Graphs, 1, [], _, _),
- ../clpb.pl: formulas_to_bdds(Parts, Graphs, 1, [], _, Dic),
- ../clpb.pl: prolog:'$bdd_subst_reset',
- ../clpb.pl:formulas_to_bdds([], [], F, Dic, F, Dic).
- ../clpb.pl:formulas_to_bdds([E|Es], [G|Gs], F0, Dic0, F, Dic) :-
- ../clpb.pl: formula_to_bdd(E, G, F0, Dic0, F1, Dic1),
- ../clpb.pl: formulas_to_bdds(Es, Gs, F1, Dic1, F, Dic).
- ../clpb.pl:bdd_to_bdd(Graph0, Map, Graph, Free0, Free, Dic0, Dic) :-
- ../clpb.pl: bdd_map_to_unifier(Map, Unifier, Free0, Free, Dic0, Dic),
- ../clpb.pl: prolog:'$bdd_subst_reset',
- ../clpb.pl: bdd_subst_set(Unifier, Graph0, Graph).
- ../clpb.pl:bdd_map_to_unifier([], [], Free, Free, Dic, Dic).
- ../clpb.pl:bdd_map_to_unifier([V-Formula|Map], Unifier0, Free0, Free, Dic0, Dic) :-
- ../clpb.pl: formula_to_bdd(Formula1, Graph, Free0, Dic0, Free1, Dic1),
- ../clpb.pl: ( prolog:'$bdd_parts'(Graph, V, 1, 0) -> Unifier0=Unifier
- ../clpb.pl: bdd_map_to_unifier(Map, Unifier, Free1, Free, Dic1, Dic).
- ../clpb.pl:formula_to_bdd(F, Graph, Free0, Dic0, Free, Dic) :-
- ../clpb.pl: bdd_to_bdd(G1, M1, Graph, Free0, Free, Dic0, Dic1),
- ../clpb.pl: prolog:'$bdd_build'(Free0, 1, 0, Graph)
- ../clpb.pl:formula_to_bdd(F, Graph, Free0, Dic0, Free, Dic) :-
- ../clpb.pl: prolog:'$bdd_build'(F, 1, 0, Graph).
- ../clpb.pl:formula_to_bdd(0, 0, Free, Dic, Free, Dic).
- ../clpb.pl:formula_to_bdd(1, 1, Free, Dic, Free, Dic).
- ../clpb.pl:formula_to_bdd(F1*F2, P, Free0, Dic0, Free, Dic) :-
- ../clpb.pl: formula_to_bdd(F1, P1, Free0, Dic0, Free1, Dic1),
- ../clpb.pl: formula_to_bdd(F2, P2, Free1, Dic1, Free, Dic),
- ../clpb.pl: bdd_univ(P1, P2, 0, P).
- ../clpb.pl:formula_to_bdd(F1+F2, P, Free0, Dic0, Free, Dic) :-
- ../clpb.pl: formula_to_bdd(F1, P1, Free0, Dic0, Free1, Dic1),
- ../clpb.pl: formula_to_bdd(F2, P2, Free1, Dic1, Free, Dic),
- ../clpb.pl: bdd_univ(P1, 1, P2, P).
- ../clpb.pl:formula_to_bdd(F1#F2, P, Free0, Dic0, Free, Dic) :- F2==1, !,
- ../clpb.pl: formula_to_bdd(F1, P1, Free0, Dic0, Free, Dic),
- ../clpb.pl: prolog:'$bdd_negate'(P1, P).
- ../clpb.pl:formula_to_bdd(F1#F2, P, Free0, Dic0, Free, Dic) :-
- ../clpb.pl: formula_to_bdd(F1, P1, Free0, Dic0, Free1, Dic1),
- ../clpb.pl: formula_to_bdd(F2, P2, Free1, Dic1, Free, Dic),
- ../clpb.pl: prolog:'$bdd_negate'(P2, N2),
- ../clpb.pl: bdd_univ(P1, N2, P2, P).
- ../clpb.pl:formula_to_bdd(Var^F2, P, Free0, Dic0, Free, Dic) :-
- ../clpb.pl: formula_to_bdd(F2, P1, Free0, Dic0, Free, Dic),
- ../clpb.pl: prolog:'$bdd_parts'(Graph, V, 1, 0)
- ../clpb.pl: prolog:'$bdd_build'(-0x2000000, 1, 0, Node),
- ../clpb.pl: prolog:'$bdd_subst_reset',
- ../clpb.pl: bdd_subst_set([V-Node], P1, P2),
- ../clpb.pl: prolog:'$bdd_parts'(P2, -0x2000000, Q, R) ->
- ../clpb.pl: bdd_univ(Q, 1, R, P)
- ../clpb.pl:formula_to_bdd(card(Cset,List), P, Free0, Dic0, Free, Dic) :-
- ../clpb.pl: card_to_bdd(Cset2, N, List3, P).
- ../clpb.pl: {formula_to_bdd(X, Y, Free0, Dic0, Free1, Dic1)},
- ../clpb.pl:card_to_bdd(0, _, _, 0) :- !.
- ../clpb.pl:card_to_bdd(Cset, N, _, 1) :- Cset is (2<<N)-1, !.
- ../clpb.pl:card_to_bdd(1, _, List, P) :- !,
- ../clpb.pl: prolog:'$bdd_negate'(P1, P).
- ../clpb.pl:card_to_bdd(Cset, N, List, P) :- Cset is (2<<N)-2, !,
- ../clpb.pl:card_to_bdd(Cset, N, List, P) :- Cset is 1<<N, !,
- ../clpb.pl:card_to_bdd(Cset, N, List, P) :- Cset is (1<<N)-1, !,
- ../clpb.pl: prolog:'$bdd_negate'(P1, P).
- ../clpb.pl:card_to_bdd(Cset, N, List, P) :-
- ../clpb.pl: card_to_bdd(List, L, P).
- ../clpb.pl:card_disj([_-X|Xs], P0, P) :- bdd_univ(X, 1, P0, P1), card_disj(Xs, P1, P).
- ../clpb.pl:card_conj([_-X|Xs], P0, P) :- bdd_univ(X, P0, 0, P1), card_conj(Xs, P1, P).
- ../clpb.pl:card_to_bdd([], [P], P).
- ../clpb.pl:card_to_bdd([_-X|Xs], [N|Ns], P) :-
- ../clpb.pl: card_to_bdd(Xs, Ms, P).
- ../clpb.pl: bdd_univ(X, N1, N0, M),
- ../clpb.pl: prolog:'$bdd_parts'(Eq, V, Q, R),
- ../clpb.pl: prolog:'$bdd_type'(Q, R, Type),
- ../clpb.pl: prolog:'$bdd_build'(V, 1, R, Sub).
- ../clpb.pl: prolog:'$bdd_negate'(Q, IQ),
- ../clpb.pl: prolog:'$bdd_build'(V, IQ, 0, Sub).
- ../clpb.pl: prolog:'$bdd_negate'(Q, IQ),
- ../clpb.pl: prolog:'$bdd_build'(V, IQ, R, Sub),
- ../clpb.pl: bdd_univ(Q, R, 0, Residue).
- ../clpb.pl: prolog:'$bdd_parts'(Graph0, Var0, Q0, R0),
- ../clpb.pl: prolog:'$bdd_parts'(Graph1, Var0, Q1, R1),
- ../clpb.pl: bdd_univ(Q0, 1, Q1, Q),
- ../clpb.pl: bdd_univ(R0, 1, R1, R),
- ../clpb.pl: prolog:'$bdd_build'(Var0, Q, R, Graph),
- ../clpb.pl:bdd_parts(Graph, V1, Q, R, Dic) :-
- ../clpb.pl: prolog:'$bdd_parts'(Graph, V, Q, R),
- ../clpb.pl:bdd_univ(F, G, H, Val) :-
- ../clpb.pl: prolog:'$bdd_univ_case'(F, G, H, C, X, Y, Z),
- ../clpb.pl: bdd_univ(C, X, Y, Z, Val).
- ../clpb.pl:bdd_univ(1, F, _, _, F). % F
- ../clpb.pl:bdd_univ(11, F, G, H, Val) :- % F*G + ~F*H, F on top
- ../clpb.pl: prolog:'$bdd_parts'(F, V, FQ, FR),
- ../clpb.pl: bdd_univ(FQ, FR, G, G, H, H, V, Val),
- ../clpb.pl: prolog:'$bdd_store'(F, G, H, Val).
- ../clpb.pl:bdd_univ(12, F, G, H, Val) :- % F*G + ~F*H, G on top
- ../clpb.pl: prolog:'$bdd_parts'(G, V, GQ, GR),
- ../clpb.pl: bdd_univ(F, F, GQ, GR, H, H, V, Val),
- ../clpb.pl: prolog:'$bdd_store'(F, G, H, Val).
- ../clpb.pl:bdd_univ(13, F, G, H, Val) :- % F*G + ~F*H, H on top
- ../clpb.pl: prolog:'$bdd_parts'(H, V, HQ, HR),
- ../clpb.pl: bdd_univ(F, F, G, G, HQ, HR, V, Val),
- ../clpb.pl: prolog:'$bdd_store'(F, G, H, Val).
- ../clpb.pl:bdd_univ(14, F, G, H, Val) :- % F*G + ~F*H, FG on top
- ../clpb.pl: prolog:'$bdd_parts'(F, V, FQ, FR),
- ../clpb.pl: prolog:'$bdd_parts'(G, V, GQ, GR),
- ../clpb.pl: bdd_univ(FQ, FR, GQ, GR, H, H, V, Val),
- ../clpb.pl: prolog:'$bdd_store'(F, G, H, Val).
- ../clpb.pl:bdd_univ(15, F, G, H, Val) :- % F*G + ~F*H, FH on top
- ../clpb.pl: prolog:'$bdd_parts'(F, V, FQ, FR),
- ../clpb.pl: prolog:'$bdd_parts'(H, V, HQ, HR),
- ../clpb.pl: bdd_univ(FQ, FR, G, G, HQ, HR, V, Val),
- ../clpb.pl: prolog:'$bdd_store'(F, G, H, Val).
- ../clpb.pl:bdd_univ(16, F, G, H, Val) :- % F*G + ~F*H, GH on top
- ../clpb.pl: prolog:'$bdd_parts'(G, V, GQ, GR),
- ../clpb.pl: prolog:'$bdd_parts'(H, V, HQ, HR),
- ../clpb.pl: bdd_univ(F, F, GQ, GR, HQ, HR, V, Val),
- ../clpb.pl: prolog:'$bdd_store'(F, G, H, Val).
- ../clpb.pl:bdd_univ(17, F, G, H, Val) :- % F*G + ~F*H, FGH on top
- ../clpb.pl: prolog:'$bdd_parts'(F, V, FQ, FR),
- ../clpb.pl: prolog:'$bdd_parts'(G, V, GQ, GR),
- ../clpb.pl: prolog:'$bdd_parts'(H, V, HQ, HR),
- ../clpb.pl: bdd_univ(FQ, FR, GQ, GR, HQ, HR, V, Val),
- ../clpb.pl: prolog:'$bdd_store'(F, G, H, Val).
- ../clpb.pl:bdd_univ(FQ, FR, GQ, GR, HQ, HR, V, Val) :-
- ../clpb.pl: bdd_univ(FQ, GQ, HQ, Q),
- ../clpb.pl: bdd_univ(FR, GR, HR, R),
- ../clpb.pl: prolog:'$bdd_build'(V, Q, R, Val).
- ../clpb.pl:% bdd_subst_set(VarsGs, F, Result) :- Result is F with Vars replaced by Gs
- ../clpb.pl:bdd_subst_set(Unifier, In, Out) :-
- ../clpb.pl: prolog:'$bdd_subst_case'(Unifier, In, C, Unifier1, AbsIn, T, Q, R),
- ../clpb.pl: bdd_subst_case(C, Unifier1, AbsIn, T, Q, R, Out).
- ../clpb.pl:bdd_subst_case(0, _, Out, _, _, _, Out).
- ../clpb.pl:bdd_subst_case(1, _, Out1, _, _, _, Out) :-
- ../clpb.pl: prolog:'$bdd_negate'(Out1, Out).
- ../clpb.pl:bdd_subst_case(10, Unifier, In, T, Q, R, Out) :- % normal recursion
- ../clpb.pl: bdd_subst_set(Unifier, Q, Q1),
- ../clpb.pl: bdd_subst_set(Unifier, R, R1),
- ../clpb.pl: bdd_univ(T, Q1, R1, Out),
- ../clpb.pl: prolog:'$bdd_subst_store'(In, Out).
- ../clpb.pl:bdd_subst_case(11, Unifier, In, T, Q, R, Out) :- % recurse and negate
- ../clpb.pl: bdd_subst_set(Unifier, Q, Q1),
- ../clpb.pl: bdd_subst_set(Unifier, R, R1),
- ../clpb.pl: bdd_univ(T, Q1, R1, Out1),
- ../clpb.pl: prolog:'$bdd_subst_store'(In, Out1),
- ../clpb.pl: prolog:'$bdd_negate'(Out1, Out).
- ../clpb.pl:bdd_subst_case(20, Unifier, In, T, Q, _, Out) :- % Q=\=R, recurse
- ../clpb.pl: bdd_subst_set(Unifier, Q, Q1),
- ../clpb.pl: prolog:'$bdd_negate'(Q1, R1),
- ../clpb.pl: bdd_univ(T, Q1, R1, Out),
- ../clpb.pl: prolog:'$bdd_subst_store'(In, Out).
- ../clpb.pl:bdd_subst_case(21, Unifier, In, T, Q, _, Out) :- % Q=\=R, recurse and negate
- ../clpb.pl: bdd_subst_set(Unifier, Q, Q1),
- ../clpb.pl: prolog:'$bdd_negate'(Q1, R1),
- ../clpb.pl: bdd_univ(T, Q1, R1, Out1),
- ../clpb.pl: prolog:'$bdd_subst_store'(In, Out1),
- ../clpb.pl: prolog:'$bdd_negate'(Out1, Out).
- ../zinc/tests/fcts/builtins/bool/bool_le.fzn:% RUNS ON fzn_bdd_canon
- ../zinc/tests/fcts/builtins/bool/bool_or.fzn:% RUNS ON fzn_bdd_canon
- ../zinc/tests/fcts/builtins/bool/bool_not.fzn:% RUNS ON fzn_bdd_canon
- ../zinc/tests/fcts/builtins/bool/bool_xor.fzn:% RUNS ON fzn_bdd_canon
- ../zinc/tests/fcts/builtins/bool/bool_le_reif.fzn:% RUNS ON fzn_bdd_canon
- ../zinc/tests/fcts/builtins/bool/bool_lt_reif.fzn:% RUNS ON fzn_bdd_canon
- ../zinc/tests/fcts/builtins/bool/bool_eq_reif.fzn:% RUNS ON fzn_bdd_canon
- ../zinc/tests/fcts/builtins/bool/bool_eq.fzn:% RUNS ON fzn_bdd_canon
- ../zinc/tests/fcts/builtins/bool/bool_lt.fzn:% RUNS ON fzn_bdd_canon
- ../zinc/tests/fcts/builtins/bool/bool_and.fzn:% RUNS ON fzn_bdd_canon
- root@gitlab:/mnt/sdf1/usr/local/sicstus4.3.5/lib/sicstus-4.3.5/library/clpfd# wc -l ../clpb.pl *.c *.h
- 760 ../clpb.pl
- 800 ac3intervals.c
- 490 alldifferent.c
- 2856 alldistinct.c
- 942 arith.c
- 1471 bc_alldiff.c
- 421 bool.c
- 7422 discrete.c
- 5269 disjoint2.c
- 1500 dvars.c
- 1988 fdsets.c
- 2001 gcc.c
- 11060 geost.c
- 3619 indexical.c
- 892 keysorting.c
- 639 lcc.c
- 1335 lex.c
- 1337 lh.c
- 1183 lin.c
- 1051 linfast.c
- 540 linpbool.c
- 308 linubool.c
- 262 main.c
- 1662 mddi.c
- 2086 multi_cumulative.c
- 1242 nvalue.c
- 409 profile.c
- 592 reified.c
- 1229 relation.c
- 490 setsingleton.c
- 871 sorting.c
- 63 statistics.c
- 1647 support.c
- 2563 symmcum.c
- 463 dvars.h
- 975 fd.h
- 268 fd_insn.h
- 62706 total
- root@gitlab:/mnt/sdf1/usr/local/sicstus4.3.5/lib/sicstus-4.3.5/library/clpfd#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement