|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ISolutionPool
Field Summary | |
---|---|
static Logger |
LOGGER
|
Method Summary | |
---|---|
List<Solution> |
asList()
A List with the solution from the last solution recorded to the first according. |
void |
clear()
|
Solution |
getBestSolution()
the best/last recorded solution. |
int |
getCapacity()
|
AbstractGlobalSearchStrategy |
getSearchStrategy()
|
boolean |
isEmpty()
|
void |
recordSolution(Solver solver)
use AbstractSearchStrategy.writeSolution(Solution) with the target object of the pool, if any. |
void |
resizeCapacity(int capacity)
optional operation. |
int |
size()
|
Field Detail |
---|
static final Logger LOGGER
Method Detail |
---|
AbstractGlobalSearchStrategy getSearchStrategy()
void clear()
int getCapacity()
void resizeCapacity(int capacity)
boolean isEmpty()
int size()
Solution getBestSolution()
void recordSolution(Solver solver)
AbstractSearchStrategy.writeSolution(Solution)
with the target object of the pool, if any.
solver
- List<Solution> asList()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |