| Modifier and Type | Field and Description |
|---|---|
protected Semaphore |
lock |
protected boolean |
timeoutOccured |
| Constructor and Description |
|---|
CriterionOptimumComputer(ManyCorePB<S> solvers) |
| Modifier and Type | Method and Description |
|---|---|
void |
addObjectiveFunction(ObjectiveFunction obj) |
void |
addObjectiveFunctions(Collection<ObjectiveFunction> objs) |
void |
compute()
Launch optimization processes.
|
void |
expireAll() |
BigInteger[] |
getOptimums()
Allow user to get optimum values.
|
boolean |
timeoutOccured() |
void |
waitForSolvers() |
protected Semaphore lock
protected boolean timeoutOccured
public CriterionOptimumComputer(ManyCorePB<S> solvers)
public void addObjectiveFunction(ObjectiveFunction obj)
public void addObjectiveFunctions(Collection<ObjectiveFunction> objs)
public void compute()
public void expireAll()
public boolean timeoutOccured()
public BigInteger[] getOptimums()
public void waitForSolvers()
Copyright © 2020 Centre de Recherche en Informatique de Lens (CRIL). All rights reserved.