|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectlio.LiOTask
lio.search.local.greedy.LiOGreedyTask
public abstract class LiOGreedyTask
This class extends LiOTask in order to provide some methods needed to perform greedy based construction of solutions.
| Constructor Summary | |
|---|---|
LiOGreedyTask()
|
|
| Method Summary | |
|---|---|
abstract Individual[] |
genCandidateSteps(Individual pSolution,
int nCandidates)
Returns the best partial solutions that could be built in one step from the given one. |
abstract Individual |
generateStartingPoint()
Generates a minimum partial solution randomly. |
abstract boolean |
isComplete(Individual pSolution)
Determines whether solution is a complete one or not. |
| Methods inherited from class lio.LiOTask |
|---|
defineIndividuals, evaluate, getDefinition, optimum |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LiOGreedyTask()
| Method Detail |
|---|
public abstract Individual generateStartingPoint()
public abstract Individual[] genCandidateSteps(Individual pSolution,
int nCandidates)
pSolution - Partial solution that is going to be expanded.nCandidates - Number partial solutions that must be generated.
public abstract boolean isComplete(Individual pSolution)
individual - Partial solution.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||