%% http://eclipse.crosscoreop.com/eclipse/examples/nono.ecl.txt %% % Problem n5 %% fz: < 2 sec %% ROW RULES row_max = 10; row_states = array2d(1..row_total_states, 1..2, [ % pattern 0,3, % 1,2, 0,3, 0,4, 4,0, % pattern 0,3, % 1,2, 0,3, 0,4, 4,0, % pattern 0,1, % 1,2, 2,0, % pattern 0,3, % 1,2, 0,3, 0,4, 4,0, % pattern 0,6, % 1,2, 0,3, 0,4, 0,5, 0,6, 0,7, 7,0, % pattern 0,3, % 1,2, 0,3, 0,4, 4,0, % pattern 0,3, % 1,2, 0,3, 0,4, 4,0, % pattern 3,3, % 1,2, 0,3, 0,4, 5,0, 5,6, 0,7, 0,8, 8,0, % pattern 2,2, % 1,2, 0,3, 4,0, 4,5, 0,6, 6,0, % pattern 2,1, % 1,2, 0,3, 4,0, 4,5, 5,0, ]); row_max_state = 8; row_total_states = 48; row_num_patterns = 10; row_num_states = [4,4,2,4,7,4,4,8,6,5]; % this is also the final state row_start_where = [1,5,9,11,15,22,26,30,38,44]; % COL_RULES: col_max = 10; col_states = array2d(1..col_total_states, 1..2, [ % pattern 0,1, 1,2, 2,0, % pattern 1,2, 1,2, 3,0, 3,4, 0,5, 5,0, % pattern 1,2, 1,2, 3,0, 3,4, 0,5, 5,0, % pattern 1,1, 1,2, 3,0, 3,4, 4,0, % pattern 2,5, 1,2, 0,3, 4,0, 4,5, 0,6, 0,7, 0,8, 0,9, 9,0, % pattern 0,7, 1,2, 0,3, 0,4, 0,5, 0,6, 0,7, 0,8, 8,0, % pattern 2,5, 1,2, 0,3, 4,0, 4,5, 0,6, 0,7, 0,8, 0,9, 9,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, ]); col_num_patterns = 10; col_max_state = 9; col_total_states = 50; col_num_states = [2,5,5,4,9,8,9,2,3,3]; % this is also the final state col_start_where = [1,3,8,13,17,26,34,43,45,48];