Pathfinding

grid, graph or navmesh?how can i store and use a map in C++ from UE4?