Class AbstractParticle

java.lang.Object
org.miv.pherd.Particle
org.graphstream.ui.layout.springbox.NodeParticle
org.graphstream.ui.layout.springbox.implementations.SpringBoxNodeParticle
network.aika.debugger.AbstractParticle
Direct Known Subclasses:
ActivationParticle, NeuronParticle

public abstract class AbstractParticle extends org.graphstream.ui.layout.springbox.implementations.SpringBoxNodeParticle
Author:
Lukas Molzberger
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static double
     
    protected double
    Default repulsion.
    protected AbstractLayout
     
    double
     
    double
     

    Fields inherited from class org.graphstream.ui.layout.springbox.NodeParticle

    attE, box, disp, frozen, len, neighbours, out, repE

    Fields inherited from class org.miv.pherd.Particle

    attributes, cell, id, moved, nextPos, pos, weight
  • Constructor Summary

    Constructors
    Constructor
    Description
    AbstractParticle(AbstractLayout layout, String id, double x, double y, double z)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    edgeAttraction(org.graphstream.ui.geom.Vector3 delta, org.graphstream.ui.layout.springbox.EdgeSpring edge, org.graphstream.ui.layout.springbox.Energies energies)
     
    protected void
    recurseRepulsion(org.miv.pherd.ntree.Cell cell, org.graphstream.ui.geom.Vector3 delta)
     
    protected void
    repulsionN2(org.graphstream.ui.geom.Vector3 delta)
     
    protected void
    repulsionNLogN(org.graphstream.ui.geom.Vector3 delta)
     

    Methods inherited from class org.graphstream.ui.layout.springbox.implementations.SpringBoxNodeParticle

    attraction, gravity, intersection

    Methods inherited from class org.graphstream.ui.layout.springbox.NodeParticle

    createDebug, getEdges, inserted, move, moveOf, moveTo, nextStep, registerEdge, removed, removeNeighborEdges, unregisterEdge

    Methods inherited from class org.miv.pherd.Particle

    closeTo, closeTo, getAttribute, getAttributeKeyIterator, getCell, getId, getPosition, getWeight, initPos, removeAttribute, setAttribute, setBox, setCell, setWeight, suicide

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • K1Attr

      public static double K1Attr
    • x

      public double x
    • y

      public double y
    • K2

      protected double K2
      Default repulsion.
    • layout

      protected AbstractLayout layout
  • Constructor Details

    • AbstractParticle

      public AbstractParticle(AbstractLayout layout, String id, double x, double y, double z)
  • Method Details

    • repulsionN2

      protected void repulsionN2(org.graphstream.ui.geom.Vector3 delta)
      Overrides:
      repulsionN2 in class org.graphstream.ui.layout.springbox.implementations.SpringBoxNodeParticle
    • repulsionNLogN

      protected void repulsionNLogN(org.graphstream.ui.geom.Vector3 delta)
      Overrides:
      repulsionNLogN in class org.graphstream.ui.layout.springbox.implementations.SpringBoxNodeParticle
    • recurseRepulsion

      protected void recurseRepulsion(org.miv.pherd.ntree.Cell cell, org.graphstream.ui.geom.Vector3 delta)
      Overrides:
      recurseRepulsion in class org.graphstream.ui.layout.springbox.implementations.SpringBoxNodeParticle
    • edgeAttraction

      protected void edgeAttraction(org.graphstream.ui.geom.Vector3 delta, org.graphstream.ui.layout.springbox.EdgeSpring edge, org.graphstream.ui.layout.springbox.Energies energies)