Okay, so i have followed a the pseudocode for an A* algorithm. But i still do not have a clear understanding of what the G value is. I have looked at 3 different pseudocodes but they are all not clear enough for me.
So if anyone can tell me what exactly it is in a clear explanation it would be very much appreciated. Maybe a link to a more understandable pseudocode would be nice too.