Changeset 8086 for branches/ScatterSearch (trunk integration)/HeuristicLab.Problems.Instances.CordeauGQAP
- Timestamp:
- 06/22/12 11:11:38 (13 years ago)
- Location:
- branches/ScatterSearch (trunk integration)
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/ScatterSearch (trunk integration)
- Property svn:ignore
-
old new 20 20 bin 21 21 protoc.exe 22 _ReSharper.HeuristicLab 3.3 Tests
-
- Property svn:mergeinfo changed
- Property svn:ignore
-
branches/ScatterSearch (trunk integration)/HeuristicLab.Problems.Instances.CordeauGQAP/3.3/CordeauGQAPInstanceProvider.cs
r7638 r8086 51 51 52 52 private const string FileName = "CordeauGQAP"; 53 53 54 54 public override IEnumerable<IDataDescriptor> GetDataDescriptors() { 55 55 var instanceArchiveName = GetResourceName(FileName + @"\.zip"); … … 98 98 private GQAPData Load(CordeauGQAPParser parser) { 99 99 var instance = new GQAPData(); 100 instance.BestKnownQuality = parser.BestKnownQuality; 100 101 instance.Equipments = parser.Equipments; 101 102 instance.Locations = parser.Locations; -
branches/ScatterSearch (trunk integration)/HeuristicLab.Problems.Instances.CordeauGQAP/3.3/CordeauGQAPParser.cs
r7538 r8086 29 29 public int Locations { get; private set; } 30 30 public double TransportationCosts { get; private set; } 31 public double BestKnownQuality { get; private set; } 31 32 public double[,] Weights { get; private set; } 32 33 public double[,] Distances { get; private set; } … … 73 74 74 75 line = Continue(reader); 76 double bkq; 77 if (!double.TryParse(line, out bkq)) 78 BestKnownQuality = double.NaN; 79 else { 80 BestKnownQuality = bkq; 81 line = Continue(reader); 82 } 75 83 76 84 Weights = new double[Equipments, Equipments];
Note: See TracChangeset
for help on using the changeset viewer.