Interface IPheromone
- 
- All Superinterfaces:
- ILocationObject
 
 public interface IPheromone extends ILocationObject Environment representation of a pheromone.
- 
- 
Field SummaryFields Modifier and Type Field Description static doubleEVAPORATION_RATEThe evaporation rate determines how quickly a pheromone dissolves (in strength per second).
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetId()Get the id (or name) of this object.ILocationgetLocation()Get the location of this object.doublegetStrength()Get the strength of the pheromone (0..1).java.lang.StringgetType()Get the type of the pheromone.
 
- 
- 
- 
Field Detail- 
EVAPORATION_RATEstatic final double EVAPORATION_RATE The evaporation rate determines how quickly a pheromone dissolves (in strength per second).- See Also:
- Constant Field Values
 
 
- 
 - 
Method Detail- 
getIdjava.lang.String getId() Get the id (or name) of this object.- Specified by:
- getIdin interface- ILocationObject
- Returns:
- The id.
 
 - 
getLocationILocation getLocation() Get the location of this object.- Specified by:
- getLocationin interface- ILocationObject
- Returns:
- The location of the object.
 
 - 
getTypejava.lang.String getType() Get the type of the pheromone.- Returns:
- The pheromone type as string.
 
 - 
getStrengthdouble getStrength() Get the strength of the pheromone (0..1).- Returns:
- The current strength of the pheromone.
 
 
- 
 
-