de5f3c55fefe93775b7044dfb5f3d2a307855db3,flow/utils/aimsun/run.py,,threaded_client,#Any#,63
Before Change
global exited_vehicles
if len(exited_vehicles) == 0:
output = "-1"
else:
output = ":".join([str(e) for e in exited_vehicles])
conn.send(output)
// clear the list
exited_vehicles = []
After Change
// wait for a reply
data = None
while data is None:
data = conn.recv(2048)
// send the next vehicle
conn.send(str(exited_vehicles[0]))
del exited_vehicles[0]
// send a negative response
send_message(conn, in_format="i", values=(1,))
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 5
Instances Project Name: flow-project/flow
Commit Name: de5f3c55fefe93775b7044dfb5f3d2a307855db3
Time: 2019-01-08
Author: y.zeinali@gmail.com
File Name: flow/utils/aimsun/run.py
Class Name:
Method Name: threaded_client
Project Name: minerva-ml/open-solution-data-science-bowl-2018
Commit Name: 28ec5687220f562b3bd1b220ed80eded79c54824
Time: 2018-02-09
Author: kamil-kaczmarek@users.noreply.github.com
File Name: steps/pytorch/callbacks.py
Class Name: TrainingMonitor
Method Name: on_batch_end
Project Name: minerva-ml/open-solution-data-science-bowl-2018
Commit Name: 28ec5687220f562b3bd1b220ed80eded79c54824
Time: 2018-02-09
Author: kamil-kaczmarek@users.noreply.github.com
File Name: steps/pytorch/callbacks.py
Class Name: NeptuneMonitor
Method Name: on_batch_end