PATH_ELEMENT - public interface IPathExecutionEstimator<PATH_ELEMENT>
Implementors can be used to provide maximum time (timeout) that is needed to reach the end of the path.
It is useful for IPathExecutor so it won't stuck whenever the execution fails unexpectedly.
| Modifier and Type | Method and Description |
|---|---|
double |
getTimeout(List<PATH_ELEMENT> path)
Returns maximum amount of time (in ms) that is needed to follow the path and reach its end.
|
double getTimeout(List<PATH_ELEMENT> path)
Usually used to determine timeout for path execution by IPathExecutor.
path - Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.