Package isula.aco
Class AntPolicy<C,E extends Environment>
java.lang.Object
isula.aco.AntPolicy<C,E>
- Type Parameters:
C
- Class for components of a solution.E
- Class representing the Environment.
- Direct Known Subclasses:
ConstructPartialSolution
,LocalPheromoneUpdateForAcs
,OnlinePheromoneUpdate
,RandomNodeSelection
A behavior to be performed by an Ant. This class is used to implement
specific behaviours required by a particular ACO algorithm.
Each ant policy class has a policyType, which will define in which stage of the construction process is executed.
- Author:
- Carlos G. Gavidia
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract boolean
applyPolicy
(E environment, ConfigurationProvider configurationProvider) getAnt()
void
-
Constructor Details
-
AntPolicy
-
-
Method Details
-
getPolicyType
-
setAnt
-
getAnt
-
applyPolicy
-