diff --git a/src/Model/DataBase.java b/src/Model/DataBase.java index e843e49..25946fb 100644 --- a/src/Model/DataBase.java +++ b/src/Model/DataBase.java @@ -150,7 +150,7 @@ public Point2D findMaxP() } //----------5*O(log(n)) for each calling--------------- - public void deleteMaxP2() + public void deleteMaxP() { ArrayList left = new ArrayList(); ArrayList right = new ArrayList(); diff --git a/src/Model/SmallestEnclosingCirlceAlgorithm1.java b/src/Model/SmallestEnclosingCirlceAlgorithm1.java index 588cb88..96d2353 100644 --- a/src/Model/SmallestEnclosingCirlceAlgorithm1.java +++ b/src/Model/SmallestEnclosingCirlceAlgorithm1.java @@ -39,7 +39,7 @@ public void computeSmallestEnclosingCircle() maxAngle = dataBase.findMaxP().getX(); if(maxAngle>myPi2) { - dataBase.deleteMaxP2(); + dataBase.deleteMaxP(); }else { dataBase.moveToCircleArray(); diff --git a/src/Model/VoronoiAlgorithm2and3.java b/src/Model/VoronoiAlgorithm2and3.java index b63cae8..5ad558c 100644 --- a/src/Model/VoronoiAlgorithm2and3.java +++ b/src/Model/VoronoiAlgorithm2and3.java @@ -38,7 +38,7 @@ public void computeVoronoiDiagram() dataBase.addCandUtoE(c, dataBase.getUp(p)); dataBase.addCandUtoE(c, dataBase.getUp(before_p)); //u(q)=c; - dataBase.deleteMaxP2(); + dataBase.deleteMaxP(); n = n-1; }while(n != 2); // dataBase.addCandUtoE(dataBase.getUp2(before_p), dataBase.getUp2(next_p)); diff --git a/src/View/MainGUI.java b/src/View/MainGUI.java index 29a51bb..664bf2d 100644 --- a/src/View/MainGUI.java +++ b/src/View/MainGUI.java @@ -26,7 +26,7 @@ public class MainGUI extends Application { private String javaVersion = System.getProperty("java.version"); private String javafxVersion = System.getProperty("javafx.version"); - private String version = "v0.8"; + private String version = "v0.9"; private Stage stage; private Scene scene;