minor changes
This commit is contained in:
@@ -53,6 +53,6 @@ function generate_children(pcube::PolyCube, n_max::Int)
|
|||||||
return Iterators.map(x -> PolyCube(vcat(cubes, x), x), powerset(growth_candidates, 1, allowed_growth))
|
return Iterators.map(x -> PolyCube(vcat(cubes, x), x), powerset(growth_candidates, 1, allowed_growth))
|
||||||
end
|
end
|
||||||
|
|
||||||
function hash!(pcube::PolyCube, UInt::h) -> UInt
|
function hash!(pcube::PolyCube, UInt::h)
|
||||||
return xxh3_64(pcube.oriented_differences[1])
|
return xxh3_64(pcube.oriented_differences[1])
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -36,5 +36,3 @@ function child_exists_in(dict::Dict, child::PolyCube)
|
|||||||
end
|
end
|
||||||
return false
|
return false
|
||||||
end
|
end
|
||||||
|
|
||||||
main(7)
|
|
||||||
|
|||||||
Reference in New Issue
Block a user