/**
   * Update personal best if and only if the particle is within the bounds of the search space /
   * problem.
   *
   * @param particle The particle to update.
   */
  @Override
  public void updatePersonalBest(Particle particle) {
    if (!Types.isInsideBounds(particle.getPosition())) {
      particle.getProperties().put(EntityType.FITNESS, InferiorFitness.instance());
      return;
    }

    delegate.updatePersonalBest(particle);
  }