diameter.linnet | R Documentation |
Compute the diameter or bounding radius of a linear network measured using the shortest path distance.
## S3 method for class 'linnet'
diameter(x)
## S3 method for class 'linnet'
boundingradius(x, ...)
x |
Linear network (object of class |
... |
Ignored. |
The diameter of a linear network (in the shortest path distance)
is the maximum value of the shortest-path distance between any
two points u
and v
on the network.
The bounding radius of a linear network (in the shortest path distance)
is the minimum value, over all points u
on the network,
of the maximum shortest-path distance from u
to another point
v
on the network.
The functions boundingradius
and
diameter
are generic;
the functions boundingradius.linnet
and diameter.linnet
are the methods for objects of class linnet
.
A single numeric value.
boundingradius
, diameter
,
linnet
diameter(simplenet)
boundingradius(simplenet)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.