示例#1
0
文件: JRPModel.java 项目: Hakype/Sem4
 /** * Setting up the end position for quickest path algorithm** */
 public String PathFinish(Coordinates c) {
   finishPosition.setX(c.getX());
   finishPosition.setY(c.getY());
   return "Hurtigste rute til position "
       + finishPosition.getX()
       + ","
       + finishPosition.getY()
       + " beregnes";
 }
示例#2
0
文件: JRPModel.java 项目: Hakype/Sem4
 /** * Setting up the start position for quickest path algorithm ** */
 public String PathStart(Coordinates c) {
   startPosition.setX(c.getX());
   startPosition.setY(c.getY());
   return "" + startPosition.getX() + "," + startPosition.getY();
 }