Class EngineConvex2D

java.lang.Object
jaba.EngineConvex2D

public class EngineConvex2D extends Object
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 Details

    • EngineConvex2D

      public EngineConvex2D(Vector<Point2D> allPoints, Vector<Object> sd3)
      Costructor of the life
      Parameters:
      allPoints - All the point of the graph
      sd3 - The sector of saturation
  • Method Details

    • getFilteredArea

      public Area 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 point
      yP1 - The y of the first point
      xP2 - The x of the second point
      yP2 - The y of the second point
      error -
    • 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 point
      yP1 - The y of the first point
      xP2 - The x of the first second
      yP2 - The y of the first second
      error -
    • getDominates

      public Vector<Point2D> getDominates()
      Return the no-filtered dominates point
    • getDominants

      public Vector<Point2D> getDominants()
      Return the no-filtered dominants point
    • getConvex

      public Vector<Point2D> getConvex()
      Return the no-filtered convex point
    • getPoints

      public Vector<Point2D> getPoints()
      Return the no-filtered point
    • getAllDominates

      public Vector<Point2D> getAllDominates()
      Return all the dominates point
    • getAllDominants

      public Vector<Point2D> getAllDominants()
      Return all the dominates point
    • getAllConvex

      public Vector<Point2D> getAllConvex()
      Return all the convex hull point
    • getAllPoints

      public Vector<Point2D> getAllPoints()
      Return all points
    • getFiltDominates

      public Vector<Point2D> getFiltDominates()
      Return the filtered dominate points
    • getFiltDominants

      public Vector<Point2D> getFiltDominants()
      Return the filtered dominant points
    • getFiltConvex

      public Vector<Point2D> getFiltConvex()
      Return the filtered Convex hull point
    • getFiltPoints

      public Vector<DPoint> getFiltPoints()
      Return the filtered points