@nordern @felyashono I guess one way to optimise it further would be to memoise the path simulation. You only need to check the guard’s decisions when its path is aligned on either x or y axis with the new obstacle. Haven’t figured out how to implement that, though.
=> More informations about this toot | View the thread | More toots from teotwaki@mastodon.online
=> View nordern@chaos.social profile | View felyashono@disabled.social profile
text/gemini
This content has been proxied by September (ba2dc).