Ignore:
Timestamp:
02/25/2019 04:36:04 PM (7 years ago)
Author:
jdalbey
Message:

Multi file commit: adding and elaborating on comments and javadoc.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/tmcsim/utilities/BuildHighwayFile.java

    r272 r274  
    1 /* 
    2  * To change this license header, choose License Headers in Project Properties. 
    3  * To change this template file, choose Tools | Templates 
    4  * and open the template in the editor. 
    5  */ 
    61package tmcsim.utilities; 
    72 
     
    3025 *      3. LDS file that has the fep line number for each LDS. 
    3126 * Output: 1. The highway map file that lists VDS info and the lanes it governs. 
    32  *      2. A slightly reformatted loop file. 
     27 *      2. A slightly reformatted loop file.  (Not sure what this is for.) 
    3328 * @author jdalbey, jtorres 
    3429 */ 
     
    157152                else 
    158153                { 
    159                     if (shortLoc.equals("ML") && !missingVDS.contains(vdsID)) 
     154                    boolean desiredType = shortLoc.equals("ML") || shortLoc.equals("OS"); 
     155                    if (desiredType && !missingVDS.contains(vdsID)) 
    160156                    { 
    161157                        System.out.println("createLaneLookup(): vdsID: "+vdsID+ 
    162                                 " of type ML not found. "+ String.format("%3s %s %5s",fwy,dir,postmile)); 
     158                                " of type "+shortLoc+" not found. "+ String.format("%3s %s %5s",fwy,dir,postmile)); 
    163159                        missingVDS.add(vdsID); 
    164160                    } 
Note: See TracChangeset for help on using the changeset viewer.