Hello,
If you open the Voyager documentation there are quite a few examples and explanations for SELECTLINK. One example for the Highway program is found at the bottom of page 291 in the latest Release Guide for Cube Voyager:
PATHLOAD PATH=COST, VOL[1]=MI.1.ODTRIPS
PATHLOAD PATH=COST, MW[6]=MW[3], SELECTLINK=(L=2001-2004),
VOL[1]=MW[3], VOL[2]=MW[6],VOL[3]=MW[3],TIME=0-7.5
This first PATHLOAD statement causes the COST paths to be built, and then the values from MI.1.ODTRIPS are assigned and added to VOL[1].
The second PATHLOAD statement causes the following sequence of events:
- COST paths are built.
- MW[6] is set equal to the values in MW[3] for the Js whose path from I crosses link 2001-2004.
- The values from MW[3] are assigned to the COST paths and added into VOL[1] volumes.
- The values from MW[6] (the selected link trips) are assigned to the COST paths and added into VOL[2].
- The values from MW[3] are assigned to only the links that are within 7.5 minutes from I and added into VOL[3] (these are the cold start volumes).
Don’t forget though you can include several links e.g.
SELECTLINK=(L=2001-2004 && L=2004-2008) - i.e. it needs to use both links to be saved
SELECTLINK=(L=2001-2004 || L=2004-2008) - i.e. it needs to use either link to be saved
This is different for Public Transport skims which can be seen on page 735.