Interface Activatable
- All Known Subinterfaces:
Chunk<T>
- All Known Implementing Classes:
DefaultChunk
public interface Activatable
An entity that can have an activation value calculated by an activation
formula.
The activation of an activatable can be computed for arbitary points in time,
as defined in ActivationFormula.
- Since:
- 1.0.146
-
Method Summary
Modifier and Type Method Description EstimatedActivationValuegetEstimatedActivationValue(long timestamp)Returns the estimated activation value of this activatable object at the given timestamp.
-
Method Details
-
getEstimatedActivationValue
Returns the estimated activation value of this activatable object at the given timestamp.If this method is invoked multiple times with the same timestamp, it might return the same
EstimatedActivationValueor another instance that is equal to the previous ones (i.e.newResult.compareTo(oldResult) == 0).- Parameters:
timestamp- A timestamp as returned bySystem.currentTimeMillis().- Returns:
- The activation value at the given timestamp.
-