01 package dk.deepthought.sidious.planner.graph;
02
03 import dk.deepthought.sidious.supportsystem.Step;
04
05 /**
06 * This interface defines edges for the graph in the planner.
07 *
08 * @author Deepthought
09 *
10 */
11 public interface Edge {
12
13 /**
14 * Gets the weight of this <code>Edge</code>
15 *
16 * @return the cost
17 */
18 public double getCost();
19
20 /**
21 * Gets the endpoint of this <code>Edge</code>
22 *
23 * @return the endVertex
24 */
25 public Vertex getEndVertex();
26
27 /**
28 * Gets the startpoint of this <code>Edge</code>
29 *
30 * @return the startVertex
31 */
32 public Vertex getStartVertex();
33
34 /**
35 * Gets the <code>Step</code> this <code>Edge</code> represents
36 *
37 * @return the step
38 */
39 public Step getStep();
40
41 }
|