Neuro-Dynamic Programming for the exploration of unknown graphs