|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sourceforge.cilib.algorithm.Algorithm net.sourceforge.cilib.algorithm.population.PopulationBasedAlgorithm net.sourceforge.cilib.algorithm.population.SinglePopulationBasedAlgorithm net.sourceforge.cilib.boa.ABC
public class ABC
An implementation of the Artificial Bee Colony Algorithm.
Reference:
Dervis Karaboga and Bahriye Basturk, "A powerful and efficient algorithm for numerical function optimization: artificial bee colony (ABC) algorithm" journal = "Journal of Global Optimization" pages = "459--471" volume = "39" number = "3" month = nov year = "2007" publisher = "Springer" address = "Netherlands"
Field Summary |
---|
Fields inherited from class net.sourceforge.cilib.algorithm.population.SinglePopulationBasedAlgorithm |
---|
initialisationStrategy |
Fields inherited from class net.sourceforge.cilib.algorithm.Algorithm |
---|
optimisationProblem |
Constructor Summary | |
---|---|
ABC()
Default constructor. |
|
ABC(ABC copy)
Copy constructor. |
Method Summary | |
---|---|
protected void |
algorithmIteration()
Perform the iteration within the algorithm. |
OptimisationSolution |
getBestSolution()
Get the best current solution. |
ABC |
getClone()
Create a cloned copy of the current object and return it. |
SelectionStrategy |
getDancingSelectionStrategy()
|
ExplorerBee |
getExplorerBee()
|
ControlParameter |
getExplorerBeeUpdateLimit()
|
ControlParameter |
getForageLimit()
|
Topology<HoneyBee> |
getOnlookerTopology()
|
List<OptimisationSolution> |
getSolutions()
Get the collection of best solutions. |
Topology<HoneyBee> |
getTopology()
Get the current collection (population) of entities. |
ControlParameter |
getWorkerBeeNumber()
|
Topology<HoneyBee> |
getWorkerTopology()
|
void |
performInitialisation()
Perform the needed initialisation required before the execution of the algorithm starts. |
void |
setDancingSelectionStrategy(SelectionStrategy dancingSelectionStrategy)
|
void |
setExplorerBeeUpdateLimit(ControlParameter explorerBeeUpdateLimit)
|
void |
setForageLimit(ControlParameter forageThreshold)
|
void |
setTopology(Topology<? extends Entity> topology)
Set the Topology for the population-based algorithm. |
void |
setWorkerBeePercentage(ControlParameter workerBeeNumber)
|
Methods inherited from class net.sourceforge.cilib.algorithm.population.SinglePopulationBasedAlgorithm |
---|
accept, getInitialisationStrategy, setInitialisationStrategy |
Methods inherited from class net.sourceforge.cilib.algorithm.Algorithm |
---|
addAlgorithmListener, addStoppingCondition, get, getAlgorithmList, getIterations, getOptimisationProblem, getPercentageComplete, getStoppingConditions, initialise, isFinished, performIteration, performUninitialisation, removeAlgorithmListener, removeStoppingCondition, reset, run, setOptimisationProblem, terminate |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ABC()
ABC
.
public ABC(ABC copy)
copy
- ABC reference of which a deep copy is made.Method Detail |
---|
public ABC getClone()
getClone
in interface Cloneable
getClone
in class SinglePopulationBasedAlgorithm
Object.clone()
public void performInitialisation()
performInitialisation
in class Algorithm
protected void algorithmIteration()
algorithmIteration
in class SinglePopulationBasedAlgorithm
public OptimisationSolution getBestSolution()
getBestSolution
in class PopulationBasedAlgorithm
OptimisationSolution
representing the best solution.public List<OptimisationSolution> getSolutions()
getSolutions
in class PopulationBasedAlgorithm
Collection<OptimisationSolution>
containing the solutions.public Topology<HoneyBee> getTopology()
getTopology
in class SinglePopulationBasedAlgorithm
public Topology<HoneyBee> getWorkerTopology()
public Topology<HoneyBee> getOnlookerTopology()
public void setTopology(Topology<? extends Entity> topology)
setTopology
in class SinglePopulationBasedAlgorithm
topology
- The Topology to be set.public SelectionStrategy getDancingSelectionStrategy()
public void setDancingSelectionStrategy(SelectionStrategy dancingSelectionStrategy)
public ExplorerBee getExplorerBee()
public ControlParameter getWorkerBeeNumber()
public void setWorkerBeePercentage(ControlParameter workerBeeNumber)
public ControlParameter getForageLimit()
public void setForageLimit(ControlParameter forageThreshold)
public ControlParameter getExplorerBeeUpdateLimit()
public void setExplorerBeeUpdateLimit(ControlParameter explorerBeeUpdateLimit)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |