protected void UpdatePheramone(IGraph input) { foreach (var ant in Ants) { foreach (var item in input.GetEdgePath(ant.VisitedVetecies)) { item.Mark = UpdateRules[ant.GetType()].Proccess(item.Mark); } } }