public bool ConflictsWith(ChromoEvent Event) { switch (Event.Type) { case Types.Deletion: return(Range.Intersects(Event.Range)); } return(false); }
protected bool Conflicts(ChromoEvent Event) { bool conflict = false; foreach (ChromoEvent e in Events) { if (Event.ConflictsWith(e)) { conflict = true; break; } } return(conflict); }