MCPcopy Index your code
hub / github.com/TheAlgorithms/Python / one_dimensional.py

File one_dimensional.py

cellular_automata/one_dimensional.py:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1"""
2Return an image of 16 generations of one-dimensional cellular automata based on a given
3ruleset number
4https://mathworld.wolfram.com/ElementaryCellularAutomaton.html

Callers

nothing calls this directly

Calls 5

format_rulesetFunction · 0.85
generate_imageFunction · 0.85
showMethod · 0.80
new_generationFunction · 0.70
appendMethod · 0.45

Tested by

no test coverage detected