├── .gitignore ├── .gitmodules ├── default.nix ├── launches ├── conveyor_break_test.yaml ├── conveyor_energy_test.yaml ├── conveyor_energy_test_2.yaml ├── conveyor_first_test.yaml ├── conveyor_second_test.yaml ├── conveyor_test.yaml ├── conveyor_third_test.yaml ├── conveyor_whatevs_test.yaml ├── launch1.yaml ├── launch10.yaml ├── launch11.yaml ├── launch2.yaml ├── launch3.yaml ├── launch4.yaml ├── launch5.yaml ├── launch6.yaml ├── launch7.yaml ├── launch8.yaml ├── launch9.yaml ├── launch_6x6_1.yaml ├── launch_dqn_transfer.yaml ├── launch_emb_test.yaml ├── launch_long_calm.yaml ├── launch_pq.yaml ├── launch_rand_big.yaml ├── launch_smol.yaml └── launch_test.yaml ├── manylinux1.nix ├── notebooks ├── Untitled.ipynb ├── dqn_pretrain.ipynb ├── plot_data.ipynb ├── run_simulation.ipynb └── test_embedidngs.ipynb ├── requirements.txt ├── shell.nix └── src ├── conveyor_path_generator.py ├── dqnroute ├── __init__.py ├── agents │ ├── __init__.py │ ├── base.py │ ├── conveyors │ │ ├── __init__.py │ │ ├── centralized.py │ │ ├── common.py │ │ ├── conveyor.py │ │ └── diverter.py │ └── routers │ │ ├── __init__.py │ │ ├── centralized.py │ │ ├── dqn.py │ │ ├── link_state.py │ │ ├── q_routing.py │ │ └── random.py ├── constants.py ├── conveyor_model │ ├── __init__.py │ ├── continuous_variable.py │ └── model.py ├── event_queue.py ├── event_series.py ├── generator.py ├── memory.py ├── messages.py ├── networks │ ├── __init__.py │ ├── common.py │ ├── embeddings.py │ └── q_network.py ├── simulation │ ├── __init__.py │ ├── common.py │ ├── conveyors.py │ ├── network.py │ └── training.py ├── test │ ├── __init__.py │ └── test_event_queue.py └── utils.py ├── path_generator.py └── setup.py /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyingleafe/dqnroute/HEAD/.gitignore -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyingleafe/dqnroute/HEAD/.gitmodules -------------------------------------------------------------------------------- /default.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyingleafe/dqnroute/HEAD/default.nix -------------------------------------------------------------------------------- /launches/conveyor_break_test.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyingleafe/dqnroute/HEAD/launches/conveyor_break_test.yaml -------------------------------------------------------------------------------- /launches/conveyor_energy_test.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyingleafe/dqnroute/HEAD/launches/conveyor_energy_test.yaml -------------------------------------------------------------------------------- /launches/conveyor_energy_test_2.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyingleafe/dqnroute/HEAD/launches/conveyor_energy_test_2.yaml -------------------------------------------------------------------------------- /launches/conveyor_first_test.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyingleafe/dqnroute/HEAD/launches/conveyor_first_test.yaml -------------------------------------------------------------------------------- /launches/conveyor_second_test.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyingleafe/dqnroute/HEAD/launches/conveyor_second_test.yaml -------------------------------------------------------------------------------- /launches/conveyor_test.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyingleafe/dqnroute/HEAD/launches/conveyor_test.yaml -------------------------------------------------------------------------------- /launches/conveyor_third_test.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyingleafe/dqnroute/HEAD/launches/conveyor_third_test.yaml -------------------------------------------------------------------------------- /launches/conveyor_whatevs_test.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyingleafe/dqnroute/HEAD/launches/conveyor_whatevs_test.yaml -------------------------------------------------------------------------------- /launches/launch1.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyingleafe/dqnroute/HEAD/launches/launch1.yaml -------------------------------------------------------------------------------- /launches/launch10.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyingleafe/dqnroute/HEAD/launches/launch10.yaml -------------------------------------------------------------------------------- /launches/launch11.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyingleafe/dqnroute/HEAD/launches/launch11.yaml -------------------------------------------------------------------------------- /launches/launch2.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyingleafe/dqnroute/HEAD/launches/launch2.yaml -------------------------------------------------------------------------------- /launches/launch3.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyingleafe/dqnroute/HEAD/launches/launch3.yaml -------------------------------------------------------------------------------- /launches/launch4.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyingleafe/dqnroute/HEAD/launches/launch4.yaml -------------------------------------------------------------------------------- /launches/launch5.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyingleafe/dqnroute/HEAD/launches/launch5.yaml -------------------------------------------------------------------------------- /launches/launch6.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyingleafe/dqnroute/HEAD/launches/launch6.yaml -------------------------------------------------------------------------------- /launches/launch7.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyingleafe/dqnroute/HEAD/launches/launch7.yaml -------------------------------------------------------------------------------- /launches/launch8.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyingleafe/dqnroute/HEAD/launches/launch8.yaml -------------------------------------------------------------------------------- /launches/launch9.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyingleafe/dqnroute/HEAD/launches/launch9.yaml -------------------------------------------------------------------------------- /launches/launch_6x6_1.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyingleafe/dqnroute/HEAD/launches/launch_6x6_1.yaml -------------------------------------------------------------------------------- /launches/launch_dqn_transfer.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyingleafe/dqnroute/HEAD/launches/launch_dqn_transfer.yaml -------------------------------------------------------------------------------- /launches/launch_emb_test.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyingleafe/dqnroute/HEAD/launches/launch_emb_test.yaml -------------------------------------------------------------------------------- /launches/launch_long_calm.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyingleafe/dqnroute/HEAD/launches/launch_long_calm.yaml -------------------------------------------------------------------------------- /launches/launch_pq.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyingleafe/dqnroute/HEAD/launches/launch_pq.yaml -------------------------------------------------------------------------------- /launches/launch_rand_big.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyingleafe/dqnroute/HEAD/launches/launch_rand_big.yaml -------------------------------------------------------------------------------- /launches/launch_smol.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyingleafe/dqnroute/HEAD/launches/launch_smol.yaml -------------------------------------------------------------------------------- /launches/launch_test.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyingleafe/dqnroute/HEAD/launches/launch_test.yaml -------------------------------------------------------------------------------- /manylinux1.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyingleafe/dqnroute/HEAD/manylinux1.nix -------------------------------------------------------------------------------- /notebooks/Untitled.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyingleafe/dqnroute/HEAD/notebooks/Untitled.ipynb -------------------------------------------------------------------------------- /notebooks/dqn_pretrain.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyingleafe/dqnroute/HEAD/notebooks/dqn_pretrain.ipynb -------------------------------------------------------------------------------- /notebooks/plot_data.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyingleafe/dqnroute/HEAD/notebooks/plot_data.ipynb -------------------------------------------------------------------------------- /notebooks/run_simulation.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyingleafe/dqnroute/HEAD/notebooks/run_simulation.ipynb -------------------------------------------------------------------------------- /notebooks/test_embedidngs.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyingleafe/dqnroute/HEAD/notebooks/test_embedidngs.ipynb -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyingleafe/dqnroute/HEAD/requirements.txt -------------------------------------------------------------------------------- /shell.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyingleafe/dqnroute/HEAD/shell.nix -------------------------------------------------------------------------------- /src/conveyor_path_generator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyingleafe/dqnroute/HEAD/src/conveyor_path_generator.py -------------------------------------------------------------------------------- /src/dqnroute/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyingleafe/dqnroute/HEAD/src/dqnroute/__init__.py -------------------------------------------------------------------------------- /src/dqnroute/agents/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyingleafe/dqnroute/HEAD/src/dqnroute/agents/__init__.py -------------------------------------------------------------------------------- /src/dqnroute/agents/base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyingleafe/dqnroute/HEAD/src/dqnroute/agents/base.py -------------------------------------------------------------------------------- /src/dqnroute/agents/conveyors/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyingleafe/dqnroute/HEAD/src/dqnroute/agents/conveyors/__init__.py -------------------------------------------------------------------------------- /src/dqnroute/agents/conveyors/centralized.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyingleafe/dqnroute/HEAD/src/dqnroute/agents/conveyors/centralized.py -------------------------------------------------------------------------------- /src/dqnroute/agents/conveyors/common.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyingleafe/dqnroute/HEAD/src/dqnroute/agents/conveyors/common.py -------------------------------------------------------------------------------- /src/dqnroute/agents/conveyors/conveyor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyingleafe/dqnroute/HEAD/src/dqnroute/agents/conveyors/conveyor.py -------------------------------------------------------------------------------- /src/dqnroute/agents/conveyors/diverter.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyingleafe/dqnroute/HEAD/src/dqnroute/agents/conveyors/diverter.py -------------------------------------------------------------------------------- /src/dqnroute/agents/routers/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyingleafe/dqnroute/HEAD/src/dqnroute/agents/routers/__init__.py -------------------------------------------------------------------------------- /src/dqnroute/agents/routers/centralized.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyingleafe/dqnroute/HEAD/src/dqnroute/agents/routers/centralized.py -------------------------------------------------------------------------------- /src/dqnroute/agents/routers/dqn.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyingleafe/dqnroute/HEAD/src/dqnroute/agents/routers/dqn.py -------------------------------------------------------------------------------- /src/dqnroute/agents/routers/link_state.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyingleafe/dqnroute/HEAD/src/dqnroute/agents/routers/link_state.py -------------------------------------------------------------------------------- /src/dqnroute/agents/routers/q_routing.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyingleafe/dqnroute/HEAD/src/dqnroute/agents/routers/q_routing.py -------------------------------------------------------------------------------- /src/dqnroute/agents/routers/random.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyingleafe/dqnroute/HEAD/src/dqnroute/agents/routers/random.py -------------------------------------------------------------------------------- /src/dqnroute/constants.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyingleafe/dqnroute/HEAD/src/dqnroute/constants.py -------------------------------------------------------------------------------- /src/dqnroute/conveyor_model/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyingleafe/dqnroute/HEAD/src/dqnroute/conveyor_model/__init__.py -------------------------------------------------------------------------------- /src/dqnroute/conveyor_model/continuous_variable.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyingleafe/dqnroute/HEAD/src/dqnroute/conveyor_model/continuous_variable.py -------------------------------------------------------------------------------- /src/dqnroute/conveyor_model/model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyingleafe/dqnroute/HEAD/src/dqnroute/conveyor_model/model.py -------------------------------------------------------------------------------- /src/dqnroute/event_queue.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyingleafe/dqnroute/HEAD/src/dqnroute/event_queue.py -------------------------------------------------------------------------------- /src/dqnroute/event_series.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyingleafe/dqnroute/HEAD/src/dqnroute/event_series.py -------------------------------------------------------------------------------- /src/dqnroute/generator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyingleafe/dqnroute/HEAD/src/dqnroute/generator.py -------------------------------------------------------------------------------- /src/dqnroute/memory.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyingleafe/dqnroute/HEAD/src/dqnroute/memory.py -------------------------------------------------------------------------------- /src/dqnroute/messages.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyingleafe/dqnroute/HEAD/src/dqnroute/messages.py -------------------------------------------------------------------------------- /src/dqnroute/networks/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyingleafe/dqnroute/HEAD/src/dqnroute/networks/__init__.py -------------------------------------------------------------------------------- /src/dqnroute/networks/common.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyingleafe/dqnroute/HEAD/src/dqnroute/networks/common.py -------------------------------------------------------------------------------- /src/dqnroute/networks/embeddings.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyingleafe/dqnroute/HEAD/src/dqnroute/networks/embeddings.py -------------------------------------------------------------------------------- /src/dqnroute/networks/q_network.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyingleafe/dqnroute/HEAD/src/dqnroute/networks/q_network.py -------------------------------------------------------------------------------- /src/dqnroute/simulation/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyingleafe/dqnroute/HEAD/src/dqnroute/simulation/__init__.py -------------------------------------------------------------------------------- /src/dqnroute/simulation/common.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyingleafe/dqnroute/HEAD/src/dqnroute/simulation/common.py -------------------------------------------------------------------------------- /src/dqnroute/simulation/conveyors.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyingleafe/dqnroute/HEAD/src/dqnroute/simulation/conveyors.py -------------------------------------------------------------------------------- /src/dqnroute/simulation/network.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyingleafe/dqnroute/HEAD/src/dqnroute/simulation/network.py -------------------------------------------------------------------------------- /src/dqnroute/simulation/training.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyingleafe/dqnroute/HEAD/src/dqnroute/simulation/training.py -------------------------------------------------------------------------------- /src/dqnroute/test/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/dqnroute/test/test_event_queue.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyingleafe/dqnroute/HEAD/src/dqnroute/test/test_event_queue.py -------------------------------------------------------------------------------- /src/dqnroute/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyingleafe/dqnroute/HEAD/src/dqnroute/utils.py -------------------------------------------------------------------------------- /src/path_generator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyingleafe/dqnroute/HEAD/src/path_generator.py -------------------------------------------------------------------------------- /src/setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyingleafe/dqnroute/HEAD/src/setup.py --------------------------------------------------------------------------------