Skip to content

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

@zeyus

Description

@zeyus

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions