public class OutOfMemoryReason extends Object implements ISolverTerminationReason
| Constructor and Description |
|---|
OutOfMemoryReason(long currentMemory)
Creates a new instance of the
OutOfMemoryReason class |
| Modifier and Type | Method and Description |
|---|---|
ISolverTerminationReason |
combine(ISolverTerminationReason terminationReason)
Combines this termination reason with the given one
|
boolean |
equals(Object obj) |
long |
getCurrentMemory() |
int |
hashCode() |
public OutOfMemoryReason(long currentMemory)
OutOfMemoryReason classcurrentMemory - The amount of memory that is currently in usepublic long getCurrentMemory()
public ISolverTerminationReason combine(ISolverTerminationReason terminationReason)
ISolverTerminationReasoncombine in interface ISolverTerminationReasonterminationReason - The reason to combine this one withCopyright © 2021 Fraunhofer SIT. All rights reserved.