package agent
- Alphabetic
- Public
- All
Type Members
- abstract class AbstractExporter extends AnyRef
- abstract class Agent extends AgentJ with api.Agent with Comparable[Agent]
- trait Agent3D extends AnyRef
- trait AgentColors extends Agent
-
trait
AgentIterator extends AnyRef
This exists purely as a performance hack.
This exists purely as a performance hack. Normal code can just call AgentSet.agents which returns an Iterable[Agent]. But in performance-critical code, using AgentIterator has a performance advantage because type erasure means that if we use Iterator[Agent] there are typecasts going on under the hood, and I found that this actually impacts performance on benchmarks (to the tune of 5% or so on Life Benchmark, for example). Sigh... - ST 2/9/09
- trait AgentManagement extends TurtleManagement with LinkManagement with ObserverManagement with WorldKernel
- abstract class AgentSet extends api.AgentSet
- class AgentSetBuilder extends AnyRef
- class ArrayAgentSet extends IndexedAgentSet
-
class
BooleanConstraint extends ValueConstraint
Constraint suitable for Switch variables.
- class Box extends Topology with XBlocks with YBlocks
- class BreedShapes extends AnyRef
- class ChooserConstraint extends ValueConstraint
- trait CompilationManagement extends CoreWorld
- case class ConstantSliderConstraint(min: Double, max: Double, inc: Double) extends SliderConstraint with Product with Serializable
- trait Constraints extends Agent
- trait CoreWorld extends WorldWithWorldRenderable with WorldKernel with WatcherManagement
- trait DimensionManagement extends AnyRef
- sealed trait Directedness extends AnyRef
- class Drawing3D extends api.Drawing3D
- case class DrawingLine3D(x0: Double, y0: Double, z0: Double, x1: Double, y1: Double, z1: Double, heading: Double, pitch: Double, width: Double, color: AnyRef) extends api.DrawingLine3D with Product with Serializable
- class DummyLink extends Link
-
class
DynamicSliderConstraint extends SliderConstraint
Constraint suitable for Slider variables.
Constraint suitable for Slider variables. The various limits on the Slider value can be specified using a NetLogo reporter.
-
final
class
Gamma extends AnyRef
Gamma distribution; <A HREF="http://wwwinfo.cern.ch/asdoc/shortwrupsdir/g106/top.html"> math definition</A>, <A HREF="http://www.cern.ch/RD11/rkb/AN16pp/node96.html#SECTION000960000000000000000"> definition of gamma function</A> and <A HREF="http://www.statsoft.com/textbook/glosf.html#Gamma Distribution"> animated definition</A>.
Gamma distribution; <A HREF="http://wwwinfo.cern.ch/asdoc/shortwrupsdir/g106/top.html"> math definition</A>, <A HREF="http://www.cern.ch/RD11/rkb/AN16pp/node96.html#SECTION000960000000000000000"> definition of gamma function</A> and <A HREF="http://www.statsoft.com/textbook/glosf.html#Gamma Distribution"> animated definition</A>.
p(x) = k * x^(alpha-1) * e^(-x/beta) with k = 1/(g(alpha) * b^a)) and g(a) being the gamma function.
Valid parameter ranges: alpha > 0.
Note: For a Gamma distribution to have the mean mean and variance variance, set the parameters as follows:
alpha = mean*mean / variance; lambda = 1 / (variance / mean);
Implementation: <dt> Method: Acceptance Rejection combined with Acceptance Complement. <dt> High performance implementation. This is a port of <A HREF="http://wwwinfo.cern.ch/asd/lhc++/clhep/manual/RefGuide/Random/RandGamma.html">RandGamma</A> used in <A HREF="http://wwwinfo.cern.ch/asd/lhc++/clhep">CLHEP 1.4.0</A> (C++). CLHEP's implementation, in turn, is based on gds.c from the <A HREF="http://www.cis.tu-graz.ac.at/stat/stadl/random.html">C-RAND / WIN-RAND</A> library. C-RAND's implementation, in turn, is based upon
J.H. Ahrens, U. Dieter (1974): Computer methods for sampling from gamma, beta, Poisson and binomial distributions, Computing 12, 223-246.
and
J.H. Ahrens, U. Dieter (1982): Generating gamma variates by a modified rejection technique, Communications of the ACM 25, 47-54.
- Version
1.0, 09/24/99
- trait GrossWorldState extends WorldKernel
- class HeadingSmoother extends AnyRef
- class HorizCylinder extends Topology with XBlocks with YWraps
- class ImportPatchColors extends AnyRef
- class Importer extends ImporterJ
- class Importer3D extends Importer
- abstract class ImporterJ extends ImportErrorHandler
- class InRadiusOrCone extends agent.World.InRadiusOrCone
- class InRadiusOrCone3D extends agent.World.InRadiusOrCone
- abstract class IndexedAgentSet extends AgentSet
- class InputBoxConstraint extends ValueConstraint
- final class Layouts extends AnyRef
- class Link extends Agent with api.Link with AgentColors
- class Link3D extends Link with api.Link3D
- abstract class LinkFactory[A <: World] extends AnyRef
- trait LinkManagement extends WorldKernel
- trait LinkManager extends AnyRef
- class LinkManagerImpl[W <: World] extends LinkManager
- case class LinkStamp3D(shape: String, x1: Double, y1: Double, z1: Double, x2: Double, y2: Double, z2: Double, color: AnyRef, lineThickness: Double, isDirectedLink: Boolean, linkDestinationSize: Double, heading: Double, pitch: Double) extends api.LinkStamp3D with Product with Serializable
- class LiteralAgentParser extends (Iterator[Token]) ⇒ AnyRef
- trait Neighbors extends AnyRef
-
class
NumericConstraint extends ValueConstraint
Constraint suitable for Slider variables.
- class Observer extends Agent with api.Observer with OrientatableObserver with Constraints
- final class Observer3D extends Observer with Agent3D
- trait ObserverManagement extends WorldKernel
- trait OrientatableObserver extends AnyRef
- case class OutputObject(caption: String, message: String, addNewline: Boolean, isTemporary: Boolean) extends Product with Serializable
- class Patch extends Agent with api.Patch with AgentColors
- final class Patch3D extends Patch with Agent3D with api.Patch3D
- class PatchException extends Exception
- class Protractor extends api.Protractor
- class Protractor3D extends Protractor with api.Protractor3D
- class RootsTable extends AnyRef
- abstract class SliderConstraint extends ValueConstraint
- class TickCounter extends AnyRef
- class TieManager extends AnyRef
- class TieManager3D extends TieManager
- abstract class Topology extends Neighbors
- trait Topology3D extends AnyRef
- class Torus extends Topology with XWraps with YWraps
- class Torus3D extends Torus with Topology3D
- case class Trail(x1: Double, y1: Double, x2: Double, y2: Double, dist: Double) extends Product with Serializable
- class TreeAgentSet extends AgentSet
- abstract class Turtle extends Agent with api.Turtle with AgentColors
- class Turtle2D extends Turtle
- final class Turtle3D extends Turtle with Agent3D with api.Turtle3D
- trait TurtleManagement extends WorldKernel
- case class TurtleStamp3D(shape: String, xcor: Double, ycor: Double, zcor: Double, size: Double, heading: Double, pitch: Double, roll: Double, color: AnyRef, lineThickness: Double) extends api.TurtleStamp3D with Product with Serializable
- class VertCylinder extends Topology with XWraps with YBlocks
- trait WatcherManagement extends AnyRef
- abstract class World extends WorldJ with DimensionManagement with CoreWorld with GrossWorldState with AgentManagement with WatcherManagement
- class World2D extends World with CompilationManagement
- class World3D extends World with api.World3D with CompilationManagement
- trait WorldKernel extends AnyRef
- trait XBlocks extends Topology
- trait XWraps extends Topology
- trait YBlocks extends Topology
- trait YWraps extends Topology
Value Members
- object AbstractExporter
- object Agent
- object AgentBit
- object AgentParserCreator
- object AgentSet
- object AllStoredValues
- object Directedness
- object DummyLink
- object InRadiusSimple
- object LinkManager
- object Realloc
- object Rotations3D
- object SliderConstraint
- object Topology
-
object
TrigTables
Cache of sines and cosines of integers 0-359.
Cache of sines and cosines of integers 0-359. Speed up various operations on angles that are integers. Trigonometry is expensive!
- object World