/// <summary> /// Check equatlity between two <see cref="ConnectionGene"/>s /// </summary> /// <param name="obj">Another <see cref="ConnectionGene"/></param> /// <returns>a boolean that confirm or not the equality</returns> public override bool Equals(object obj) { if (obj is ConnectionGene c) { return(In.Equals(c.In) && Out.Equals(c.Out)); } return(false); }