Package com.jgalgo
Interface MinimumSpanningTree.Builder
-
- Enclosing interface:
- MinimumSpanningTree
public static interface MinimumSpanningTree.BuilderA builder forMinimumSpanningTreeobjects.- Author:
- Barak Ugav
- See Also:
MinimumSpanningTree.newBuilder()
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description MinimumSpanningTreebuild()Create a new algorithm object for minimum spanning tree computation.default BuilderTypesetOption(String key, Object value)[TL;DR Don't call me!] Set an option.
-
-
-
Method Detail
-
build
MinimumSpanningTree build()
Create a new algorithm object for minimum spanning tree computation.- Returns:
- a new minimum spanning tree 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
-
-