Class AntWithPartialSolution<C,E extends Environment>
java.lang.Object
isula.aco.Ant<C,E>
isula.aco.algorithms.iteratedants.AntWithPartialSolution<C,E>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
clear()
Resets the visited vector, clears current solution components and sets the index to 0.abstract E
protected Collection<C>
void
setPartialSolution
(Collection<C> partialSolution) Methods inherited from class isula.aco.Ant
addPolicy, doAfterSolutionIsReady, getCurrentIndex, getHeuristicValue, getNeighbourhood, getPheromoneTrailValue, getSolution, getSolutionAsString, getSolutionAsString, getSolutionCost, getSolutionCost, getVisited, isNodeValid, isNodeVisited, isSolutionReady, selectNextNode, setCurrentIndex, setPheromoneTrailValue, setSolution, setVisited, visitNode
-
Constructor Details
-
AntWithPartialSolution
public AntWithPartialSolution()
-
-
Method Details