Class EngineConvex2D
java.lang.Object
jaba.EngineConvex2D
This class from the service demand and the saturation sectors
of the jaba engine create the list of Dominant, Dominate and Convex Hull
point.
- Author:
- Carlo Gimondi
-
Constructor Summary
ConstructorsConstructorDescriptionEngineConvex2D(Vector<Point2D> allPoints, Vector<Object> sd3) Costructor of the life -
Method Summary
Modifier and TypeMethodDescriptionvoidaddFilterArea(double xP1, double yP1, double xP2, double yP2, double error) Add this area to the filt areavoidaddFreeArea(double xP1, double yP1, double xP2, double yP2, double error) Remove the selected area from the filtered areaReturn all the convex hull pointReturn all the dominates pointReturn all the dominates pointReturn all pointsReturn the no-filtered convex pointReturn the no-filtered dominants pointReturn the no-filtered dominates pointReturn the filtered Convex hull pointReturn the filtered dominant pointsReturn the filtered dominate pointsReturn the area in with the point are filteredReturn the filtered pointsReturn the no-filtered point
-
Constructor Details
-
EngineConvex2D
-
-
Method Details
-
getFilteredArea
Return the area in with the point are filtered- Returns:
- The filtered area
-
addFilterArea
public void addFilterArea(double xP1, double yP1, double xP2, double yP2, double error) Add this area to the filt area- Parameters:
xP1- The x of the first pointyP1- The y of the first pointxP2- The x of the second pointyP2- The y of the second pointerror-
-
addFreeArea
public void addFreeArea(double xP1, double yP1, double xP2, double yP2, double error) Remove the selected area from the filtered area- Parameters:
xP1- The x of the first pointyP1- The y of the first pointxP2- The x of the first secondyP2- The y of the first seconderror-
-
getDominates
-
getDominants
-
getConvex
-
getPoints
-
getAllDominates
-
getAllDominants
-
getAllConvex
-
getAllPoints
-
getFiltDominates
-
getFiltDominants
-
getFiltConvex
-
getFiltPoints
-