public Mark Proccess(Mark input) { var pheramone = new Pheromone {Value = input.Pheromone.Value}; input.Pheromone.Value += _pheromoneIncriment.Value; var mark = new Mark(input.Path) {Pheromone = pheramone}; return mark; }
public DecrimentRule(Pheromone decrimentPheromone) { _decrimentPheromone = decrimentPheromone; }
public IncrimentRule(Pheromone pheromoneIncriment) { _pheromoneIncriment = pheromoneIncriment; }
public Mark(Path path) { Path = path; Pheromone = new Pheromone(); }