EnglishFrenchSpanish

OnWorks favicon

botch-graph-shortest-path - Online in the Cloud

Run botch-graph-shortest-path in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command botch-graph-shortest-path that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


botch-graph-shortest-path - find the shortest path(s) between two vertices of a graph in
GraphML or dot format

SYNOPSIS


botch-graph-shortest-path [options] [ingraph] [outgraph] --source SOURCE [SOURCE ...]
--target TARGET [TARGET ...]

DESCRIPTION


Extract the subgraph of the shortest path between two specific nodes in the input graph.

The --target and --source options are mandatory. Since they can take more than one
argument, they have to come after the positional arguments.

If either (or both) of the positional arguments is/are omitted, then read GraphML or dot
from standard input and/or write GraphML or dot to standard output, respectively. Passing
a '-' as either argument, explicitly specifies to read the input from standard input and
write the output to standard output, respectively.

The input graph type will be determined automatically. If the output graph is given as a
filename, then the output type will be GraphML if the filename ends with .xml and dot if
the filename ends with .dot. If the output is done on standard output then it will happen
in the same format as the input graph.

OPTIONS


-h, --help
Display help.

--target=TARGET [TARGET ...]
key:value pairs to match the target vertex

The special key "__ID__" allows one to select the unique vertex identifier.

--source=SOURCE [SOURCE ...]
key:value pairs to match the source vertex

The special key "__ID__" allows one to select the unique vertex identifier.

--all
instead of finding an arbitrary shortest path, find all shortest paths

-v, --verbose
Be verbose.

EXAMPLE


Extract the subgraph of the shortest path from a certain version of the build-essential
binary vertex to a certain version of the ghc source vertex.

botch-graph-shortest-path --source name:build-essential version:11.7 type:bin --target name:ghc version:7.8.4-8 type:src < in.xml > out.xml

or giving input and output as positional arguments:

botch-graph-shortest-path in.xml out.xml --source name:build-essential version:11.7 type:bin --target name:ghc version:7.8.4-8 type:src

Use botch-graph-shortest-path online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    XMLTV
    XMLTV
    XMLTV is a set of programs to process
    TV (tvguide) listings and help manage
    your TV viewing, storing listings in an
    XML-based format. There are utilities to
    do...
    Download XMLTV
  • 2
    strikr
    strikr
    Strikr Free Software project. Artifacts
    released under a 'intent based'
    dual license: AGPLv3 (community) and
    CC-BY-NC-ND 4.0 international
    (commercial)...
    Download strikr
  • 4
    GIFLIB
    GIFLIB
    giflib is a library for reading and
    writing gif images. It is API and ABI
    compatible with libungif which was in
    wide use while the LZW compression
    algorithm was...
    Download GIFLIB
  • 5
    Alt-F
    Alt-F
    Alt-F provides a free and open source
    alternative firmware for the DLINK
    DNS-320/320L/321/323/325/327L and
    DNR-322L. Alt-F has Samba and NFS;
    supports ext2/3/4...
    Download Alt-F
  • 6
    usm
    usm
    Usm is a unified slackware package
    manager that handles automatic
    dependency resolution. It unifies
    various package repositories including
    slackware, slacky, p...
    Download usm
  • More »

Linux commands

Ad