Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix broken logging when agents have a strategy per trait #8

Open
zeyus opened this issue Aug 11, 2022 · 0 comments
Open

Fix broken logging when agents have a strategy per trait #8

zeyus opened this issue Aug 11, 2022 · 0 comments

Comments

@zeyus
Copy link
Owner

zeyus commented Aug 11, 2022

Works for global strategy, works for us/them strategy, but not if they have 4.

a similar system of IDs could be implemented with base conversion, but it couldn't be stored in an array because that would be mostly wasted.

number of traits: t [1-n] (n should be one digit in length less than 32 bit UInt max)
number of strategies: s [1-9]

Strategy t1 t2 tn
s1 0 0 0
s2 1 1 1
s3 3 3 3

so bits but with base t e.g. 010 993 819233220

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant