public AdaptiveGridArchive(int capacity,Problem problem,int numberOfDivisions){
  this.capacity=capacity;
  this.problem=problem;
  this.numberOfDivisions=numberOfDivisions;
  minimum=new double[problem.getNumberOfObjectives()];
  maximum=new double[problem.getNumberOfObjectives()];
  density=new int[(int)Math.pow(numberOfDivisions,problem.getNumberOfObjectives())];
  adaptGrid();
}

public AdaptiveGridArchive ( int capacity , Problem problem , int numberOfDivisions ) { this . capacity = capacity ; this . problem = problem ; this . numberOfDivisions = numberOfDivisions ; minimum = new double [ problem . getNumberOfObjectives ( ) ] ; maximum = new double [ problem . getNumberOfObjectives ( ) ] ; density = new int [ ( int ) Math . pow ( numberOfDivisions , problem . getNumberOfObjectives ( ) ) ] ; adaptGrid ( ) ; }
constructs an adaptive grid archive with the specified capacity with the specified number of divisions along each objective .
