org.nlogo.agent
Class Layouts

java.lang.Object
  extended by org.nlogo.agent.Layouts

public final class Layouts
extends Object


Method Summary
static void circle(AgentSet nodes, double radius, org.nlogo.util.MersenneTwisterFast random)
           
static void circle(World world, LogoList nodes, double radius)
           
static void magspring(AgentSet nodeset, AgentSet linkset, double spr, double len, double rep, double magStr, int fieldType, boolean bidirectional, org.nlogo.util.MersenneTwisterFast random)
           
static void radial(World world, AgentSet nodeset, AgentSet linkset, Turtle root)
           
static void sphere(AgentSet nodeset, double radius, double initialTemp, org.nlogo.util.MersenneTwisterFast random)
           
static void spring(AgentSet nodeset, AgentSet linkset, double spr, double len, double rep, org.nlogo.util.MersenneTwisterFast random)
           
static void spring2D(AgentSet nodeset, AgentSet linkset, double spr, double len, double rep, org.nlogo.util.MersenneTwisterFast random)
           
static void spring3D(AgentSet nodeset, AgentSet linkset, double spr, double len, double rep, org.nlogo.util.MersenneTwisterFast random)
           
static void tutte(AgentSet nodeset, AgentSet linkset, double radius, org.nlogo.util.MersenneTwisterFast random)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

circle

public static void circle(World world,
                          LogoList nodes,
                          double radius)
                   throws AgentException
Throws:
AgentException

circle

public static void circle(AgentSet nodes,
                          double radius,
                          org.nlogo.util.MersenneTwisterFast random)
                   throws AgentException
Throws:
AgentException

spring

public static void spring(AgentSet nodeset,
                          AgentSet linkset,
                          double spr,
                          double len,
                          double rep,
                          org.nlogo.util.MersenneTwisterFast random)

spring2D

public static void spring2D(AgentSet nodeset,
                            AgentSet linkset,
                            double spr,
                            double len,
                            double rep,
                            org.nlogo.util.MersenneTwisterFast random)

spring3D

public static void spring3D(AgentSet nodeset,
                            AgentSet linkset,
                            double spr,
                            double len,
                            double rep,
                            org.nlogo.util.MersenneTwisterFast random)

sphere

public static void sphere(AgentSet nodeset,
                          double radius,
                          double initialTemp,
                          org.nlogo.util.MersenneTwisterFast random)

magspring

public static void magspring(AgentSet nodeset,
                             AgentSet linkset,
                             double spr,
                             double len,
                             double rep,
                             double magStr,
                             int fieldType,
                             boolean bidirectional,
                             org.nlogo.util.MersenneTwisterFast random)

tutte

public static void tutte(AgentSet nodeset,
                         AgentSet linkset,
                         double radius,
                         org.nlogo.util.MersenneTwisterFast random)
                  throws AgentException
Throws:
AgentException

radial

public static void radial(World world,
                          AgentSet nodeset,
                          AgentSet linkset,
                          Turtle root)
                   throws AgentException
Throws:
AgentException