Skip to content

Instantly share code, notes, and snippets.

View VladimirFokow's full-sized avatar

Vladimir Fokow VladimirFokow

View GitHub Profile
@VladimirFokow
VladimirFokow / collisions.md
Last active July 17, 2023 15:19
examples of low-n collisions

If we use the "Solution B" encoding, I've found all the polycubes of n=9 and n=10 that will have collisions:

  • n=9: 4 polycubes
  • n=10: 43 polycubes

I discarded any collisions with arrays of 1s and 0s that don't have fully connected 1s. So the polycube is counted only if it collides with some other valid polycube (or itself in a different orientation: we have 3 such polycubes for n=10).


@VladimirFokow
VladimirFokow / test_2d_views.py
Last active July 15, 2023 15:27
This file provides a counter-example, disproving the uniqueness of cube representations with "Solution B" from here: https://github.com/mikepound/opencubes/issues/9#issue-1803341236
"""
This file provides a counter-example, disproving the uniqueness of cube representations
with "Solution B" from here:
https://github.com/mikepound/opencubes/issues/9#issue-1803341236
At the end of the file - find `solution, output_list = run_test()`
Run it.
You will see some info.