SearchFilter searches for paths from and to given nodes.
Introduction
This searches for paths from the given source node to the destination nodes, and then returns the network consisting of found paths with the minimum distance.
Arguments
src=
name
- Name of the source (start) node to search.
dst=
name
- Name of the destination (end) node to search.
limit=
n
- Maximum path length for searching. If not specified, the limit is assumed to be the same as the number of nodes in the network.
path
- If specified, lists up all the found paths. Note that this requires exponential time and the resultant paths with respect to the number of nodes in the path. By default, paths are output to the standard error. Use
output
argument to store paths in a file.
output=
file
- If
path
is specified, the found paths are output to file file.
outdist=
file
- Writes the distance in the file. In the file, the source node name, the distination node name, and the distance are written in a tab-separated single line. If the path is not found, the distance becomes
NA
.
Filters | INGOR Manual