<commit_before>namespace mant {
  template <typename ParameterType>
  class OptimisationProblem : public Printable {
    public:
      const unsigned int numberOfDimensions_;
.
      explicit OptimisationProblem(
        const unsigned int& numberOfDimensions) noexcept;

      arma::Col<unsigned int> isSatisfyingLowerBounds(
        const arma::Col<ParameterType>& parameter);

      arma::Col<unsigned int> isSatisfyingUpperBounds(
        const arma::Col<ParameterType>& parameter);

      bool isSatisfyingSoftConstraints(
        const arma::Col<ParameterType>& parameter);

      bool isSatisfyingConstraints(
        const arma::Col<ParameterType>& parameter);

      double getSoftConstraintsValue(
        const arma::Col<ParameterType>& parameter);

      double getObjectiveValue(
        const arma::Col<ParameterType>& parameter);

      arma::Col<ParameterType> getLowerBounds() const noexcept;

      void setLowerBounds(
        const arma::Col<ParameterType> lowerBounds);

      arma::Col<ParameterType> getUpperBounds() const noexcept;

      void setUpperBounds(
        const arma::Col<ParameterType> upperBounds);

      void setParameterTranslation(
          const arma::Col<ParameterType> parameterTranslation);

      void setParameterScale(
        const arma::Col<ParameterType> parameterScale);

      void setParameterRotation(
        const arma::Mat<ParameterType> parameterRotation);

      void setObjectiveValueTranslation(
        const double objectiveValueTranslation) noexcept;

      void setObjectiveValueScale(
        const double objectiveValueScale) noexcept;
        
      double getAcceptableObjectiveValue() const noexcept;
      
      void setAcceptableObjectiveValue(
          const double acceptableObjectiveValue) noexcept;

      unsigned int getNumberOfEvaluations() const noexcept;<commit_msg>devel: Reordered the API according to its reference<commit_after>namespace mant {
  template <typename ParameterType>
  class OptimisationProblem : public Printable {
    public:
      const unsigned int numberOfDimensions_;
.
      explicit OptimisationProblem(
        const unsigned int& numberOfDimensions) noexcept;

      void setLowerBounds(
        const arma::Col<ParameterType> lowerBounds);

      void setUpperBounds(
        const arma::Col<ParameterType> upperBounds);

      arma::Col<ParameterType> getLowerBounds() const noexcept;

      arma::Col<ParameterType> getUpperBounds() const noexcept;

      double getSoftConstraintsValue(
        const arma::Col<ParameterType>& parameter);

      arma::Col<unsigned int> isSatisfyingLowerBounds(
        const arma::Col<ParameterType>& parameter);

      arma::Col<unsigned int> isSatisfyingUpperBounds(
        const arma::Col<ParameterType>& parameter);

      bool isSatisfyingSoftConstraints(
        const arma::Col<ParameterType>& parameter);

      bool isSatisfyingConstraints(
        const arma::Col<ParameterType>& parameter);

      void setParameterTranslation(
          const arma::Col<ParameterType> parameterTranslation);

      void setParameterScale(
        const arma::Col<ParameterType> parameterScale);

      void setParameterRotation(
        const arma::Mat<ParameterType> parameterRotation);

      void setObjectiveValueTranslation(
        const double objectiveValueTranslation) noexcept;

      void setObjectiveValueScale(
        const double objectiveValueScale) noexcept;
      
      void setAcceptableObjectiveValue(
          const double acceptableObjectiveValue) noexcept;
        
      double getAcceptableObjectiveValue() const noexcept;

      double getObjectiveValue(
        const arma::Col<ParameterType>& parameter);

      unsigned int getNumberOfEvaluations() const noexcept;
{'fraction_non_alphanumeric': 0.07242116515232495, 'fraction_numerical': 0.0, 'mean_word_length': 3.6209876543209876, 'pattern_counts': {'":': 0, '<': 35, '<?xml version=': 0, '>': 35, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5821949', 'n_tokens_mistral': 945, 'n_tokens_neox': 900, 'n_words': 232}