p0sitive1 / Q-Hierarchical

3 stars 0 forks source link

Adaptive Routing with Hierarchical Reinforcement Learning on Dragonfly Networks

Model training and testing

To train Q-routing, Q-adaptive, and Q-hierarchical, initialize agent with static=False, i.e.

agent = Qroute(network, static=False)

To test, initialize agent with static=True