Gephi Toolkit Javadoc

org.gephi.layout.plugin.forceAtlas2
Class ForceFactory

java.lang.Object
  extended by org.gephi.layout.plugin.forceAtlas2.ForceFactory

public class ForceFactory
extends java.lang.Object

Generates the forces on demand, here are all the formulas for attraction and repulsion.

Author:
Mathieu Jacomy

Nested Class Summary
 class ForceFactory.AttractionForce
           
 class ForceFactory.RepulsionForce
           
 
Field Summary
static ForceFactory builder
           
 
Method Summary
 ForceFactory.AttractionForce buildAttraction(boolean logAttraction, boolean distributedAttraction, boolean adjustBySize, double coefficient)
           
 ForceFactory.RepulsionForce buildRepulsion(boolean adjustBySize, double coefficient)
           
 ForceFactory.RepulsionForce getStrongGravity(double coefficient)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

builder

public static ForceFactory builder
Method Detail

buildRepulsion

public ForceFactory.RepulsionForce buildRepulsion(boolean adjustBySize,
                                                  double coefficient)

getStrongGravity

public ForceFactory.RepulsionForce getStrongGravity(double coefficient)

buildAttraction

public ForceFactory.AttractionForce buildAttraction(boolean logAttraction,
                                                    boolean distributedAttraction,
                                                    boolean adjustBySize,
                                                    double coefficient)

Gephi Toolkit Javadoc