Package org.ddolib.util.verbosity
Enum Class VerbosityLevel
- All Implemented Interfaces:
Serializable,Comparable<VerbosityLevel>,Constable
Defines the different verbosity levels controlling the amount of information
printed during the execution of a solver.
The verbosity level determines how much runtime feedback is displayed while solving an optimization problem. This can range from completely silent operation to detailed tracing of solver progress and subproblem development.
Typical usage involves selecting an appropriate verbosity level in the model
configuration (see Model.verbosityLevel()), depending
on whether the focus is on performance, debugging, or visualization of the search process.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic VerbosityLevelReturns the enum constant of this class with the specified name.static VerbosityLevel[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SILENT
No output is produced.This mode is intended for fully silent execution, where performance measurements or logs are not required.
-
NORMAL
Displays important progress updates.In this mode, the solver prints a message each time a new best objective value is found during the search.
-
LARGE
Displays detailed runtime information for debugging or analysis purposes.In this mode, the solver outputs:
- A message whenever a new best objective is found.
- Periodic statistics about the search frontier (approximately every 0.5 seconds).
- Information about each developed subproblem as the search progresses.
-
EXPORT
Same thatLARGEbut save the logs intologs.txtfiles.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-