Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

YichengShen/CarML-Simulator

Repository files navigation

Car ML Simulator

Sumo Output

In Terminal:

  1. cd into the directory
  2. sumo -c osm.sumocfg --fcd-output 'filename'.xml

Simulation Process

  1. Loop through all vehicles in every timestep
  2. For each vehicle,
  • Check if it is in RSU ranges
  • Check if there are tasks left
  • If yes, update the timer for the vehicle
  • Upon completions of downloads, computations, and uploads, update the total time
  1. Print results (the total time and status of completion)

Classes

  • Simulation
    • env
    • FCD_file
    • vDict
    • rsu_x_range
    • rsu_y_range
    • num_tasks
    • num_tasks_left
  • Vehicle
    • car_id
    • x
    • y
    • speed
    • comp_power
    • bandwidth
    • task_timer
  • RSU (Road Side Unit)
    • rsu_id
    • location_x
    • location_y
    • rsu_range
    • rsu_x_range
    • rsu_y_range
  • SUMOfile
    • ROU_file
    • NET_file
  • Dataset
    • name
    • size
  • Sample
    • s_id
    • dataset (parent)
    • size

About

Research on distributed ML

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

Contributors

AltStyle によって変換されたページ (->オリジナル) /