Package org.jheaps.annotations
Annotation Type LogarithmicTime
-
@Retention(RUNTIME) @Target(METHOD) public @interface LogarithmicTime
Marker interface to indicate that an operation takes O(log(n)) time where n is the size of the input. The primary purpose of this interface is to allow generic algorithms to alter their behavior to provide good performance.- Author:
- Dimitrios Michail
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description boolean
amortized
Whether the running time is amortized or actual.
-