Skip to content

Suggested fixes to AnyLogic Agent #34

@davide-z99

Description

@davide-z99

[ ] De-duplicate code
[ ] Improve the create_response() function to match the api_payload output structure
[ ] In order to have the two agents aligned, set the AnyLogic agent to send initial inputs to the simulation by means of UDP packages as the MATLAB agent does in TCP
[ ] Refactoring of streaming.py and interactive.py in a single file that handles bidirectional communication (it should be sufficient to delete streaming.py and to keep the interactive.py file by making the necessary changes to maintain the functionalities)
[ ] Have a look at the asyncio python library to see if it can be used for the UDP communication
[ ] Rename the shared.jar file to make it more self-explicative
[ ] Tests

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