public override int GetHashCode() { int hash = 1; if (totalPathLength_ != null) { hash ^= TotalPathLength.GetHashCode(); } if (totalPathTime_ != null) { hash ^= TotalPathTime.GetHashCode(); } if (v_ != null) { hash ^= V.GetHashCode(); } if (a_ != null) { hash ^= A.GetHashCode(); } if (kappa_ != null) { hash ^= Kappa.GetHashCode(); } if (dkappa_ != null) { hash ^= Dkappa.GetHashCode(); } return(hash); }
public void MergeFrom(PlanningStats other) { if (other == null) { return; } if (other.totalPathLength_ != null) { if (totalPathLength_ == null) { totalPathLength_ = new global::Apollo.Planning.StatsGroup(); } TotalPathLength.MergeFrom(other.TotalPathLength); } if (other.totalPathTime_ != null) { if (totalPathTime_ == null) { totalPathTime_ = new global::Apollo.Planning.StatsGroup(); } TotalPathTime.MergeFrom(other.TotalPathTime); } if (other.v_ != null) { if (v_ == null) { v_ = new global::Apollo.Planning.StatsGroup(); } V.MergeFrom(other.V); } if (other.a_ != null) { if (a_ == null) { a_ = new global::Apollo.Planning.StatsGroup(); } A.MergeFrom(other.A); } if (other.kappa_ != null) { if (kappa_ == null) { kappa_ = new global::Apollo.Planning.StatsGroup(); } Kappa.MergeFrom(other.Kappa); } if (other.dkappa_ != null) { if (dkappa_ == null) { dkappa_ = new global::Apollo.Planning.StatsGroup(); } Dkappa.MergeFrom(other.Dkappa); } }