Change mutation frequency in behavioral model to every 100 ticks for improved performance
Some checks failed
Build Simulation and Test / Run All Tests (push) Failing after 28s
Some checks failed
Build Simulation and Test / Run All Tests (push) Failing after 28s
This commit is contained in:
parent
5d862bfd50
commit
2a04e7917a
@ -273,7 +273,7 @@ class DefaultCell(BaseEntity):
|
|||||||
:return: Self.
|
:return: Self.
|
||||||
"""
|
"""
|
||||||
self.tick_count += 1
|
self.tick_count += 1
|
||||||
if self.tick_count % 2 == 0:
|
if self.tick_count % 100 == 0:
|
||||||
self.behavioral_model = self.behavioral_model.mutate(1)
|
self.behavioral_model = self.behavioral_model.mutate(1)
|
||||||
|
|
||||||
if interactable is None:
|
if interactable is None:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user