more abstraction and implementation details
[aco.git] / si / ant / graph / ArrayPheromone.java
blob286422cc5348e36accadf9f9233326e244688aa9
1 package si.ant.graph;
3 public class ArrayPheromone extends Pheromone {
5 public ArrayPheromone() {
6 this.pheromone = 0;
9 public ArrayPheromone(double pheromone) {
10 this.pheromone = pheromone;
13 public double getPheromone() {
14 return this.pheromone;
17 public void setPheromone(double pheromone) {
18 this.pheromone = pheromone;
21 protected double pheromone;