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;
 }
Esempio n. 2
0
 public DecrimentRule(Pheromone decrimentPheromone)
 {
     _decrimentPheromone = decrimentPheromone;
 }
 public IncrimentRule(Pheromone pheromoneIncriment)
 {
     _pheromoneIncriment = pheromoneIncriment;
 }
Esempio n. 4
0
 public Mark(Path path)
 {
     Path = path;
     Pheromone = new Pheromone();
 }