step: prepare for predicting next step

This commit is contained in:
NunoSempere 2023-05-23 18:16:22 -04:00
parent 49c127ffe9
commit ad57176544

View File

@ -38,8 +38,13 @@ proc getSequencesWithStart(seqs: seq[seq[string]], start: seq[string]): seq[seq[
continuations.add(seq) continuations.add(seq)
return continuations return continuations
## Pretty print sequences proc predictContinuation(seqs: seq[seq[string]], start: seq[string]): seq[seq[string]] =
let continuations = getSequencesWithStart(seqs, start)
## Pretty print sequences
var start = @["1", "2", "3"] var start = @["1", "2", "3"]
var continuations = getSequencesWithStart(seqs, start) var continuations = getSequencesWithStart(seqs, start)
print continuations print continuations