|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Weighable
A class implements the Weighable
interface to indicate that
it can have pheromone and heuristic information values.
Method Summary | |
---|---|
HeuristicValue |
getHeuristicValue()
Returns the heuristic value associated with this component. |
HeuristicValue |
getHeuristicValue(int level)
Returns the heuristic value associated with this component. |
Pheromone |
getPheromone()
Returns the pheromone value associated with this component. |
Pheromone |
getPheromone(int level)
Returns the pheromone value associated with this component at the specified level. |
void |
setHeuristicValue(HeuristicValue heuristicValue)
Sets the heuristic value associated with this component. |
void |
setHeuristicValue(HeuristicValue heuristicValue,
int level)
Sets the heuristic value associated with this component. |
void |
setPheromone(Pheromone pheromone)
Sets the pheromone value associated with this component. |
void |
setPheromone(Pheromone pheromone,
int level)
Sets the pheromone value associated with this component at the specified level. |
Method Detail |
---|
HeuristicValue getHeuristicValue()
getHeuristicValue(int)
HeuristicValue getHeuristicValue(int level)
level
- the level of the heuristic value.
void setHeuristicValue(HeuristicValue heuristicValue)
heuristicValue
- the value to be set.setHeuristicValue(HeuristicValue, int)
void setHeuristicValue(HeuristicValue heuristicValue, int level)
heuristicValue
- the value to be set.level
- the level of the heuristic value.Pheromone getPheromone()
0
.
getPheromone(int)
Pheromone getPheromone(int level)
level
- the level of the pheromone.
void setPheromone(Pheromone pheromone)
0
.
pheromone
- the value to be set.setPheromone(Pheromone, int)
void setPheromone(Pheromone pheromone, int level)
level
- the level of the pheromone.pheromone
- the value to be set.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |