This class uses a combination of a SpatialLinesDataFrame and an igraph object to represent transport networks that can be used for routing and other network analyses.
slA SpatialLinesDataFrame with the geometry and other attributes for each link the in network.
gThe graph network corresponding to sl.
nbA list containing vectors of the nodes connected to each node in the network.
weightfieldA character vector containing the variable (column) name from the SpatialLinesDataFrame to be used for weighting the network.