Skip to content

Commit

Permalink
update version -> 0.9
Browse files Browse the repository at this point in the history
  • Loading branch information
johnprif committed Feb 13, 2023
1 parent 6882543 commit 22b8d66
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/Model/DataBase.java
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ public Point2D findMaxP()
}

//----------5*O(log(n)) for each calling---------------
public void deleteMaxP2()
public void deleteMaxP()
{
ArrayList<Point2D> left = new ArrayList<Point2D>();
ArrayList<Point2D> right = new ArrayList<Point2D>();
Expand Down
2 changes: 1 addition & 1 deletion src/Model/SmallestEnclosingCirlceAlgorithm1.java
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public void computeSmallestEnclosingCircle()
maxAngle = dataBase.findMaxP().getX();
if(maxAngle>myPi2)
{
dataBase.deleteMaxP2();
dataBase.deleteMaxP();
}else
{
dataBase.moveToCircleArray();
Expand Down
2 changes: 1 addition & 1 deletion src/Model/VoronoiAlgorithm2and3.java
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down
2 changes: 1 addition & 1 deletion src/View/MainGUI.java
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 22b8d66

Please sign in to comment.