|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectlio.search.LiOSearch
lio.search.local.hillclimbing.ILS
public class ILS
This class implements the Iterative Local Search algorithm. It is important to point that the number of starting points must be lower than the maximum number of iterations allowed by the stopping condition.
Field Summary |
---|
Fields inherited from class lio.search.LiOSearch |
---|
listenerList, searchOutput, stopCondition, stopFlag |
Constructor Summary | |
---|---|
ILS()
Creates a new instance of ILS |
Method Summary | |
---|---|
LiOResourceDefinition |
getDefinition()
Return a LiOResDescription object which holds the name and all parameters that describe the resource. |
Generator |
getGenerator()
Getter for property generator. |
HillClimbing |
getHillClimbing()
Getter for property hillClimbing. |
Perturbation |
getPerturbation()
Getter for property perturbation. |
int |
getStartingPoints()
Getter for property startingPoints. |
static void |
main(java.lang.String[] args)
|
void |
run()
|
void |
setGenerator(Generator generator)
Setter for property generator. |
void |
setHillClimbing(HillClimbing hillClimbing)
Setter for property hillClimbing. |
void |
setPerturbation(Perturbation perturbation)
Setter for property perturbation. |
void |
setStartingPoints(int startingPoints)
Setter for property startingPoints. |
protected boolean |
stopCondition()
This method tells whether the algorithm's execution is due to end. |
boolean |
worksWith(LiOTask kindOfTask)
Allows knowing if the specified algorithm is able to process the task. |
Methods inherited from class lio.search.LiOSearch |
---|
addLiOEventListener, build, cleanExecution, execute, fireFinishEvent, getSearchOutput, getStopCondition, initialize, initialize, loadSearchOutput, loadStatistics, loadStopCondition, removeLiOEventListener, setOptions, setSearchOutput, setStopCondition, setTask, showOptions, stopSearching, updateTaskDependentResources |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ILS()
Method Detail |
---|
public void run()
protected boolean stopCondition()
LiOSearch
stopCondition
in class LiOSearch
public boolean worksWith(LiOTask kindOfTask)
LiOSearch
worksWith
in class LiOSearch
public LiOResourceDefinition getDefinition()
LiOResource
public static void main(java.lang.String[] args)
public int getStartingPoints()
public void setStartingPoints(int startingPoints)
startingPoints
- New value of property startingPoints.public Generator getGenerator()
public void setGenerator(Generator generator)
generator
- New value of property generator.public HillClimbing getHillClimbing()
public void setHillClimbing(HillClimbing hillClimbing)
hillClimbing
- New value of property hillClimbing.public Perturbation getPerturbation()
public void setPerturbation(Perturbation perturbation)
perturbation
- New value of property perturbation.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |