import edge_connects, math, random, collections, heapq, re, sys, time, os, datetime <<<<<<< HEAD from journey import Journey from a_star_search import AStarSearch ======= nodeDict = edge_connects.nodeDict() #dictionary from edges to list of times of known crimes (crime type, time) at that edge #knownCrimes = edge_connects.readKnownCrimes() >>>>>>> 08f60ddf70c7c095a79254bd5005440dccbc1618 RISK_WEIGHT = 4 LENGTH_WEIGHT = 1 class StandardSearch(AStarSearch): <<<<<<< HEAD def __init__(self): AStarSearch.__init__(self) # call super __init__ function #dictionary from edges to list of times of known crimes (crime type, time) at that edge self.knownCrimes = edge_connects.readKnownCrimes() ======= class Journey(): def __init__(self, path, startTime) : self.path = path # list of CrimeStreet objects self.startTime = startTime # time of the beginning of the journey def getPath(self) : return self.path