Blame view

Debug/src/utils/flatzinc/tests/array_bool_or.fzn 570 Bytes
4d26a735   Pedro Roque   Increased recogni...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
% RUNS ON flatzinc
% RUNS ON fzn_fd_canon
% RUNS ON fzn_fdlp_canon
% RUNS ON fzn_lazyfd_canon
% RUNS ON fzn_sat_canon

var bool: x1 :: output_var;
var bool: x2 :: output_var;
var bool: x3 :: output_var;
constraint array_bool_or([], false);
constraint array_bool_or([false], false);
constraint array_bool_or([true], true);
constraint array_bool_or([false, true],  true);
constraint array_bool_or([false, false], false);
constraint array_bool_or([true,  false], true);
constraint array_bool_or([true,  true],  true);
constraint array_bool_or([x1, x2], x3);
solve satisfy;