Class BarnesHutFRRepulsion.Builder<V>
- java.lang.Object
-
- org.jungrapht.visualization.layout.algorithms.repulsion.StandardFRRepulsion.Builder<V,BarnesHutFRRepulsion<V>,BarnesHutFRRepulsion.Builder<V>>
-
- org.jungrapht.visualization.layout.algorithms.repulsion.BarnesHutFRRepulsion.Builder<V>
-
- All Implemented Interfaces:
BarnesHutRepulsion.Builder<V,BarnesHutFRRepulsion<V>,BarnesHutFRRepulsion.Builder<V>>
,StandardRepulsion.Builder<V,BarnesHutFRRepulsion<V>,BarnesHutFRRepulsion.Builder<V>>
- Enclosing class:
- BarnesHutFRRepulsion<V>
public static class BarnesHutFRRepulsion.Builder<V> extends StandardFRRepulsion.Builder<V,BarnesHutFRRepulsion<V>,BarnesHutFRRepulsion.Builder<V>> implements BarnesHutRepulsion.Builder<V,BarnesHutFRRepulsion<V>,BarnesHutFRRepulsion.Builder<V>>
-
-
Field Summary
-
Fields inherited from class org.jungrapht.visualization.layout.algorithms.repulsion.StandardFRRepulsion.Builder
frVertexData, initializer, layoutModel, random, repulsionConstant
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BarnesHutFRRepulsion<V>
build()
BarnesHutFRRepulsion.Builder<V>
layoutModel(LayoutModel<V> layoutModel)
BarnesHutFRRepulsion.Builder<V>
nodeData(Map<V,Point> frVertexData)
BarnesHutFRRepulsion.Builder<V>
random(Random random)
BarnesHutFRRepulsion.Builder<V>
repulsionConstant(double repulstionConstant)
BarnesHutFRRepulsion.Builder<V>
theta(double theta)
-
Methods inherited from class org.jungrapht.visualization.layout.algorithms.repulsion.StandardFRRepulsion.Builder
initializer
-
-
-
-
Method Detail
-
layoutModel
public BarnesHutFRRepulsion.Builder<V> layoutModel(LayoutModel<V> layoutModel)
- Specified by:
layoutModel
in interfaceBarnesHutRepulsion.Builder<V,BarnesHutFRRepulsion<V>,BarnesHutFRRepulsion.Builder<V>>
- Specified by:
layoutModel
in interfaceStandardRepulsion.Builder<V,BarnesHutFRRepulsion<V>,BarnesHutFRRepulsion.Builder<V>>
- Overrides:
layoutModel
in classStandardFRRepulsion.Builder<V,BarnesHutFRRepulsion<V>,BarnesHutFRRepulsion.Builder<V>>
-
theta
public BarnesHutFRRepulsion.Builder<V> theta(double theta)
- Specified by:
theta
in interfaceBarnesHutRepulsion.Builder<V,BarnesHutFRRepulsion<V>,BarnesHutFRRepulsion.Builder<V>>
-
nodeData
public BarnesHutFRRepulsion.Builder<V> nodeData(Map<V,Point> frVertexData)
- Overrides:
nodeData
in classStandardFRRepulsion.Builder<V,BarnesHutFRRepulsion<V>,BarnesHutFRRepulsion.Builder<V>>
-
repulsionConstant
public BarnesHutFRRepulsion.Builder<V> repulsionConstant(double repulstionConstant)
- Overrides:
repulsionConstant
in classStandardFRRepulsion.Builder<V,BarnesHutFRRepulsion<V>,BarnesHutFRRepulsion.Builder<V>>
-
random
public BarnesHutFRRepulsion.Builder<V> random(Random random)
- Specified by:
random
in interfaceStandardRepulsion.Builder<V,BarnesHutFRRepulsion<V>,BarnesHutFRRepulsion.Builder<V>>
- Overrides:
random
in classStandardFRRepulsion.Builder<V,BarnesHutFRRepulsion<V>,BarnesHutFRRepulsion.Builder<V>>
-
build
public BarnesHutFRRepulsion<V> build()
- Specified by:
build
in interfaceBarnesHutRepulsion.Builder<V,BarnesHutFRRepulsion<V>,BarnesHutFRRepulsion.Builder<V>>
- Specified by:
build
in interfaceStandardRepulsion.Builder<V,BarnesHutFRRepulsion<V>,BarnesHutFRRepulsion.Builder<V>>
- Overrides:
build
in classStandardFRRepulsion.Builder<V,BarnesHutFRRepulsion<V>,BarnesHutFRRepulsion.Builder<V>>
-
-