Add labelled plane tree generation

This commit is contained in:
2024-06-13 15:49:09 +02:00
parent 4b145da9c3
commit 95354fb168
5 changed files with 146 additions and 5 deletions

View File

@@ -16,7 +16,9 @@ function plane_trees(n::Int64)
end
function iterate(lpt::LabelledPlaneTreeIterator)
return ()
state = LabelledPlaneTreeIteratorState()
end
function iterate(lpt::LabelledPlaneTreeIterator, state)
@@ -26,5 +28,6 @@ function iterate(lpt::LabelledPlaneTreeIterator, state)
i += 1
end
end
end
return (1, )
end