tntp: Load TNTP-format networks

Description Usage Arguments Details Value Author(s) See Also

Description

Load publicly available sample networks and trip tables in the TNTP format

Usage

1
2
tntp.network(linkfile)
tntp.od(odfile)

Arguments

linkfile

File containing network links

odfile

File containing origin/destination flow information

Details

Use these functions to import sample networks in a standard format originally developed by Hillel Bar-Gera.

Such networks can be found here: http://www.bgu.ac.il/~bargera/tntp

No function is provided for reading the node information that is sometimes supplied with these networks, since those files are generally amenable to input through one of the usual read.table variants.

Value

tntp.networkreturns a highway.net structure suitable for use with travelr functions.

tntp.od returns a matrix of origin/destination flows

Author(s)

Jeremy Raw Hillel Bar-Gera (TNTP file format)

See Also

http://www.bgu.ac.il/~bargera/tntp


travelr documentation built on May 2, 2019, 5:17 p.m.

Related to tntp in travelr...