Class MemoryLimitException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.ddolib.common.solver.stopcriterion.MemoryLimitException
- All Implemented Interfaces:
Serializable
Signals that a search reached its memory limit, see
StopCriterion.maxFrontierSize(int).
The solvers catch it, like an OutOfMemoryError, and return the best solution found so
far with the status SearchStatus.MEMOUT.- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
MemoryLimitException
Creates the exception. No stack trace is recorded, it is not needed to stop the search.- Parameters:
message- the description of the limit that was reached
-