Changeset 14504 for trunk/sources
- Timestamp:
- 12/19/16 13:17:49 (8 years ago)
- Location:
- trunk/sources/HeuristicLab.Problems.Instances.VehicleRouting/3.4
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Problems.Instances.VehicleRouting/3.4/GoldenFormat/GoldenParser.cs
r14185 r14504 366 366 367 367 int index = int.Parse(tokens[0]); 368 double value = double.Parse(tokens[1] );368 double value = double.Parse(tokens[1], System.Globalization.CultureInfo.InvariantCulture); 369 369 370 370 demands[index] = value; -
trunk/sources/HeuristicLab.Problems.Instances.VehicleRouting/3.4/LiLimFormat/LiLimParser.cs
r14185 r14504 149 149 150 150 vehicles = int.Parse(m[0].Value); 151 capacity = double.Parse(m[1].Value );151 capacity = double.Parse(m[1].Value, System.Globalization.CultureInfo.InvariantCulture); 152 152 153 153 line = reader.ReadLine(); -
trunk/sources/HeuristicLab.Problems.Instances.VehicleRouting/3.4/SolomonFormat/SolomonFormatInstanceProvider.cs
r14478 r14504 21 21 22 22 using System; 23 using System.Globalization; 23 24 using System.IO; 24 25 using System.Linq; … … 74 75 break; 75 76 case "Distance": 76 double quality = double.Parse(reader.ReadLine() );77 double quality = double.Parse(reader.ReadLine(), CultureInfo.InvariantCulture); 77 78 instance.BestKnownQuality = quality; 78 79 break; -
trunk/sources/HeuristicLab.Problems.Instances.VehicleRouting/3.4/SolomonFormat/SolomonParser.cs
r14185 r14504 143 143 144 144 vehicles = int.Parse(m[0].Value); 145 capacity = double.Parse(m[1].Value );145 capacity = double.Parse(m[1].Value, System.Globalization.CultureInfo.InvariantCulture); 146 146 147 147 for (int i = 0; i < 4; i++) {
Note: See TracChangeset
for help on using the changeset viewer.