Class BarnesHutFA2Repulsion.Builder<V>
- java.lang.Object
-
- org.jungrapht.visualization.layout.algorithms.repulsion.StandardFA2Repulsion.Builder<V,BarnesHutFA2Repulsion<V>,BarnesHutFA2Repulsion.Builder<V>>
-
- org.jungrapht.visualization.layout.algorithms.repulsion.BarnesHutFA2Repulsion.Builder<V>
-
- All Implemented Interfaces:
BarnesHutRepulsion.Builder<V,BarnesHutFA2Repulsion<V>,BarnesHutFA2Repulsion.Builder<V>>
,StandardRepulsion.Builder<V,BarnesHutFA2Repulsion<V>,BarnesHutFA2Repulsion.Builder<V>>
- Enclosing class:
- BarnesHutFA2Repulsion<V>
public static class BarnesHutFA2Repulsion.Builder<V> extends StandardFA2Repulsion.Builder<V,BarnesHutFA2Repulsion<V>,BarnesHutFA2Repulsion.Builder<V>> implements BarnesHutRepulsion.Builder<V,BarnesHutFA2Repulsion<V>,BarnesHutFA2Repulsion.Builder<V>>
-
-
Field Summary
-
Fields inherited from class org.jungrapht.visualization.layout.algorithms.repulsion.StandardFA2Repulsion.Builder
frVertexData, initializer, kr, layoutModel, nodeMasses, nodeSizes, random
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BarnesHutFA2Repulsion
build()
BarnesHutFA2Repulsion.Builder<V>
layoutModel(LayoutModel<V> layoutModel)
BarnesHutFA2Repulsion.Builder<V>
theta(double theta)
-
Methods inherited from class org.jungrapht.visualization.layout.algorithms.repulsion.StandardFA2Repulsion.Builder
initializer, nodeData, nodeMasses, nodeSizes, random, repulsionK
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.jungrapht.visualization.layout.algorithms.repulsion.StandardRepulsion.Builder
random
-
-
-
-
Method Detail
-
layoutModel
public BarnesHutFA2Repulsion.Builder<V> layoutModel(LayoutModel<V> layoutModel)
- Specified by:
layoutModel
in interfaceBarnesHutRepulsion.Builder<V,BarnesHutFA2Repulsion<V>,BarnesHutFA2Repulsion.Builder<V>>
- Specified by:
layoutModel
in interfaceStandardRepulsion.Builder<V,BarnesHutFA2Repulsion<V>,BarnesHutFA2Repulsion.Builder<V>>
- Overrides:
layoutModel
in classStandardFA2Repulsion.Builder<V,BarnesHutFA2Repulsion<V>,BarnesHutFA2Repulsion.Builder<V>>
-
theta
public BarnesHutFA2Repulsion.Builder<V> theta(double theta)
- Specified by:
theta
in interfaceBarnesHutRepulsion.Builder<V,BarnesHutFA2Repulsion<V>,BarnesHutFA2Repulsion.Builder<V>>
-
build
public BarnesHutFA2Repulsion build()
- Specified by:
build
in interfaceBarnesHutRepulsion.Builder<V,BarnesHutFA2Repulsion<V>,BarnesHutFA2Repulsion.Builder<V>>
- Specified by:
build
in interfaceStandardRepulsion.Builder<V,BarnesHutFA2Repulsion<V>,BarnesHutFA2Repulsion.Builder<V>>
- Overrides:
build
in classStandardFA2Repulsion.Builder<V,BarnesHutFA2Repulsion<V>,BarnesHutFA2Repulsion.Builder<V>>
-
-