|
||||||||||
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.MRHillClimbing
public class MRHillClimbing
This class implements a multiple restart hill climbing. 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 | |
---|---|
MRHillClimbing()
Creates a new instance of HillClimbing |
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. |
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 |
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 MRHillClimbing()
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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |