%% http://eclipse.crosscoreop.com/eclipse/examples/nono.ecl.txt %% Problem n4 %% fz: < 1 sec %% ROW RULES row_max = 6; row_states = array2d(1..row_total_states, 1..2, [ % pattern 2,1, % 1,2, 0,3, 4,0, 4,5, 5,0, % pattern 0,1, % 1,2, 2,0, % pattern 0,2, % 1,2, 0,3, 3,0, % pattern 0,2, % 1,2, 0,3, 3,0, % pattern 0,1, % 1,2, 2,0, % pattern 1,2, % 1,2, 3,0, 3,4, 0,5, 5,0, ]); row_max_state = 5; row_total_states = 20; row_num_patterns = 6; row_num_states = [5,2,3,3,2,5]; % this is also the final state row_start_where = [1,6,8,11,14,16]; % COL_RULES: col_max = 6; col_states = array2d(1..col_total_states, 1..2, [ % pattern 1,2, 1,2, 3,0, 3,4, 0,5, 5,0, % pattern 0,1, 1,2, 2,0, % pattern 0,2, 1,2, 0,3, 3,0, % pattern 0,2, 1,2, 0,3, 3,0, % pattern 0,1, 1,2, 2,0, % pattern 2,1 1,2, 0,3, 4,0, 4,5, 5,0, ]); col_num_patterns = 6; col_max_state = 5; col_total_states = 20; col_num_states = [5,2,3,3,2,5]; % this is also the final state col_start_where = [1,6,8,11,14,16];