- Timestamp:
- 07/19/10 15:24:32 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Encodings.PermutationEncoding/3.3/Moves/ThreeOpt/TranslocationMoveSoftTabuCriterion.cs
r3376 r4045 137 137 if (attribute.Edge1Source == E3S && attribute.Edge1Target == E1T || attribute.Edge1Source == E1T && attribute.Edge1Target == E3S 138 138 || attribute.Edge1Source == E2S && attribute.Edge1Target == E3T || attribute.Edge1Source == E3T && attribute.Edge1Target == E2S 139 || attribute.Edge1Source == E1S && attribute.Edge1Target == E2T || attribute.Edge1Source == E2T && attribute.Edge1Target == E1S140 139 // if previously deleted Edge2Source-Target is readded 141 140 || attribute.Edge2Source == E3S && attribute.Edge2Target == E1T || attribute.Edge2Source == E1T && attribute.Edge2Target == E3S 142 141 || attribute.Edge2Source == E2S && attribute.Edge2Target == E3T || attribute.Edge2Source == E3T && attribute.Edge2Target == E2S 143 || attribute.Edge2Source == E1S && attribute.Edge2Target == E2T || attribute.Edge2Source == E2T && attribute.Edge2Target == E1S144 142 // if previously deleted Edge3Source-Target is readded 145 143 || attribute.Edge3Source == E3S && attribute.Edge3Target == E1T || attribute.Edge3Source == E1T && attribute.Edge3Target == E3S 146 || attribute.Edge3Source == E2S && attribute.Edge3Target == E3T || attribute.Edge3Source == E3T && attribute.Edge3Target == E2S 147 || attribute.Edge3Source == E1S && attribute.Edge3Target == E2T || attribute.Edge3Source == E2T && attribute.Edge3Target == E1S) { 144 || attribute.Edge3Source == E2S && attribute.Edge3Target == E3T || attribute.Edge3Source == E3T && attribute.Edge3Target == E2S) { 148 145 isTabu = true; 149 146 break; … … 152 149 if (attribute.Edge1Source == E3S && attribute.Edge1Target == E1T 153 150 || attribute.Edge1Source == E2S && attribute.Edge1Target == E3T 154 || attribute.Edge1Source == E1S && attribute.Edge1Target == E2T155 151 // if previously deleted Edge2Source-Target is readded 156 152 || attribute.Edge2Source == E3S && attribute.Edge2Target == E1T 157 153 || attribute.Edge2Source == E2S && attribute.Edge2Target == E3T 158 || attribute.Edge2Source == E1S && attribute.Edge2Target == E2T159 154 // if previously deleted Edge3Source-Target is readded 160 155 || attribute.Edge3Source == E3S && attribute.Edge3Target == E1T 161 || attribute.Edge3Source == E2S && attribute.Edge3Target == E3T 162 || attribute.Edge3Source == E1S && attribute.Edge3Target == E2T) { 156 || attribute.Edge3Source == E2S && attribute.Edge3Target == E3T) { 163 157 isTabu = true; 164 158 break;
Note: See TracChangeset
for help on using the changeset viewer.