code: public void doMutation(double probability, BinarySolution solution)  {
      for (int i = 0; i < solution.getNumberOfVariables(); i++) {
        for (int j = 0; j < solution.getVariableValue(i).getBinarySetLength(); j++) {
          if (randomGenerator.getRandomValue() <= probability) {
            solution.getVariableValue(i).flip(j);
          }
        }
      }
    }
docs: Perform the mutation operation
  
  @param probability Mutation setProbability
  @param solution    The solution to mutate