git-subtree-dir: software/mza git-subtree-split: f970a59b177c13ca3dd8aaef8cc6681d83b7e813
8 lines
335 B
MiniZinc
8 lines
335 B
MiniZinc
predicate fzn_subgraph(int: N, int: E, array[int] of int: from, array[int] of int: to,
|
|
array[int] of var bool: ns, array[int] of var bool: es) =
|
|
forall(e in 1..E) (
|
|
(es[e] -> ns[from[e]]) /\ (es[e] -> ns[to[e]])
|
|
);
|
|
|
|
%-----------------------------------------------------------------------------%
|