Changeset 87 in tmcsimulator for trunk/src/atmsdriver/model/LoopDetector.java
- Timestamp:
- 10/10/2017 01:09:50 AM (9 years ago)
- File:
-
- 1 edited
-
trunk/src/atmsdriver/model/LoopDetector.java (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/atmsdriver/model/LoopDetector.java
r79 r87 57 57 } 58 58 59 /** 60 * Returns the loop metadata in condensed form. 61 * This is just a quick script function to make a proper highway 62 * metadata configuration file, so that we can read the network 63 * faster. 64 * 65 * @return loop metadata 66 */ 67 public String getLoopMeta() 68 { 69 StringBuilder build = new StringBuilder(); 70 build.append(Integer.toString(this.loopID)); 71 build.append(" "); 72 build.append(Integer.toString(this.laneNum)); 73 build.append(" "); 74 build.append(this.loopLocation); 75 build.append("\n"); 76 return build.toString(); 77 } 78 59 79 /** 60 80 * Updates loop detector dynamic attributes.
Note: See TracChangeset
for help on using the changeset viewer.
