327c886a6d204e60cd7367afa273589771dcd8ad,flow/core/kernel/simulation/aimsun.py,AimsunKernelSimulation,start_simulation,#AimsunKernelSimulation#Any#Any#,53

Before Change


                import time
                time.sleep(1)

        data = None
        while data is None:
            data = s.recv(2048)
        print(data.decode("utf-8"))

        // wait for a short period of time for the connection to be finalized
        import time

After Change


        aimsun_call = [aimsun_path, "-script", script_path]
        // subprocess.Popen(aimsun_call)

        return FlowAimsunAPI(port=9999)  // FIXME

    def simulation_step(self):
        Advance the simulation by one step.
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: flow-project/flow
Commit Name: 327c886a6d204e60cd7367afa273589771dcd8ad
Time: 2018-12-24
Author: akreidieh@gmail.com
File Name: flow/core/kernel/simulation/aimsun.py
Class Name: AimsunKernelSimulation
Method Name: start_simulation


Project Name: Ambrosys/glyph
Commit Name: ffa0db4fdca9cef31a72b35a1f7eef78733f5b0c
Time: 2017-02-24
Author: mquade@uni-potsdam.de
File Name: glyph/cli/glyph_remote.py
Class Name: RemoteAssessmentRunner
Method Name: evaluate_single


Project Name: home-assistant/home-assistant
Commit Name: 0c91ba4a50e58734553bfb00fad5a3abab8abe43
Time: 2016-08-23
Author: nkgilley@gmail.com
File Name: homeassistant/components/media_player/gpmdp.py
Class Name: GPMDP
Method Name: update