EwoutH / World-model-prototype

A quick and dirty prototype to discover the processes and technical challenges of building and ABM world model.
GNU Lesser General Public License v2.1
1 stars 1 forks source link

Introduce policy for structuring behaviors #6

Closed EwoutH closed 11 months ago

EwoutH commented 11 months ago

This pull request introduces policy on how to structure a behavior.

Motivation

When developing and machine-generating behaviors, I lacked a lot of detail what should be in them where and in what form. Therefore I tried to formalize that.

Mixin

The most important decision in this document is that a Mixin paradigm is used to get behaviors in existing Agents. This allows very easy integration in existing agent.

If the behavior is stateless, we make an exception, and then it's a regular Python function.

Other

There is also a general readme file and a definitions file with some definitions currently used.

Any feedback, discussion and feedback on these policies is very welcome!

This might close both #3 and #4, but I'm leaving them both open until I'm actually happy with them.

Summary by CodeRabbit