Changeset 9167 for branches/LearningClassifierSystems/HeuristicLab.Encodings.CombinedIntegerVectorEncoding/3.3/CombinedIntegerVector.cs
- Timestamp:
- 01/15/13 15:52:54 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/LearningClassifierSystems/HeuristicLab.Encodings.CombinedIntegerVectorEncoding/3.3/CombinedIntegerVector.cs
r9105 r9167 251 251 return result.GetHashCode(); 252 252 } 253 254 public bool Identical(IClassifier classifier) { 255 var cast = classifier as CombinedIntegerVector; 256 if (cast != null) { 257 for (int i = 0; i < array.Length; i++) { 258 if (!array[i].Equals(cast.array[i])) { 259 return false; 260 } 261 } 262 } 263 return true; 264 } 253 265 } 254 266 }
Note: See TracChangeset
for help on using the changeset viewer.