Packages

p

org.nlogo

agent

package agent

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. All

Type Members

  1. abstract class AbstractExporter extends AnyRef
  2. abstract class Agent extends Observable with api.Agent with Comparable[Agent]
  3. trait Agent3D extends AnyRef
  4. 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

  5. abstract class AgentSet extends api.AgentSet
  6. class AgentSetBuilder extends AnyRef
  7. class ArrayAgentSet extends IndexedAgentSet
  8. class BooleanConstraint extends ValueConstraint

    Constraint suitable for Switch variables.

  9. class BreedShapes extends AnyRef
  10. class ChooserConstraint extends ValueConstraint
  11. case class ConstantSliderConstraint (min: Double, max: Double, inc: Double) extends SliderConstraint with Product with Serializable
  12. sealed trait Directedness extends AnyRef
  13. class Drawing3D extends api.Drawing3D
    Annotations
    @strictfp()
  14. 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
    Annotations
    @strictfp()
  15. class DummyLink extends Link
  16. 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.

  17. 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

  18. class HeadingSmoother extends AnyRef
  19. class HorizCylinder extends Topology
  20. class ImportPatchColors extends AnyRef
  21. class Importer extends ImportErrorHandler
  22. class Importer3D extends Importer
  23. class InRadiusOrCone extends AnyRef
  24. class InRadiusOrCone3D extends InRadiusOrCone
  25. abstract class IndexedAgentSet extends AgentSet
  26. class InputBoxConstraint extends ValueConstraint
  27. final class Layouts extends AnyRef
  28. class Link extends Agent with api.Link
  29. class Link3D extends Link with api.Link3D
  30. abstract class LinkFactory extends AnyRef
  31. trait LinkManager extends AnyRef
  32. class LinkManagerImpl extends LinkManager
  33. 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
  34. class LiteralAgentParser extends (Iterator[Token]) ⇒ AnyRef
  35. final class LogoHashObject extends AnyRef
  36. class NumericConstraint extends ValueConstraint

    Constraint suitable for Slider variables.

  37. class Observer extends Agent with api.Observer
  38. final class Observer3D extends Observer with Agent3D
  39. case class OutputObject (caption: String, message: String, addNewline: Boolean, isTemporary: Boolean) extends Product with Serializable
  40. class Patch extends Agent with api.Patch
  41. final class Patch3D extends Patch with Agent3D with api.Patch3D
  42. class PatchException extends Exception
  43. class Protractor extends api.Protractor
  44. class Protractor3D extends Protractor
  45. class RootsTable extends AnyRef
    Annotations
    @strictfp()
  46. abstract class SliderConstraint extends ValueConstraint
  47. class TickCounter extends AnyRef
  48. class TieManager extends AnyRef
  49. class TieManager3D extends TieManager
  50. trait Topology3D extends AnyRef
  51. class Torus extends Topology
  52. final class Torus3D extends Torus with Topology3D
  53. class TreeAgentSet extends AgentSet
  54. class Turtle extends Agent with api.Turtle
  55. final class Turtle3D extends Turtle with Agent3D with api.Turtle3D
  56. 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
    Annotations
    @strictfp()
  57. class VertCylinder extends Topology
  58. class World extends api.World with WorldRenderable with WorldWithWorldRenderable
  59. final class World3D extends World with api.World3D

Ungrouped