Traffic-toolbox Function AddLinks - Add links to a net list
Calling Sequence
- AddLinks(tl,hl,lpp)
Parameters
- %net
: the global Netlist variable databasis
- tl
: row vector, tail nodes numbers of the added links
- hl
: row vector, head nodes numbers of the added links
- lpp
: 4 x nl matrix, travel time function parameters, where nl is the number of added links
Description
AddLinks adds links to a net list.
EXAMPLES
%net=TrafficExample('Diamond');
ShowNet()
// Add a new link from node 3 to node 4 with lpp=[0;0;1;1]
AddLinks(3,4,[0;0;1;1]);
// We can see the modifications with
ShowNet()
See Also