Deterministic vs heuristic algorithms for eco-driving application in metro network