hust-diangroup / ns3-ai

Enable the interaction between ns-3 and popular frameworks using Python, which mean you can train and test your AI algorithms in ns-3 without changing any frameworks you are using now!
GNU General Public License v2.0
244 stars 86 forks source link

Gymnasium api improvements #125

Open Kakadus opened 5 months ago

Kakadus commented 5 months ago

The first patch implements the missing logic for m_highVec and m_lowVec. The user can either specify the shape via a single value or a vector (corresponding to the shape of the corresponding index). Before, it was simply unused and ignored.

The second patch send terminated or truncated signals dynamically, depending on whether a game_over message was sent.