Enum SolverMetric

    • Enum Constant Detail

      • SOLVE_DURATION

        public static final SolverMetric SOLVE_DURATION
      • SCORE_CALCULATION_COUNT

        public static final SolverMetric SCORE_CALCULATION_COUNT
      • BEST_SOLUTION_MUTATION

        public static final SolverMetric BEST_SOLUTION_MUTATION
      • MOVE_COUNT_PER_STEP

        public static final SolverMetric MOVE_COUNT_PER_STEP
      • CONSTRAINT_MATCH_TOTAL_BEST_SCORE

        public static final SolverMetric CONSTRAINT_MATCH_TOTAL_BEST_SCORE
      • CONSTRAINT_MATCH_TOTAL_STEP_SCORE

        public static final SolverMetric CONSTRAINT_MATCH_TOTAL_STEP_SCORE
      • PICKED_MOVE_TYPE_BEST_SCORE_DIFF

        public static final SolverMetric PICKED_MOVE_TYPE_BEST_SCORE_DIFF
      • PICKED_MOVE_TYPE_STEP_SCORE_DIFF

        public static final SolverMetric PICKED_MOVE_TYPE_STEP_SCORE_DIFF
    • Method Detail

      • values

        public static SolverMetric[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (SolverMetric c : SolverMetric.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static SolverMetric valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • getMeterId

        public String getMeterId()
      • isMetricBestSolutionBased

        public boolean isMetricBestSolutionBased()
      • register

        public void register​(Solver<?> solver)
      • unregister

        public void unregister​(Solver<?> solver)