code: public void setMaxBudget(int maxBudget)
      {
          if(maxBudget < 1)
              throw new IllegalArgumentException("Budget must be positive, not " + maxBudget);
          this.maxBudget = maxBudget;
          for(KernelPoint kp : points)
              kp.setMaxBudget(maxBudget);
      }
docs: Sets the maximum budget for support vectors to allow. Setting to
  {@link Integer#MAX_VALUE} is essentially an unbounded number of support
  vectors. Increasing the budget after adding the first vector is always
  allowed, but it may not be possible to reduce the number of current
  support vectors is above the desired budget.
  
  @param maxBudget the maximum number of allowed support vectors