Commit graph

10 commits

Author SHA1 Message Date
johann dreo
23994e2beb feat: enforce scale as a ratio 2019-12-16 15:20:12 +01:00
johann dreo
642cf8d1b6 x: use math.floor 2019-12-16 15:13:31 +01:00
johann dreo
f3971faa40 fix: avoid rounding out of domain 2019-12-16 14:45:05 +01:00
johann dreo
6e83a121fb fix: check if bitstring neighborhood does not erase sensors 2019-12-16 14:43:52 +01:00
johann dreo
9bce1e64b0 fix: less conservative assert 2019-12-16 14:35:00 +01:00
896dd3617c better README
- use gitlab's markdown
- more exercises
2019-12-15 09:30:38 +01:00
66c7ae93bc add a readme file 2019-12-14 20:51:24 +01:00
ce190c5681 fix: bad range management in bit.py
- use sensor_range * domain_width
- add asserts
- cleaner bit.neighborhood
2019-12-14 10:51:57 +01:00
Johann Dreo
b0feb71840 fix: missing domain width parameter for neigh in landscape example 2019-12-09 11:40:28 +01:00
Johann Dreo
a90792a323 first import 2019-12-09 11:23:26 +01:00