Changeset 184 in tmcsimulator for trunk/src/tmcsim


Ignore:
Timestamp:
10/28/2017 05:24:02 PM (9 years ago)
Author:
jtorres
Message:

highways.java: converted to immutable, removed use of FEPLineLoader and added loadLines(), loadLine(), loadStation(), and loadLoop() methods. Renamed loadHighways() to configureHighways(), renamed writeHighwaysMeta() to getHighwaysMeta() which now returns a String containing metadata instead of opening a file and writing to it, which is more flexible. FEPLineLoader.java: deleted, no longer need it. FEPLine.java: converted to immutable, removed unnecessary member variables and adjusted all methods accordingly. Station.java: MLTotVol() and OppTotVol?() are now being updated at end of updateByDirection(). ATMSDriver.java: Now using one config file: highways_fullmap.txt, as opposed to the older lds.txt and loop.txt files. config/vds_data: added highways_fullmap.txt. config/atms_driver_config.properties, atms_driver_config_local.properties: updated config to reflect use of highways_fullmap.txt instead of old loop.txt and lds.txt configuration. ATMSBatchDriver.java: conformed highways initialization in constructor to reflect use of highways_fullmap.txt

Location:
trunk/src/tmcsim
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/tmcsim/application.properties

    r176 r184  
    1 #Tue, 24 Oct 2017 14:59:28 -0700 
     1#Sat, 28 Oct 2017 18:33:59 -0700 
    22 
    3 Application.revision=174 
     3Application.revision=183 
    44 
    5 Application.buildnumber=57 
     5Application.buildnumber=62 
  • trunk/src/tmcsim/client/ATMSBatchDriver.java

    r183 r184  
    143143        incidents = new HashMap<String, List<TrafficEvent>>(); 
    144144        highways = new Highways( 
    145                 "config/vds_data/lds.txt", 
    146                 "config/vds_data/loop.txt", 
    147                 "config/vds_data/highwaysMeta.txt", 
     145                "config/vds_data/highways_fullmap.txt", 
    148146                //        "192.168.251.46", 8080);  //IP address of FEP Sim Linux VM 
    149147                "localhost", 8080); 
Note: See TracChangeset for help on using the changeset viewer.