Changeset 15173
- Timestamp:
- 07/10/17 12:35:39 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Problems.Instances.DIMACS/3.3/GcolInstanceProvider.cs
r15172 r15173 108 108 return instance; 109 109 } 110 110 111 111 public override bool CanExportData { get { return true; } } 112 112 public override void ExportData(GCPData instance, string path) { … … 121 121 stream.WriteLine("p edge " + instance.Nodes + " " + edges); 122 122 for (var i = 0; i < edges; i++) { 123 stream.WriteLine("e " + (instance.Adjacencies[i, 0] +1) + " " + (instance.Adjacencies[i, 1]+1));123 stream.WriteLine("e " + (instance.Adjacencies[i, 0] + 1) + " " + (instance.Adjacencies[i, 1] + 1)); 124 124 } 125 125 }
Note: See TracChangeset
for help on using the changeset viewer.