| Constructor and Description |
|---|
TimeBudget(int time)
Allow algorithm to run for a fixed time (in seconds).
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isExhausted(Solution solution)
Returns true when the allocated budget is exhausted.
|
public TimeBudget(int time)
time - in secondspublic final boolean isExhausted(Solution solution)
BudgetisExhausted in interface BudgetCopyright © 2017. All rights reserved.