Octohash database

From LifeWiki
Revision as of 19:46, 19 October 2022 by Confocal (talk | contribs) (draft for a mainspace wiki article about the databases; may need correction/expansion in history/technical details/etc)
Jump to navigation Jump to search
This article is a stub. You can help LifeWiki by expanding it.

The octohash function is a hash function that returns the same value for any of the eight orientations of a pattern -- in other words, the octohash of any rotation or reflection of a pattern will always be the same as the octohash of the original pattern.

Several databases implemented using the octohash function can be used to search for active reactions that produce a given pattern (which may be active or settled). The databases are designed to work with Golly and Python, without other dependencies.

The octohash database[1] catalogues every generation of every possible collision between a single glider and all possible constellations of up to two well-separated objects (excluding pseudo still lifes) fitting inside a 12 × 12 bounding box; the included objects are block, tub, boat, beehive, ship, loaf, eater, pond, long boat, and blinker.

The octo3obj database[2] catalogues every generation of every possible collision between a single glider and all possible constellations of up to three well-separated patterns fitting inside an 11 × 11 bounding box; the included objects and constellations are blinker, block, beehive, bi-block, half blockade, and teardrop ash (two beehives).

The octo3g database[3][4] catalogues every generation of a subset of three-glider collisions.

See also

References

  1. dvgrn/octohash on GitHub
  2. dvgrn/octo3obj on GitHub
  3. Dave Greene (August 17, 2022). Re: Enumerating Three-Glider Collisions (discussion thread) at the ConwayLife.com forums
  4. dvgrn/octo3g on GitHub