- Timestamp:
- 06/24/12 17:57:51 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Problems.LinearAssignment/3.3/LAPAssignment.cs
r8022 r8093 44 44 45 45 [Storable] 46 private StringArray rowNames; 47 public StringArray RowNames { 48 get { return rowNames; } 49 set { 50 bool changed = (rowNames != value); 51 rowNames = value; 52 if (changed) OnPropertyChanged("RowNames"); 53 } 54 } 55 56 [Storable] 57 private StringArray columnNames; 58 public StringArray ColumnNames { 59 get { return columnNames; } 60 set { 61 bool changed = (columnNames != value); 62 columnNames = value; 63 if (changed) OnPropertyChanged("ColumnNames"); 64 } 65 } 66 67 [Storable] 46 68 private Permutation assignment; 47 69 public Permutation Assignment { … … 81 103 this.quality = quality; 82 104 } 105 public LAPAssignment(DoubleMatrix costs, StringArray rowNames, StringArray columnNames, Permutation assignment) 106 : this(costs, assignment) { 107 this.rowNames = rowNames; 108 this.columnNames = columnNames; 109 } 110 public LAPAssignment(DoubleMatrix costs, StringArray rowNames, StringArray columnNames, Permutation assignment, DoubleValue quality) 111 : this(costs, rowNames, columnNames, assignment) { 112 this.quality = quality; 113 } 83 114 84 115 public override IDeepCloneable Clone(Cloner cloner) {
Note: See TracChangeset
for help on using the changeset viewer.