mesa-examples icon indicating copy to clipboard operation
mesa-examples copied to clipboard

Виправила баги в SugarscapeCg моделі

Open Yavoryna opened this issue 1 year ago • 1 comments

Виправила баги, які Ви надсилали; Бо створила новий репозиторій і все з нуля, тоді вийшло. Якось так. І також ось це виправила: for (contents, x, y) in self.grid.coord_iter(): повертає три значення: вміст клітинки, координату x і координату y, коли намагаємося розпакувати лише два. і також лист створила, як тоді вперше

Yavoryna avatar Oct 12 '24 09:10 Yavoryna

We removed unique_id from the init by design in Mesa 3.0, which is now in beta. See https://mesa.readthedocs.io/latest/migration_guide.html#automatic-assignment-of-unique-id-to-agents.

Install the latest mesa pre-release with pip install --upgrade --pre mesa and checkout the Release notes and updated Mesa overview.

EwoutH avatar Oct 12 '24 10:10 EwoutH