Skip to content
Snippets Groups Projects
init.ipynb 1.63 KiB
Newer Older
  • Learn to ignore specific revisions
  • rhaag's avatar
    rhaag committed
    {
     "cells": [
      {
       "cell_type": "code",
       "execution_count": null,
       "metadata": {},
       "outputs": [],
       "source": [
        "include(\"../RidePooling/src/RidePooling.jl\")\n",
        "RP = RidePooling"
       ]
      },
      {
       "cell_type": "markdown",
       "metadata": {},
       "source": [
        "## Test Run"
       ]
      },
      {
       "cell_type": "code",
       "execution_count": null,
       "metadata": {},
       "outputs": [],
       "source": [
        "ARGS = []\n",
        "include(\"sim.jl\")"
       ]
      },
      {
       "cell_type": "markdown",
       "metadata": {},
       "source": [
        "## Calculate route Matrices for all maps"
       ]
      },
      {
       "cell_type": "code",
       "execution_count": null,
       "metadata": {},
       "outputs": [],
       "source": [
        "\n",
        "mapPath = \"./Maps/\"\n",
        "matrixPath = mapPath*\"/route_matrices/\"\n",
        "include(mapPath*\"maps.jl\")\n",
        "for (specs, name) in mapToName\n",
        "    println(specs)\n",
        "    mymap=RP.get_map(specs)\n",
        "    RM=RP.calculate_route_matrix(mymap, savepath=name);\n",
        "end"
       ]
      },
      {
       "cell_type": "code",
       "execution_count": null,
       "metadata": {},
       "outputs": [],
       "source": []
      },
      {
       "cell_type": "markdown",
       "metadata": {},
       "source": [
        "## Calculate t0 for maps"
       ]
      },
      {
       "cell_type": "code",
       "execution_count": null,
       "metadata": {},
       "outputs": [],
       "source": []
      }
     ],
     "metadata": {
      "kernelspec": {
       "display_name": "Julia 1.7.2",
       "language": "julia",
       "name": "julia-1.7"
      },
      "language_info": {
       "file_extension": ".jl",
       "mimetype": "application/julia",
       "name": "julia",
       "version": "1.7.2"
      },
      "orig_nbformat": 4
     },
     "nbformat": 4,
     "nbformat_minor": 2
    }