|
Gephi Toolkit Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.gephi.layout.plugin.force.AbstractForce
org.gephi.layout.plugin.force.yifanHu.YifanHuLayout.ElectricalForce
public class YifanHuLayout.ElectricalForce
Fr = -C*K*K*(n2-n1)/||n2-n1||
Constructor Summary | |
---|---|
YifanHuLayout.ElectricalForce(float relativeStrength,
float optimalDistance)
|
Method Summary | |
---|---|
ForceVector |
calculateForce(Spatial node1,
Spatial node2,
float distance)
|
Methods inherited from class org.gephi.layout.plugin.force.AbstractForce |
---|
calculateForce |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public YifanHuLayout.ElectricalForce(float relativeStrength, float optimalDistance)
Method Detail |
---|
public ForceVector calculateForce(Spatial node1, Spatial node2, float distance)
calculateForce
in class AbstractForce
|
Gephi Toolkit Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |