Nonoblock: Difference between revisions
Content added Content deleted
Line 907: | Line 907: | ||
function sequences(blockseq, numblanks) |
function sequences(blockseq, numblanks) |
||
if |
if isempty(blockseq) |
||
return ["." ^ numblanks] |
|||
elseif minlen(blockseq) == numblanks |
|||
return minsized(blockseq) |
return minsized(blockseq) |
||
else |
else |
||
Line 933: | Line 935: | ||
nonoblocks([2, 1], 5) |
nonoblocks([2, 1], 5) |
||
nonoblocks(Vector{Int}([]), 5) |
|||
nonoblocks([8], 10) |
nonoblocks([8], 10) |
||
nonoblocks([2, 3, 2, 3], 15) |
nonoblocks([2, 3, 2, 3], 15) |
||
Line 941: | Line 944: | ||
##..# |
##..# |
||
.##.# |
.##.# |
||
With blocks Int64[] and 5 cells: |
|||
..... |
|||
With blocks [8] and 10 cells: |
With blocks [8] and 10 cells: |
||
########.. |
########.. |