github.com/hzck/speedroute@v0.0.0-20201115191102-403b7d0e443f/algorithm/tests/revisit/revisit_looping.json (about)

     1  {
     2    "name": "Revisit looping",
     3    "description": "A short revisiting loop as part of the graph.",
     4    "testing": "Identifying loop to avoid getting stuck and taking up memory.",
     5    "visual": "START->END(1000000ms), START->1, 1->START",
     6    "nodes": [
     7      {
     8        "id": "START",
     9        "revisitable": true
    10      },
    11      {
    12        "id": "END"
    13      },
    14      {
    15        "id": "1",
    16        "revisitable": true
    17      }
    18    ],
    19    "edges": [
    20      {
    21        "from": "START",
    22        "to": "END",
    23        "weights": [
    24          {
    25            "time": "1000000"
    26          }
    27        ]
    28      },
    29      {
    30        "from": "START",
    31        "to": "1"
    32      },
    33      {
    34        "from": "1",
    35        "to": "START"
    36      }
    37    ],
    38    "startId": "START",
    39    "endId": "END"
    40  }