org.nlogo.agent

package org.nlogo.agent

Members list

Type members

Classlikes

Attributes

Companion
class
Source
AbstractExporter.scala
Supertypes
class Object
trait Matchable
class Any
Self type
abstract class AbstractExporter(filename: String)

Attributes

Companion
object
Source
AbstractExporter.scala
Supertypes
class Object
trait Matchable
class Any
abstract class Agent(val world: World) extends Agent, Comparable[Agent]

Attributes

Companion
object
Source
Agent.scala
Supertypes
trait Comparable[Agent]
trait Agent
class Object
trait Matchable
class Any
Known subtypes
trait AgentColors
trait Constraints
class Observer
object Agent

Attributes

Companion
class
Source
Agent.scala
Supertypes
class Object
trait Matchable
class Any
Self type
Agent.type
trait Agent3D

Attributes

Source
Agent3D.scala
Supertypes
class Object
trait Matchable
class Any
object AgentBit

Attributes

Source
AgentBit.scala
Supertypes
class Object
trait Matchable
class Any
Self type
AgentBit.type
trait AgentColors extends Agent

Attributes

Source
AgentColors.scala
Supertypes
class Agent
trait Comparable[Agent]
trait Agent
class Object
trait Matchable
class Any
Show all

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

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

Attributes

Source
AgentIterator.scala
Supertypes
class Object
trait Matchable
class Any

Attributes

Source
AgentManagement.scala
Supertypes
trait WorldKernel
class Object
trait Matchable
class Any
Show all
Known subtypes
class World
class World2D
class World3D
Self type

Attributes

Source
LiteralAgentParser.scala
Supertypes
class Object
trait Matchable
class Any
Self type
object AgentSet

Attributes

Companion
class
Source
AgentSet.scala
Supertypes
class Object
trait Matchable
class Any
Self type
AgentSet.type
abstract class AgentSet(val kind: AgentKind, val printName: String, var directed: Directedness) extends AgentSet

Attributes

Companion
object
Source
AgentSet.scala
Supertypes
trait AgentSet
class Object
trait Matchable
class Any
Known subtypes
class AgentSetBuilder(kind: AgentKind, capacity: Int)

Attributes

Source
AgentSetBuilder.scala
Supertypes
class Object
trait Matchable
class Any

Attributes

Source
AllStoredValues.scala
Supertypes
class Object
trait Matchable
class Any
Self type
class ArrayAgentSet(kind: AgentKind, printName: String, val array: Array[Agent]) extends IndexedAgentSet

Attributes

Source
ArrayAgentSet.scala
Supertypes
class AgentSet
trait AgentSet
class Object
trait Matchable
class Any
Show all
class BooleanConstraint(var defaultValue: Boolean) extends ValueConstraint

Constraint suitable for Switch variables.

Constraint suitable for Switch variables.

Attributes

Source
BooleanConstraint.scala
Supertypes
class Object
trait Matchable
class Any
class Box(world2d: World2D) extends Topology, XBlocks, YBlocks

Attributes

Source
Box.scala
Supertypes
trait YBlocks
trait XBlocks
trait Topology
trait Neighbors
class Object
trait Matchable
class Any
Show all
class BreedShapes(val genericBreedName: String, tracker: ShapeListTracker)

Attributes

Source
BreedShapes.scala
Supertypes
class Object
trait Matchable
class Any
class ChooserConstraint(var _acceptedValues: LogoList, var defaultIndex: Int) extends ValueConstraint

Attributes

Source
ChooserConstraint.scala
Supertypes
class Object
trait Matchable
class Any

Attributes

Source
CompilationManagement.scala
Supertypes
trait CoreWorld
trait WorldKernel
trait World
class Object
trait Matchable
class Any
Show all
Known subtypes
class World2D
class World3D
Self type
case class ConstantSliderConstraint(min: Double, max: Double, inc: Double) extends SliderConstraint

Attributes

Source
SliderConstraint.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
trait Constraints extends Agent

Attributes

Source
Constraints.scala
Supertypes
class Agent
trait Comparable[Agent]
trait Agent
class Object
trait Matchable
class Any
Show all
Known subtypes
class Observer

Attributes

Source
World.scala
Supertypes
trait WorldKernel
trait World
class Object
trait Matchable
class Any
Show all
Known subtypes
class World2D
class World3D
class World

Attributes

Source
DimensionManagement.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class World
class World2D
class World3D
Self type
WorldJ
sealed trait Directedness

Attributes

Companion
object
Source
Directedness.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Directed
object Undetermined
object Undirected
object Directedness

Attributes

Companion
trait
Source
Directedness.scala
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
class Drawing3D(world: World3D) extends Drawing3D

Attributes

Source
Drawing3D.scala
Supertypes
trait Drawing3D
class Object
trait Matchable
class Any
case class DrawingLine3D(x0: Double, y0: Double, z0: Double, x1: Double, y1: Double, z1: Double, heading: Double, pitch: Double, width: Double, color: AnyRef) extends DrawingLine3D

Attributes

Source
DrawingLine3D.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object DummyLink

Attributes

Companion
class
Source
DummyLink.scala
Supertypes
class Object
trait Matchable
class Any
Self type
DummyLink.type
class DummyLink(world: World, _end1: AnyRef, _end2: AnyRef, breed: AgentSet) extends Link

Attributes

Companion
object
Source
DummyLink.scala
Supertypes
class Link
trait AgentColors
trait Link
class Agent
trait Comparable[Agent]
trait Agent
class Object
trait Matchable
class Any
Show all

Constraint suitable for Slider variables. The various limits on the Slider value can be specified using a NetLogo reporter.

Constraint suitable for Slider variables. The various limits on the Slider value can be specified using a NetLogo reporter.

Attributes

Source
SliderConstraint.scala
Supertypes
class Object
trait Matchable
class Any

Attributes

Source
GrossWorldState.scala
Supertypes
trait WorldKernel
class Object
trait Matchable
class Any
Known subtypes
class World
class World2D
class World3D
Self type
CoreWorld & WorldJ

Attributes

Source
HeadingSmoother.scala
Supertypes
class Object
trait Matchable
class Any
class HorizCylinder(world2d: World2D) extends Topology, XBlocks, YWraps

Attributes

Source
HorizCylinder.scala
Supertypes
trait YWraps
trait XBlocks
trait Topology
trait Neighbors
class Object
trait Matchable
class Any
Show all
class Importer(_errorHandler: ErrorHandler, _world: World, _importerUser: ImporterUser, _stringReader: StringReader) extends ImporterJ

Attributes

Source
Importer.scala
Supertypes
class ImporterJ
class Object
trait Matchable
class Any

Attributes

Source
InRadiusOrCone.scala
Supertypes
class Object
trait Matchable
class Any

Attributes

Source
InRadiusSimple.scala
Supertypes
class Object
trait Matchable
class Any
Self type
abstract class IndexedAgentSet(kind: AgentKind, printName: String) extends AgentSet

Attributes

Source
IndexedAgentSet.scala
Supertypes
class AgentSet
trait AgentSet
class Object
trait Matchable
class Any
Known subtypes
class InputBoxConstraint(var typeName: String, _defaultValue: AnyRef) extends ValueConstraint

Attributes

Source
InputBoxConstraint.scala
Supertypes
class Object
trait Matchable
class Any
class Link3D(world: World, end1: Turtle, end2: Turtle, breed: AgentSet) extends Link, Link3D

Attributes

Source
Link3D.scala
Supertypes
trait Link3D
class Link
trait AgentColors
trait Link
class Agent
trait Comparable[Agent]
trait Agent
class Object
trait Matchable
class Any
Show all
abstract class LinkFactory[A <: World]

Attributes

Source
LinkFactory.scala
Supertypes
class Object
trait Matchable
class Any
trait LinkManagement extends WorldKernel

Attributes

Source
LinkManagement.scala
Supertypes
trait WorldKernel
class Object
trait Matchable
class Any
Known subtypes
class World
class World2D
class World3D
object LinkManager

Attributes

Companion
trait
Source
LinkManager.scala
Supertypes
class Object
trait Matchable
class Any
Self type
trait LinkManager

Attributes

Companion
object
Source
LinkManager.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class LinkManagerImpl[W]
class LinkManagerImpl[W <: World](world: W, linkFactory: LinkFactory[W]) extends LinkManager

Attributes

Source
LinkManager.scala
Supertypes
trait LinkManager
class Object
trait Matchable
class Any
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 LinkStamp3D

Attributes

Source
LinkStamp3D.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait LinkStamp3D
trait Link3D
trait Link
trait Agent
class Object
trait Matchable
class Any
Show all
class LiteralAgentParser(_world: World, readLiteralPrefix: (Token, Iterator[Token]) => AnyRef) extends Iterator[Token] => AnyRef

Attributes

Source
LiteralAgentParser.scala
Supertypes
trait Iterator[Token] => AnyRef
class Object
trait Matchable
class Any
trait Neighbors

Attributes

Source
Neighbors.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait Topology
class Box
class Torus
class Torus3D
class VertCylinder
trait XBlocks
trait XWraps
trait YBlocks
trait YWraps
Show all
class NumericConstraint(var defaultValue: Double) extends ValueConstraint

Constraint suitable for Slider variables.

Constraint suitable for Slider variables.

Attributes

Source
NumericConstraint.scala
Supertypes
class Object
trait Matchable
class Any

Attributes

Source
Observer.scala
Supertypes
trait Constraints
trait Observer
class Agent
trait Comparable[Agent]
trait Agent
class Object
trait Matchable
class Any
Show all

Attributes

Source
ObserverManagement.scala
Supertypes
trait WorldKernel
class Object
trait Matchable
class Any
Known subtypes
class World
class World2D
class World3D

Attributes

Source
OrientableObserver.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class Observer
Self type
case class OutputObject(caption: String, message: String, addNewline: Boolean, isTemporary: Boolean)

Attributes

Source
OutputObject.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
class PatchException(val patch: Patch) extends Exception

Attributes

Source
PatchException.scala
Supertypes
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
object Realloc

Attributes

Source
Realloc.scala
Supertypes
class Object
trait Matchable
class Any
Self type
Realloc.type
class RootsTable(worldWidth: Int, worldHeight: Int)

Attributes

Source
RootsTable.scala
Supertypes
class Object
trait Matchable
class Any
object Rotations3D

Attributes

Source
Rotations3D.scala
Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Companion
class
Source
SliderConstraint.scala
Supertypes
class Object
trait Matchable
class Any
Self type
abstract class SliderConstraint extends ValueConstraint

Attributes

Companion
object
Source
SliderConstraint.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class TickCounter

Attributes

Source
TickCounter.scala
Supertypes
class Object
trait Matchable
class Any
class TieManager(links: TreeAgentSet, linkManager: LinkManager, protractor: Protractor)

Attributes

Source
TieManager.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class TieManager3D
class TieManager3D(links: TreeAgentSet, linkManager: LinkManager, protractor: Protractor3D) extends TieManager

Attributes

Source
TieManager3D.scala
Supertypes
class TieManager
class Object
trait Matchable
class Any
object Topology

Attributes

Companion
trait
Source
Topology.scala
Supertypes
class Object
trait Matchable
class Any
Self type
Topology.type
trait Topology(val world: World) extends Neighbors

Attributes

Companion
object
Source
Topology.scala
Supertypes
trait Neighbors
class Object
trait Matchable
class Any
Known subtypes
class Box
class Torus
class Torus3D
class VertCylinder
trait XBlocks
trait XWraps
trait YBlocks
trait YWraps
Show all
trait Topology3D

Attributes

Source
Topology3D.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class Torus3D
class Torus(_world: World) extends Topology, XWraps, YWraps

Attributes

Source
Torus.scala
Supertypes
trait YWraps
trait XWraps
trait Topology
trait Neighbors
class Object
trait Matchable
class Any
Show all
Known subtypes
class Torus3D
class Torus3D(_world3d: World3D) extends Torus, Topology3D

Attributes

Source
Torus3D.scala
Supertypes
trait Topology3D
class Torus
trait YWraps
trait XWraps
trait Topology
trait Neighbors
class Object
trait Matchable
class Any
Show all
case class Trail(x1: Double, y1: Double, x2: Double, y2: Double, dist: Double)

Attributes

Source
PenLineMaker.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
class TreeAgentSet(kind: AgentKind, printName: String) extends AgentSet

Attributes

Source
TreeAgentSet.scala
Supertypes
class AgentSet
trait AgentSet
class Object
trait Matchable
class Any
object TrigTables

Cache of sines and cosines of integers 0-359. Speed up various operations on angles that are integers. Trigonometry is expensive!

Cache of sines and cosines of integers 0-359. Speed up various operations on angles that are integers. Trigonometry is expensive!

Attributes

Source
TrigTables.scala
Supertypes
class Object
trait Matchable
class Any
Self type
TrigTables.type

Attributes

Source
TurtleManagement.scala
Supertypes
trait WorldKernel
class Object
trait Matchable
class Any
Known subtypes
class World
class World2D
class World3D
Self type
case class TurtleStamp3D(shape: String, xcor: Double, ycor: Double, zcor: Double, size: Double, heading: Double, pitch: Double, roll: Double, color: AnyRef, lineThickness: Double) extends TurtleStamp3D

Attributes

Source
TurtleStamp3D.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait Turtle3D
trait Turtle
trait Agent
class Object
trait Matchable
class Any
Show all
class VertCylinder(world2d: World2D) extends Topology, XWraps, YBlocks

Attributes

Source
VertCylinder.scala
Supertypes
trait YBlocks
trait XWraps
trait Topology
trait Neighbors
class Object
trait Matchable
class Any
Show all

Attributes

Source
WatcherManagement.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait CoreWorld
class World2D
class World3D
class World
object World

Attributes

Companion
class
Source
World.scala
Supertypes
class Object
trait Matchable
class Any
Self type
World.type

Attributes

Companion
object
Source
World.scala
Supertypes
trait CoreWorld
trait WorldKernel
trait World
class Object
trait Matchable
class Any
Show all
Known subtypes
class World2D
class World3D

Attributes

Source
World.scala
Supertypes
class World
trait CoreWorld
trait WorldKernel
trait World
class Object
trait Matchable
class Any
Show all

Attributes

Source
World3D.scala
Supertypes
trait World3D
class World
trait CoreWorld
trait WorldKernel
trait World
class Object
trait Matchable
class Any
Show all
trait WorldKernel

Attributes

Source
World.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait XBlocks extends Topology

Attributes

Source
Topology.scala
Supertypes
trait Topology
trait Neighbors
class Object
trait Matchable
class Any
Known subtypes
class Box
trait XWraps extends Topology

Attributes

Source
Topology.scala
Supertypes
trait Topology
trait Neighbors
class Object
trait Matchable
class Any
Known subtypes
class Torus
class Torus3D
class VertCylinder
trait YBlocks extends Topology

Attributes

Source
Topology.scala
Supertypes
trait Topology
trait Neighbors
class Object
trait Matchable
class Any
Known subtypes
class Box
class VertCylinder
trait YWraps extends Topology

Attributes

Source
Topology.scala
Supertypes
trait Topology
trait Neighbors
class Object
trait Matchable
class Any
Known subtypes
class Torus
class Torus3D