/// <inheritdoc /> public override int GetHashCode() { var hashCode = 161077207; hashCode = hashCode * -1521134295 + IsPhased.GetHashCode(); hashCode = hashCode * -1521134295 + HashCodeUtils.GenerateForEnumerables(GenotypeIndices, IsPhased); return(hashCode); }
/// <inheritdoc /> public bool Equals([NotNull] IGenotypeInfo other) => IsPhased.Equals(other.IsPhased) && (IsPhased ? GenotypeIndices.SequenceEqual(other.GenotypeIndices) : GenotypeIndices.IsScrambledEquals(other.GenotypeIndices));