routing

command module
v2.0.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 3, 2024 License: MIT Imports: 30 Imported by: 0

README

Routing

Run
./routing -h
  -benchmark
        benchmark mode
  -benchmark.aoi_id_end int
        the end aoi id for benchmark (default 500010000)
  -benchmark.aoi_id_start int
        the start aoi id for benchmark (default 500000000)
  -benchmark.count int
        the random routing count for benchmark (default 1000)
  -benchmark.cpu int
        the cpu count for benchmark (default 1)
  -benchmark.seed int
        the seed for benchmark
  -cache string
        input cache dir path (empty means disable cache)
  -listen string
        gRPC listening address (default "localhost:52101")
  -log-level string
        log level [debug, info, warn, error, fatal, panic] (default "info")
  -map string
        map database and collection [format: {fspath} or {db}.{col}]
  -mongo_uri string
        mongo db uri
  -pprof string
        pprof listening address (default "localhost:52102")
  -road-statuses string
        roadstatuses database and collection, can be empty [format: {fspath} or {db}.{col}]

Simplest way to run:

./routing -map ./map.pb

Attention for Windows Users

Windows Defender may block the execution of the program. You can unblock it by following the steps below:

  1. Open Windows Security
  2. Click on Virus & threat protection
  3. Click on Protection history
  4. Click on the "Allow" button for the blocked program

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳