Demo source for finding shortest path in undirected graph using Q-learning technique - one of the reinforcement learning algorithms. The code is C++ traslation from python, inspired by exelent Pluralsight course, namely Understanding Algorithms for Reinforcement Learning. Please subscribe to fully understand and play with the demo code.
Sample undirected graph visualisation:
Console output:
Enjoy!