NetLogo 6.2.2 - org.nlogo.agent.World
Keywords: NetLogo 6.2.2 org.nlogo.agent.World

NetLogo6.2.2 < Back
 

# Packages

-  package root
  Definition Classes
    root
-  package org
  Definition Classes
    root
-  package nlogo
  Definition Classes
    org
-  package agent
  Definition Classes
    nlogo
- AbstractExporter
- Agent
- Agent3D
- AgentBit
- AgentColors
- AgentIterator
- AgentManagement
- AgentParserCreator
- AgentSet
- AgentSetBuilder
- AllStoredValues
- ArrayAgentSet
- BooleanConstraint
- Box
- BreedShapes
- ChooserConstraint
- CompilationManagement
- ConstantSliderConstraint
- Constraints
- CoreWorld
- DimensionManagement
- Directedness
- Drawing3D
- DrawingLine3D
- DummyLink
- DynamicSliderConstraint
- Gamma
- GrossWorldState
- HeadingSmoother
- HorizCylinder
- ImportPatchColors
- Importer
- Importer3D
- ImporterJ
- InRadiusOrCone
- InRadiusOrCone3D
- InRadiusSimple
- IndexedAgentSet
- InputBoxConstraint
- Layouts
- Link
- Link3D
- LinkFactory
- LinkManagement
- LinkManager
- LinkManagerImpl
- LinkStamp3D
- LiteralAgentParser
- Neighbors
- NumericConstraint
- Observer
- Observer3D
- ObserverManagement
- OrientatableObserver
- OutputObject
- Patch
- Patch3D
- PatchException
- Protractor
- Protractor3D
- Realloc
- RootsTable
- Rotations3D
- SliderConstraint
- TickCounter
- TieManager
- TieManager3D
- Topology
- Topology3D
- Torus
- Torus3D
- Trail
- TreeAgentSet
- TrigTables
- Turtle
- Turtle2D
- Turtle3D
- TurtleManagement
- TurtleStamp3D
- VertCylinder
- WatcherManagement
- World
- World2D
- World3D
- WorldKernel
- XBlocks
- XWraps
- YBlocks
- YWraps

c

org.nlogo.agent

# World 

###
Companion object World

#### abstract class World extends WorldJ with DimensionManagement with CoreWorld with GrossWorldState with AgentManagement with WatcherManagement

Source
  World.scala

Linear Supertypes
AgentManagement, ObserverManagement, LinkManagement, TurtleManagement, GrossWorldState, CoreWorld, WatcherManagement, WorldKernel, WorldWithWorldRenderable, WorldRenderable, api.World, DimensionManagement, WorldJ, AnyRef, Any
Known Subclasses
World2D, World3D
 
Ordering

1. Alphabetic
2. By Inheritance

Inherited

1. World
2. AgentManagement
3. ObserverManagement
4. LinkManagement
5. TurtleManagement
6. GrossWorldState
7. CoreWorld
8. WatcherManagement
9. WorldKernel
10. WorldWithWorldRenderable
11. WorldRenderable
12. World
13. DimensionManagement
14. WorldJ
15. AnyRef
16. Any

1. Hide All
2. Show All

Visibility

1. Public
2. All

### Instance Constructors

1.  new World()

### Abstract Value Members

1.  abstract val _links: TreeAgentSet
   Attributes
     protected
   Definition Classes
     CoreWorld
2.  abstract def changeTopology(xWrapping: Boolean, yWrapping: Boolean): Unit
3.  abstract def clearDrawing(): Unit
4.  abstract def copy(): World
5.  abstract def createObserver(): Observer
   Attributes
     protected
   Definition Classes
     ObserverManagement
6.  abstract def createPatches(minPx: Int, maxPx: Int, minPy: Int, maxPy: Int): Unit
   Definition Classes
     AgentManagement
7.  abstract def createTurtle(breed: AgentSet, color: Int, heading: Int): Turtle
   Definition Classes
     TurtleManagement
8.  abstract def createTurtle(breed: AgentSet): Turtle
   Definition Classes
     TurtleManagement
9.  abstract def diffuse(param: Double, vn: Int): Unit
10.  abstract def diffuse4(param: Double, vn: Int): Unit
11.  abstract val dimensionVariableNames: Seq[String]
    Attributes
      protected
    Definition Classes
      DimensionManagement
12.  abstract def exportWorld(writer: PrintWriter, full: Boolean): Unit
13.  abstract def fastGetPatchAt(xc: Int, yc: Int): Patch
    Definition Classes
      AgentManagement
14.  abstract def getDimensions: WorldDimensions
    Definition Classes
      World
15.  abstract def getOrCreateTurtle(id: Long): Turtle
    Definition Classes
      AgentManagement
16.  abstract def getPatchAt(x: Double, y: Double): Patch
    Definition Classes
      AgentManagement
    Annotations
      @throws( classOf[AgentException] )
17.  abstract def importWorld(errorHandler: ErrorHandler, importerUser: ImporterUser, stringReader: StringReader, reader: BufferedReader): Unit
    Annotations
      @throws( classOf[java.io.IOException] )
18.  abstract def inRadiusOrCone: World.InRadiusOrCone
19.  abstract def linkManager: LinkManager
    Definition Classes
      LinkManagement
20.  abstract def program: Program
    Definition Classes
      AgentManagement → LinkManagement → TurtleManagement → WorldKernel
21.  abstract def protractor: Protractor
    Definition Classes
      World → World
22.  abstract def realloc(): Unit
    Definition Classes
      World
23.  abstract def sprout(patch: Patch, breed: AgentSet): Turtle
24.  abstract def stamp(agent: Agent, erase: Boolean): Unit
25.  abstract val tieManager: TieManager
    Definition Classes
      CoreWorld

### Concrete Value Members

1.  final def !=(arg0: Any): Boolean
   Definition Classes
     AnyRef → Any
2.  final def ##(): Int
   Definition Classes
     AnyRef → Any
3.  final def ==(arg0: Any): Boolean
   Definition Classes
     AnyRef → Any
4.  val _maxPxcorBoxed: Double
   Definition Classes
     DimensionManagement
5.  val _maxPycorBoxed: Double
   Definition Classes
     DimensionManagement
6.  val _mayHavePartiallyTransparentObjects: Boolean
   Attributes
     protected
   Definition Classes
     GrossWorldState
7.  val _minPxcorBoxed: Double
   Definition Classes
     DimensionManagement
8.  val _minPycorBoxed: Double
   Definition Classes
     DimensionManagement
9.  val _patchColors: Array[Int]
   Attributes
     protected
   Definition Classes
     GrossWorldState
10.  val _patchScratch: Array[Array[Double]]
    Attributes
      protected
    Definition Classes
      GrossWorldState
11.  val _patchesWithLabels: Int
    Attributes
      protected
    Definition Classes
      GrossWorldState
12.  val _turtles: TreeAgentSet
    Attributes
      protected
    Definition Classes
      TurtleManagement
13.  val _worldHeightBoxed: Double
    Definition Classes
      DimensionManagement
14.  val _worldWidthBoxed: Double
    Definition Classes
      DimensionManagement
15.  def addWatcher(variableName: String, watcher: VariableWatcher): Unit

    A watcher to be notified every time the given variable changes for any agent.

    A watcher to be notified every time the given variable changes for any agent.

    variableName

      The variable name to watch as an upper case string; e.g. "XCOR"

    watcher

      The watcher to notify when the variable changes

    Definition Classes
      WatcherManagement
16.  def agentSetOfKind(agentKind: AgentKind): AgentSet
    Definition Classes
      AgentManagement
17.  def allStoredValues: Iterator[AnyRef]
    Definition Classes
      CoreWorld → World
18.  final def asInstanceOf[T0]: T0
    Definition Classes
      Any
19.  val auxRNG: MersenneTwisterFast
    Definition Classes
      CoreWorld → World
20.  def breedOwns(breed: AgentSet, name: String): Boolean
    Definition Classes
      TurtleManagement
21.  val breeds: Map[String, TreeAgentSet]
    Definition Classes
      TurtleManagement → WorldKernel
22.  val breedsOwnCache: HashMap[String, Integer]
    Attributes
      protected
    Definition Classes
      AgentManagement → LinkManagement → TurtleManagement
23.  def breedsOwnIndexOf(breed: AgentSet, name: String): Int
    Definition Classes
      TurtleManagement
24.  def breedsOwnNameAt(breed: api.AgentSet, index: Int): String
    Definition Classes
      TurtleManagement
25.  def checkLinkShapeName(name: String): String
    Definition Classes
      LinkManagement
26.  def checkTurtleShapeName(name: String): String
    Definition Classes
      TurtleManagement
27.  def clearAll(): Unit
    Definition Classes
      AgentManagement → LinkManagement → TurtleManagement → WorldKernel
28.  def clearGlobals(): Unit
    Definition Classes
      ObserverManagement
29.  def clearLinks(): Unit
    Definition Classes
      LinkManagement
30.  def clearObserverPosition(): Unit
    Definition Classes
      ObserverManagement
31.  def clearPatches(): Unit
    Definition Classes
      AgentManagement
32.  def clearTurtles(): Unit
    Definition Classes
      TurtleManagement
33.  def clone(): AnyRef
    Attributes
      protected[lang]
    Definition Classes
      AnyRef
    Annotations
      @throws( ... ) @native()
34.  def compareLinkBreeds(breed1: AgentSet, breed2: AgentSet): Int
    Definition Classes
      LinkManagement
35.  def copyAgents(other: AgentManagement, newWorld: World): Unit
    Definition Classes
      AgentManagement
36.  def copyDimensions(other: DimensionManagement): Unit
    Definition Classes
      DimensionManagement
37.  def copyGrossState(other: GrossWorldState): Unit
    Definition Classes
      GrossWorldState
38.  def createPatches(dim: WorldDimensions): Unit
    Definition Classes
      AgentManagement
39.  def deleteWatcher(variableName: String, watcher: VariableWatcher): Unit

    Deletes a variable watcher.

    Deletes a variable watcher.

    variableName

      The watched variable name as an upper case string; e.g. "XCOR"

    watcher

      The watcher to delete

    Definition Classes
      WatcherManagement
40.  def displayOn(displayOn: Boolean): Unit
    Definition Classes
      GrossWorldState
41.  def displayOn: Boolean
    Definition Classes
      GrossWorldState
42.  final def eq(arg0: AnyRef): Boolean
    Definition Classes
      AnyRef
43.  def equalDimensions(d: WorldDimensions): Boolean
    Definition Classes
      DimensionManagement
44.  def equals(arg0: Any): Boolean
    Definition Classes
      AnyRef → Any
45.  def finalize(): Unit
    Attributes
      protected[lang]
    Definition Classes
      AnyRef
    Annotations
      @throws( classOf[java.lang.Throwable] )
46.  def followOffsetX: Double
    Definition Classes
      ObserverManagement
47.  def followOffsetY: Double
    Definition Classes
      ObserverManagement
48.  def generateSeed: Double
    Definition Classes
      CoreWorld
49.  def getBreed(breedName: String): TreeAgentSet
    Definition Classes
      TurtleManagement
50.  def getBreedSingular(breed: AgentSet): String
    Definition Classes
      TurtleManagement
51.  final def getClass(): Class[_]
    Definition Classes
      AnyRef → Any
    Annotations
      @native()
52.  def getDrawing: AnyRef
    Definition Classes
      GrossWorldState
53.  def getLink(end1: AnyRef, end2: AnyRef, breed: AgentSet): Link
    Definition Classes
      LinkManagement
54.  def getLinkBreed(breedName: String): AgentSet
    Definition Classes
      LinkManagement
55.  def getLinkBreedSingular(breed: AgentSet): String
    Definition Classes
      LinkManagement
56.  def getLinkShape(name: String): Shape
    Definition Classes
      LinkManagement
57.  def getLinkVariablesArraySize(breed: AgentSet): Int
    Definition Classes
      LinkManagement
58.  def getObserverVariableByName(varName: String): AnyRef
    Definition Classes
      ObserverManagement
59.  def getOrCreateDummyLink(end1: AnyRef, end2: AnyRef, breed: AgentSet): Link
    Definition Classes
      AgentManagement
60.  def getOrCreateLink(end1: Turtle, end2: Turtle, breed: AgentSet): Link
    Definition Classes
      AgentManagement
61.  def getOrCreateLink(end1: Double, end2: Double, breed: AgentSet): Link
    Definition Classes
      AgentManagement
62.  def getPatch(id: Int): Patch
    Definition Classes
      AgentManagement
63.  def getPatchScratch: Array[Array[Double]]
    Definition Classes
      GrossWorldState
64.  def getTurtle(id: Long): Turtle
    Definition Classes
      TurtleManagement
65.  def getVariablesArraySize(patch: Patch): Int
    Definition Classes
      AgentManagement
66.  def getVariablesArraySize(observer: Observer): Int
    Definition Classes
      ObserverManagement
67.  def getVariablesArraySize(link: api.Link, breed: api.AgentSet): Int
    Definition Classes
      LinkManagement
68.  def getVariablesArraySize(turtle: api.Turtle, breed: api.AgentSet): Int
    Definition Classes
      TurtleManagement
69.  def growMax(min: Int, max: Int, value: Int, d: Int): Int
    Definition Classes
      DimensionManagement
    Annotations
      @throws( classOf[WorldDimensionException] )
70.  def growMin(min: Int, max: Int, value: Int, d: Int): Int
    Definition Classes
      DimensionManagement
    Annotations
      @throws( classOf[WorldDimensionException] )
71.  def hashCode(): Int
    Definition Classes
      AnyRef → Any
    Annotations
      @native()
72.  def indexOfVariable(agent: Agent, name: String): Int
    Definition Classes
      AgentManagement
73.  def indexOfVariable(agentKind: AgentKind, name: String): Int
    Definition Classes
      AgentManagement
74.  def isBreed(breed: AgentSet): Boolean
    Definition Classes
      TurtleManagement
75.  def isDimensionVariable(variableName: String): Boolean
    Definition Classes
      DimensionManagement
76.  final def isInstanceOf[T0]: Boolean
    Definition Classes
      Any
77.  def isLinkBreed(breed: AgentSet): Boolean
    Definition Classes
      LinkManagement
78.  def lineThickness(agent: Agent): Double
    Definition Classes
      TurtleManagement
79.  val lineThicknesses: Map[Agent, Double]
    Attributes
      protected
    Definition Classes
      TurtleManagement
80.  def linkBreedOwns(breed: AgentSet, name: String): Boolean
    Definition Classes
      LinkManagement
81.  val linkBreedShapes: BreedShapes
    Definition Classes
      LinkManagement
82.  val linkBreeds: Map[String, TreeAgentSet]
    Definition Classes
      LinkManagement → WorldKernel
83.  def linkBreedsOwnIndexOf(breed: AgentSet, name: String): Int
    Definition Classes
      LinkManagement
84.  def linkBreedsOwnNameAt(breed: AgentSet, index: Int): String
    Definition Classes
      LinkManagement
85.  def linkShapeList: ShapeList
    Definition Classes
      LinkManagement
86.  val linkShapes: ShapeListTracker
    Definition Classes
      LinkManagement
87.  def links: TreeAgentSet
    Definition Classes
      CoreWorld → WorldKernel → World
88.  def linksOwnIndexOf(name: String): Int
    Definition Classes
      LinkManagement
89.  def linksOwnNameAt(index: Int): String
    Definition Classes
      LinkManagement
90.  val mainRNG: MersenneTwisterFast
    Definition Classes
      CoreWorld → World
91.  def markDrawingClean(): Unit
    Definition Classes
      GrossWorldState
92.  def markPatchColorsClean(): Unit
    Definition Classes
      GrossWorldState
93.  def markPatchColorsDirty(): Unit
    Definition Classes
      GrossWorldState
94.  def maxPxcor: Int
    Definition Classes
      DimensionManagement
95.  def maxPxcorBoxed: Double
    Definition Classes
      DimensionManagement
96.  def maxPycor: Int
    Definition Classes
      DimensionManagement
97.  def maxPycorBoxed: Double
    Definition Classes
      DimensionManagement
98.  def mayHavePartiallyTransparentObjects: Boolean
    Definition Classes
      GrossWorldState
99.  def minPxcor: Int
    Definition Classes
      DimensionManagement
100.  def minPxcorBoxed: Double
     Definition Classes
       DimensionManagement
101.  def minPycor: Int
     Definition Classes
       DimensionManagement
102.  def minPycorBoxed: Double
     Definition Classes
       DimensionManagement
103.  final def ne(arg0: AnyRef): Boolean
     Definition Classes
       AnyRef
104.  def newLinkId(): Long
     Definition Classes
       LinkManagement
105.  def newTurtleId(): Long
     Definition Classes
       TurtleManagement
106.  def nextTurtleIndex: Long
     Definition Classes
       TurtleManagement
107.  def nextTurtleIndex(nextTurtleIndex: Long): Unit
     Definition Classes
       TurtleManagement
108.  val noLinks: AgentSet
     Definition Classes
       AgentManagement
109.  val noPatches: AgentSet
     Definition Classes
       AgentManagement
110.  val noTurtles: AgentSet
     Definition Classes
       AgentManagement
111.  final def notify(): Unit
     Definition Classes
       AnyRef
     Annotations
       @native()
112.  final def notifyAll(): Unit
     Definition Classes
       AnyRef
     Annotations
       @native()
113.  def notifyWatchers(agent: Agent, vn: Int, value: AnyRef): Unit
     Definition Classes
       WatcherManagement
114.  val observer: Observer
     Definition Classes
       ObserverManagement → WorldKernel
115.  def observerOwnsIndexOf(name: String): Int
     Definition Classes
       AgentManagement
116.  def observerOwnsNameAt(index: Int): String
     Definition Classes
       AgentManagement
117.  val observers: AgentSet
     Definition Classes
       ObserverManagement → WorldKernel
118.  def patchChangedColorAt(patchId: Int, color: Double): Unit
     Definition Classes
       GrossWorldState
119.  def patchColors: Array[Int]
     Definition Classes
       GrossWorldState
120.  def patchColorsDirty: Boolean
     Definition Classes
       GrossWorldState
121.  def patchSize(patchSize: Double): Boolean
     Definition Classes
       DimensionManagement
122.  def patchSize: Double
     Definition Classes
       DimensionManagement
123.  def patches: IndexedAgentSet
     Definition Classes
       CoreWorld → WorldKernel → World
124.  def patchesAllBlack: Boolean
     Definition Classes
       GrossWorldState
125.  def patchesOwnIndexOf(name: String): Int
     Definition Classes
       AgentManagement
126.  def patchesOwnNameAt(index: Int): String
     Definition Classes
       AgentManagement
127.  def patchesWithLabels: Int
     Definition Classes
       GrossWorldState
128.  def removeLineThickness(agent: Agent): Unit
     Definition Classes
       TurtleManagement
129.  def sendPixels: Boolean
     Definition Classes
       GrossWorldState
130.  def setDimensionVariable(variableName: String, value: Int, d: WorldDimensions): WorldDimensions
     Definition Classes
       DimensionManagement
     Annotations
       @throws( classOf[WorldDimensionException] )
131.  def setLineThickness(agent: Agent, size: Double): Unit
     Definition Classes
       TurtleManagement
132.  def setObserverVariableByName(varName: String, value: AnyRef): Unit
     Definition Classes
       ObserverManagement
     Annotations
       @throws( classOf[AgentException] ) @throws( classOf[LogoException] )
133.  def setUpShapes(clearOld: Boolean): Unit
     Definition Classes
       AgentManagement
134.  final def synchronized[T0](arg0: ⇒ T0): T0
     Definition Classes
       AnyRef
135.  val tickCounter: TickCounter
     Definition Classes
       CoreWorld
136.  def ticks: Double
     Definition Classes
       CoreWorld → World
137.  val timer: Timer
     Definition Classes
       CoreWorld → World
138.  def toString(): String
     Definition Classes
       AnyRef → Any
139.  def topology: Topology
     Definition Classes
       CoreWorld → WorldKernel
140.  def trailDrawer: TrailDrawerInterface
     Definition Classes
       GrossWorldState
141.  def trailDrawer(trailDrawer: TrailDrawerInterface): Unit
     Definition Classes
       GrossWorldState
142.  val turtleBreedShapes: BreedShapes
     Definition Classes
       TurtleManagement
143.  def turtleShapeList: ShapeList
     Definition Classes
       TurtleManagement
144.  val turtleShapes: ShapeListTracker
     Definition Classes
       TurtleManagement
145.  def turtles: TreeAgentSet
     Definition Classes
       TurtleManagement → WorldKernel
146.  def turtlesOwnIndexOf(name: String): Int
     Definition Classes
       TurtleManagement
147.  def turtlesOwnNameAt(index: Int): String
     Definition Classes
       TurtleManagement
148.  def validPatchCoordinates(xc: Int, yc: Int): Boolean
     Definition Classes
       DimensionManagement
149.  final def wait(): Unit
     Definition Classes
       AnyRef
     Annotations
       @throws( ... )
150.  final def wait(arg0: Long, arg1: Int): Unit
     Definition Classes
       AnyRef
     Annotations
       @throws( ... )
151.  final def wait(arg0: Long): Unit
     Definition Classes
       AnyRef
     Annotations
       @throws( ... ) @native()
152.  def worldHeight: Int
     Definition Classes
       DimensionManagement
153.  def worldHeightBoxed: Double
     Definition Classes
       DimensionManagement
154.  def worldWidth: Int
     Definition Classes
       DimensionManagement
155.  def worldWidthBoxed: Double
     Definition Classes
       DimensionManagement
156.  def wrap(pos: Double, min: Double, max: Double): Double
     Definition Classes
       DimensionManagement
157.  def wrapAndRoundX(x: Double): Int
     Definition Classes
       DimensionManagement
     Annotations
       @throws( classOf[AgentException] )
158.  def wrapAndRoundY(y: Double): Int
     Definition Classes
       DimensionManagement
     Annotations
       @throws( classOf[AgentException] )
159.  def wrapX(x: Double): Double
     Definition Classes
       DimensionManagement
     Annotations
       @throws( classOf[AgentException] )
160.  def wrapY(y: Double): Double
     Definition Classes
       DimensionManagement
     Annotations
       @throws( classOf[AgentException] )
161.  def wrappedObserverX(x: Double): Double
     Definition Classes
       ObserverManagement
162.  def wrappedObserverY(y: Double): Double
     Definition Classes
       ObserverManagement
163.  def wrappingAllowedInX: Boolean
     Definition Classes
       DimensionManagement
164.  def wrappingAllowedInY: Boolean
     Definition Classes
       DimensionManagement

### Inherited from AgentManagement

### Inherited from ObserverManagement

### Inherited from LinkManagement

### Inherited from TurtleManagement

### Inherited from GrossWorldState

### Inherited from CoreWorld

### Inherited from WatcherManagement

### Inherited from WorldKernel

### Inherited from WorldWithWorldRenderable

### Inherited from WorldRenderable

### Inherited from api.World

### Inherited from DimensionManagement

### Inherited from WorldJ

### Inherited from AnyRef

### Inherited from Any

### Ungrouped