Allocentric navigation : The main code to run is example_13Jun2022.m
Egocentric navigation : the main code is example_22NOV2022.m . The related functions ( which are different from allocentric version) are QLearningFuncApproxEgo.m and buildGridEgo.m