Commit 9330f40e authored by Binara's avatar Binara

final changes done in timePrediction

parent 509b5f98
......@@ -200,9 +200,9 @@ Distance =14.7 #Distance data come from seminas ----- data come from the Seminas
# callTimePrediction arguments should be dis, stops, hour, day
# Get Prediction USing this Method after Seminas Calling
def CallTimePrediction(distance,BuStops,TodayDate):
def CallTimePrediction(distance,BuStops,hours,TodayDate):
FnewDate = GetDateCode(TodayDate)
GetPrediction(time,FnewDate,special,Congestion,drivingspeedAVG,BuStops,weather,distance)
GetPrediction(hours,FnewDate,special,Congestion,drivingspeedAVG,BuStops,weather,distance)
......
......@@ -286,7 +286,7 @@ def main( val, start, destination):
CallTimePrediction(dist,len(path),(dateTime.hour),(dateTime.strftime('%A')))
main( 1, 8, 18)
main( 1, 0, 8)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment