3 import java
.util
.Vector
;
5 public abstract class Graph
{
7 public abstract void setPheromone(Edge e
, Pheromone p
);
8 public abstract Pheromone
getPheromone(Edge e
);
10 public abstract void setEdgeDist(Edge e
, Distance d
);
11 public abstract Distance
getEdgeDist(Edge e
);
13 public abstract void setEdgeWeigth(Edge e
, Weigth w
);
14 public abstract Weigth
getEdgeWeigth(Edge e
);
16 public abstract Node
[] getNodes(Edge e
);
17 public abstract Vector
<ArrayNode
> getNeighbours(Node n
);
19 public abstract int getNumNodes();