-
Notifications
You must be signed in to change notification settings - Fork 4
/
AbstractTransportMode.py
21 lines (15 loc) · 1.08 KB
/
AbstractTransportMode.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
class AbstractTransportMode:
def getNearestVertexFromAPoint(self, coordinates):
raise NotImplementedError("Should have implemented this")
def getNearestRoutableVertexFromAPoint(self, coordinates, radius=500):
raise NotImplementedError("Should have implemented this")
def getShortestPath(self, startVertexId, endVertexId, cost):
raise NotImplementedError("Should have implemented this")
def getTotalShortestPathCostOneToOne(self, startVertexID, endVertexID, costAttribute):
raise NotImplementedError("Should have implemented this")
def getTotalShortestPathCostManyToOne(self, startVerticesID=[], endVertexID=None, costAttribute=None):
raise NotImplementedError("Should have implemented this")
def getTotalShortestPathCostOneToMany(self, startVertexID=None, endVerticesID=[], costAttribute=None):
raise NotImplementedError("Should have implemented this")
def getTotalShortestPathCostManyToMany(self, startVerticesID=[], endVerticesID=[], costAttribute=None):
raise NotImplementedError("Should have implemented this")