Package com.jgalgo
Interface LowestCommonAncestorDynamic.Builder
-
- Enclosing interface:
- LowestCommonAncestorDynamic
public static interface LowestCommonAncestorDynamic.Builder
A builder forLowestCommonAncestorDynamic
objects.- Author:
- Barak Ugav
- See Also:
LowestCommonAncestorDynamic.newBuilder()
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description LowestCommonAncestorDynamic
build()
Create a new dynamic LCA algorithm.default BuilderType
setOption(String key, Object value)
[TL;DR Don't call me!] Set an option.
-
-
-
Method Detail
-
build
LowestCommonAncestorDynamic build()
Create a new dynamic LCA algorithm.- Returns:
- a new dynamic LCA algorithm
-
setOption
default BuilderType setOption(String key, Object value)
[TL;DR Don't call me!] Set an option.The builder might support different options to customize its implementation. These options never change the behavior of the algorithm, only its internal implementation. The possible options are not exposed as 'public' because they are not part of the API and may change in the future.
These options are mainly for debug and benchmark purposes.
- Parameters:
key
- the option keyvalue
- the option value- Returns:
- this builder
-
-