Gephi Toolkit Javadoc

org.gephi.layout.plugin.forceAtlas2
Class Region

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

public class Region
extends java.lang.Object

Barnes Hut optimization

Author:
Mathieu Jacomy

Constructor Summary
Region(java.util.ArrayList<Node> nodes)
           
Region(Node[] nodes)
           
 
Method Summary
 void applyForce(Node n, ForceFactory.RepulsionForce Force, double theta)
           
 void buildSubRegions()
           
 double getMass()
           
 double getMassCenterX()
           
 double getMassCenterY()
           
 void setMass(double mass)
           
 void setMassCenterX(double massCenterX)
           
 void setMassCenterY(double massCenterY)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Region

public Region(Node[] nodes)

Region

public Region(java.util.ArrayList<Node> nodes)
Method Detail

buildSubRegions

public void buildSubRegions()

applyForce

public void applyForce(Node n,
                       ForceFactory.RepulsionForce Force,
                       double theta)

getMass

public double getMass()

setMass

public void setMass(double mass)

getMassCenterX

public double getMassCenterX()

setMassCenterX

public void setMassCenterX(double massCenterX)

getMassCenterY

public double getMassCenterY()

setMassCenterY

public void setMassCenterY(double massCenterY)

Gephi Toolkit Javadoc