c

org.nlogo.agent

World2D

class World2D extends World with CompilationManagement

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. World2D
  2. CompilationManagement
  3. World
  4. AgentManagement
  5. ObserverManagement
  6. LinkManagement
  7. TurtleManagement
  8. GrossWorldState
  9. CoreWorld
  10. WatcherManagement
  11. WorldKernel
  12. WorldWithWorldRenderable
  13. WorldRenderable
  14. World
  15. DimensionManagement
  16. WorldJ
  17. AnyRef
  18. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new World2D()

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 _links: TreeAgentSet
    Attributes
    protected
    Definition Classes
    World2DCoreWorld
  5. val _maxPxcorBoxed: Double
    Definition Classes
    DimensionManagement
  6. val _maxPycorBoxed: Double
    Definition Classes
    DimensionManagement
  7. val _mayHavePartiallyTransparentObjects: Boolean
    Attributes
    protected
    Definition Classes
    GrossWorldState
  8. val _minPxcorBoxed: Double
    Definition Classes
    DimensionManagement
  9. val _minPycorBoxed: Double
    Definition Classes
    DimensionManagement
  10. val _patchColors: Array[Int]
    Attributes
    protected
    Definition Classes
    GrossWorldState
  11. val _patchScratch: Array[Array[Double]]
    Attributes
    protected
    Definition Classes
    GrossWorldState
  12. val _patchesWithLabels: Int
    Attributes
    protected
    Definition Classes
    GrossWorldState
  13. val _turtles: TreeAgentSet
    Attributes
    protected
    Definition Classes
    TurtleManagement
  14. val _worldHeightBoxed: Double
    Definition Classes
    DimensionManagement
  15. val _worldWidthBoxed: Double
    Definition Classes
    DimensionManagement
  16. 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
  17. def agentSetOfKind(agentKind: AgentKind): AgentSet
    Definition Classes
    AgentManagement
  18. def allStoredValues: Iterator[AnyRef]
    Definition Classes
    CoreWorldWorld
  19. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  20. val auxRNG: MersenneTwisterFast
    Definition Classes
    CoreWorldWorld
  21. def breedOwns(breed: AgentSet, name: String): Boolean
    Definition Classes
    TurtleManagement
  22. val breeds: Map[String, TreeAgentSet]
    Definition Classes
    TurtleManagementWorldKernel
  23. val breedsOwnCache: HashMap[String, Integer]
    Attributes
    protected
    Definition Classes
    AgentManagementLinkManagementTurtleManagement
  24. def breedsOwnIndexOf(breed: AgentSet, name: String): Int
    Definition Classes
    TurtleManagement
  25. def breedsOwnNameAt(breed: api.AgentSet, index: Int): String
    Definition Classes
    TurtleManagement
  26. def buildBreedCaches(): Unit
    Attributes
    protected
    Definition Classes
    CompilationManagement
  27. def changeTopology(xWrapping: Boolean, yWrapping: Boolean): Unit
    Definition Classes
    World2DWorld
  28. def checkLinkShapeName(name: String): String
    Definition Classes
    LinkManagement
  29. def checkTurtleShapeName(name: String): String
    Definition Classes
    TurtleManagement
  30. def clearAll(): Unit
  31. def clearDrawing(): Unit
    Definition Classes
    World2DWorld
  32. def clearGlobals(): Unit
    Definition Classes
    ObserverManagement
  33. def clearLinks(): Unit
    Definition Classes
    LinkManagement
  34. def clearObserverPosition(): Unit
    Definition Classes
    ObserverManagement
  35. def clearPatches(): Unit
    Definition Classes
    AgentManagement
  36. def clearTurtles(): Unit
    Definition Classes
    TurtleManagement
  37. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @IntrinsicCandidate()
  38. def compareLinkBreeds(breed1: AgentSet, breed2: AgentSet): Int
    Definition Classes
    LinkManagement
  39. def compiler: CompilerServices
    Definition Classes
    CompilationManagement
  40. def compiler_=(compiler: CompilerServices): Unit
    Definition Classes
    CompilationManagement
  41. def copy(): World
    Definition Classes
    World2DWorld
  42. def copyAgents(other: AgentManagement, newWorld: World): Unit
    Definition Classes
    AgentManagement
  43. def copyDimensions(other: DimensionManagement): Unit
    Definition Classes
    DimensionManagement
  44. def copyGrossState(other: GrossWorldState): Unit
    Definition Classes
    GrossWorldState
  45. def createObserver(): Observer
    Attributes
    protected
    Definition Classes
    World2DObserverManagement
  46. def createPatches(minPxcor: Int, maxPxcor: Int, minPycor: Int, maxPycor: Int): Unit
    Definition Classes
    World2DAgentManagement
  47. def createPatches(dim: WorldDimensions): Unit
    Definition Classes
    AgentManagement
  48. def createTurtle(breed: AgentSet, c: Int, h: Int): Turtle
    Definition Classes
    World2DTurtleManagement
  49. def createTurtle(breed: AgentSet): Turtle
    Definition Classes
    World2DTurtleManagement
  50. 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
  51. def diffuse(param: Double, vn: Int): Unit
    Definition Classes
    World2DWorld
    Annotations
    @throws( classOf[AgentException] ) @throws( classOf[PatchException] )
  52. def diffuse4(param: Double, vn: Int): Unit
    Definition Classes
    World2DWorld
    Annotations
    @throws( classOf[AgentException] ) @throws( classOf[PatchException] )
  53. val dimensionVariableNames: Seq[String]
    Attributes
    protected
    Definition Classes
    World2DDimensionManagement
  54. def displayOn(displayOn: Boolean): Unit
    Definition Classes
    GrossWorldState
  55. def displayOn: Boolean
    Definition Classes
    GrossWorldState
  56. def drawLine(x0: Double, y0: Double, x1: Double, y1: Double, color: AnyRef, size: Double, mode: String): Unit
  57. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  58. def equalDimensions(d: WorldDimensions): Boolean
    Definition Classes
    DimensionManagement
  59. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  60. def exportWorld(writer: PrintWriter, full: Boolean): Unit
    Definition Classes
    World2DWorld
  61. def fastGetPatchAt(xc: Int, yc: Int): Patch
    Definition Classes
    World2DAgentManagementWorld
  62. def followOffsetX: Double
    Definition Classes
    ObserverManagement
  63. def followOffsetY: Double
    Definition Classes
    ObserverManagement
  64. def generateSeed: Double
    Definition Classes
    CoreWorld
  65. def getBreed(breedName: String): TreeAgentSet
    Definition Classes
    TurtleManagement
  66. def getBreedSingular(breed: AgentSet): String
    Definition Classes
    TurtleManagement
  67. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  68. def getDimensions: WorldDimensions
    Definition Classes
    World2DWorld
  69. def getDrawing: AnyRef
    Definition Classes
    GrossWorldState
  70. def getLink(end1: AnyRef, end2: AnyRef, breed: AgentSet): Link
    Definition Classes
    LinkManagement
  71. def getLinkBreed(breedName: String): AgentSet
    Definition Classes
    LinkManagement
  72. def getLinkBreedSingular(breed: AgentSet): String
    Definition Classes
    LinkManagement
  73. def getLinkShape(name: String): Shape
    Definition Classes
    LinkManagement
  74. def getLinkVariablesArraySize(breed: AgentSet): Int
    Definition Classes
    LinkManagement
  75. def getObserverVariableByName(varName: String): AnyRef
    Definition Classes
    ObserverManagement
  76. def getOrCreateDummyLink(end1: AnyRef, end2: AnyRef, breed: AgentSet): Link
    Definition Classes
    AgentManagement
  77. def getOrCreateLink(end1: Turtle, end2: Turtle, breed: AgentSet): Link
    Definition Classes
    AgentManagement
  78. def getOrCreateLink(end1: Double, end2: Double, breed: AgentSet): Link
    Definition Classes
    AgentManagement
  79. def getOrCreateTurtle(id: Long): Turtle
    Definition Classes
    World2DAgentManagement
  80. def getPatch(id: Int): Patch
    Definition Classes
    AgentManagement
  81. def getPatchAt(x: Double, y: Double): Patch
    Definition Classes
    World2DAgentManagementWorld
    Annotations
    @throws( classOf[AgentException] )
  82. def getPatchAtWrap(x: Int, y: Int): Patch
  83. def getPatchAtWrap(x: Double, y: Double): Patch
  84. def getPatchScratch: Array[Array[Double]]
    Definition Classes
    GrossWorldState
  85. def getTurtle(id: Long): Turtle
    Definition Classes
    TurtleManagement
  86. def getVariablesArraySize(patch: Patch): Int
    Definition Classes
    AgentManagement
  87. def getVariablesArraySize(observer: Observer): Int
    Definition Classes
    ObserverManagement
  88. def getVariablesArraySize(link: api.Link, breed: api.AgentSet): Int
    Definition Classes
    LinkManagement
  89. def getVariablesArraySize(turtle: api.Turtle, breed: api.AgentSet): Int
    Definition Classes
    TurtleManagement
  90. def growMax(min: Int, max: Int, value: Int, d: Int): Int
    Definition Classes
    DimensionManagement
    Annotations
    @throws( classOf[WorldDimensionException] )
  91. def growMin(min: Int, max: Int, value: Int, d: Int): Int
    Definition Classes
    DimensionManagement
    Annotations
    @throws( classOf[WorldDimensionException] )
  92. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  93. def importWorld(errorHandler: ErrorHandler, importerUser: ImporterUser, stringReader: StringReader, reader: BufferedReader): Unit
    Definition Classes
    World2DWorld
    Annotations
    @throws( classOf[java.io.IOException] )
  94. val inRadiusOrCone: InRadiusOrCone
    Definition Classes
    World2DWorld
  95. def indexOfVariable(agent: Agent, name: String): Int
    Definition Classes
    AgentManagement
  96. def indexOfVariable(agentKind: AgentKind, name: String): Int
    Definition Classes
    AgentManagement
  97. def isBreed(breed: AgentSet): Boolean
    Definition Classes
    TurtleManagement
  98. def isDimensionVariable(variableName: String): Boolean
    Definition Classes
    DimensionManagement
  99. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  100. def isLinkBreed(breed: AgentSet): Boolean
    Definition Classes
    LinkManagement
  101. def lineThickness(agent: Agent): Double
    Definition Classes
    TurtleManagement
  102. val lineThicknesses: Map[Agent, Double]
    Attributes
    protected
    Definition Classes
    TurtleManagement
  103. def linkBreedOwns(breed: AgentSet, name: String): Boolean
    Definition Classes
    LinkManagement
  104. val linkBreedShapes: BreedShapes
    Definition Classes
    LinkManagement
  105. val linkBreeds: Map[String, TreeAgentSet]
    Definition Classes
    LinkManagementWorldKernel
  106. def linkBreedsOwnIndexOf(breed: AgentSet, name: String): Int
    Definition Classes
    LinkManagement
  107. def linkBreedsOwnNameAt(breed: AgentSet, index: Int): String
    Definition Classes
    LinkManagement
  108. val linkManager: LinkManager
    Definition Classes
    World2DLinkManagementCoreWorld
  109. def linkShapeList: ShapeList
    Definition Classes
    LinkManagement
  110. val linkShapes: ShapeListTracker
    Definition Classes
    LinkManagement
  111. def links: TreeAgentSet
    Definition Classes
    CoreWorldWorldKernelWorld
  112. def linksOwnIndexOf(name: String): Int
    Definition Classes
    LinkManagement
  113. def linksOwnNameAt(index: Int): String
    Definition Classes
    LinkManagement
  114. val mainRNG: MersenneTwisterFast
    Definition Classes
    CoreWorldWorld
  115. def markDrawingClean(): Unit
    Definition Classes
    GrossWorldState
  116. def markPatchColorsClean(): Unit
    Definition Classes
    GrossWorldState
  117. def markPatchColorsDirty(): Unit
    Definition Classes
    GrossWorldState
  118. def maxPxcor: Int
    Definition Classes
    DimensionManagement
  119. def maxPxcorBoxed: Double
    Definition Classes
    DimensionManagement
  120. def maxPycor: Int
    Definition Classes
    DimensionManagement
  121. def maxPycorBoxed: Double
    Definition Classes
    DimensionManagement
  122. def mayHavePartiallyTransparentObjects: Boolean
    Definition Classes
    GrossWorldState
  123. def minPxcor: Int
    Definition Classes
    DimensionManagement
  124. def minPxcorBoxed: Double
    Definition Classes
    DimensionManagement
  125. def minPycor: Int
    Definition Classes
    DimensionManagement
  126. def minPycorBoxed: Double
    Definition Classes
    DimensionManagement
  127. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  128. def newLinkId(): Long
    Definition Classes
    LinkManagement
  129. def newProgram(interfaceGlobals: Seq[String]): Program
    Definition Classes
    CompilationManagement
  130. def newProgram: Program
    Definition Classes
    CompilationManagement
  131. def newTurtleId(): Long
    Definition Classes
    TurtleManagement
  132. def nextTurtleIndex: Long
    Definition Classes
    TurtleManagement
  133. def nextTurtleIndex(nextTurtleIndex: Long): Unit
    Definition Classes
    TurtleManagement
  134. val noLinks: AgentSet
    Definition Classes
    AgentManagement
  135. val noPatches: AgentSet
    Definition Classes
    AgentManagement
  136. val noTurtles: AgentSet
    Definition Classes
    AgentManagement
  137. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  138. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  139. def notifyWatchers(agent: Agent, vn: Int, value: AnyRef): Unit
    Definition Classes
    WatcherManagement
  140. val observer: Observer
    Definition Classes
    ObserverManagementWorldKernel
  141. def observerOwnsIndexOf(name: String): Int
    Definition Classes
    AgentManagement
  142. def observerOwnsNameAt(index: Int): String
    Definition Classes
    AgentManagement
  143. val observers: AgentSet
    Definition Classes
    ObserverManagementWorldKernel
  144. def oldProgram: Program
    Definition Classes
    CompilationManagement
  145. def patchChangedColorAt(patchId: Int, color: Double): Unit
    Definition Classes
    GrossWorldState
  146. def patchColors: Array[Int]
    Definition Classes
    GrossWorldState
  147. def patchColorsDirty: Boolean
    Definition Classes
    GrossWorldState
  148. def patchSize(patchSize: Double): Boolean
    Definition Classes
    DimensionManagement
  149. def patchSize: Double
    Definition Classes
    DimensionManagement
  150. def patches: IndexedAgentSet
    Definition Classes
    CoreWorldWorldKernelWorld
  151. def patchesAllBlack: Boolean
    Definition Classes
    GrossWorldState
  152. def patchesOwnIndexOf(name: String): Int
    Definition Classes
    AgentManagement
  153. def patchesOwnNameAt(index: Int): String
    Definition Classes
    AgentManagement
  154. def patchesWithLabels: Int
    Definition Classes
    GrossWorldState
  155. def program(program: Program): Unit
    Definition Classes
    CompilationManagement
  156. def program: Program
    Definition Classes
    CompilationManagementWorldKernelWorld
  157. def program_=(p: Program): Unit
    Definition Classes
    CompilationManagement
  158. val protractor: Protractor
    Definition Classes
    World2DWorldWorld
  159. def realloc(): Unit
    Definition Classes
    CompilationManagementWorld
  160. def recreateAllBreeds(): Unit
    Attributes
    protected
    Definition Classes
    CompilationManagement
  161. def rememberOldProgram(): Unit
    Definition Classes
    CompilationManagement
  162. def removeLineThickness(agent: Agent): Unit
    Definition Classes
    TurtleManagement
  163. def sendPixels: Boolean
    Definition Classes
    GrossWorldState
  164. def setDimensionVariable(variableName: String, value: Int, d: WorldDimensions): WorldDimensions
    Definition Classes
    DimensionManagement
    Annotations
    @throws( classOf[WorldDimensionException] )
  165. def setLineThickness(agent: Agent, size: Double): Unit
    Definition Classes
    TurtleManagement
  166. def setObserverVariableByName(varName: String, value: AnyRef): Unit
    Definition Classes
    ObserverManagement
    Annotations
    @throws( classOf[AgentException] ) @throws( classOf[LogoException] )
  167. def setUpShapes(clearOld: Boolean): Unit
    Definition Classes
    AgentManagement
  168. def sprout(patch: Patch, breed: AgentSet): Turtle
    Definition Classes
    World2DWorld
  169. def stamp(agent: Agent, erase: Boolean): Unit
    Definition Classes
    World2DWorld
  170. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  171. val tickCounter: TickCounter
    Definition Classes
    CoreWorld
  172. def ticks: Double
    Definition Classes
    CoreWorldWorld
  173. val tieManager: TieManager
    Definition Classes
    World2DCoreWorld
  174. val timer: Timer
    Definition Classes
    CoreWorldWorld
  175. def toString(): String
    Definition Classes
    AnyRef → Any
  176. def topology: Topology
    Definition Classes
    CoreWorldWorldKernel
  177. def trailDrawer: TrailDrawerInterface
    Definition Classes
    GrossWorldState
  178. def trailDrawer(trailDrawer: TrailDrawerInterface): Unit
    Definition Classes
    GrossWorldState
  179. val turtleBreedShapes: BreedShapes
    Definition Classes
    TurtleManagement
  180. def turtleShapeList: ShapeList
    Definition Classes
    TurtleManagement
  181. val turtleShapes: ShapeListTracker
    Definition Classes
    TurtleManagement
  182. def turtles: TreeAgentSet
    Definition Classes
    TurtleManagementWorldKernel
  183. def turtlesOwnIndexOf(name: String): Int
    Definition Classes
    TurtleManagement
  184. def turtlesOwnNameAt(index: Int): String
    Definition Classes
    TurtleManagement
  185. def validPatchCoordinates(xc: Int, yc: Int): Boolean
    Definition Classes
    DimensionManagement
  186. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  187. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  188. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  189. def worldHeight: Int
    Definition Classes
    DimensionManagement
  190. def worldHeightBoxed: Double
    Definition Classes
    DimensionManagement
  191. def worldWidth: Int
    Definition Classes
    DimensionManagement
  192. def worldWidthBoxed: Double
    Definition Classes
    DimensionManagement
  193. def wrap(pos: Double, min: Double, max: Double): Double
    Definition Classes
    DimensionManagement
  194. def wrapAndRoundX(x: Double): Int
    Definition Classes
    DimensionManagement
    Annotations
    @throws( classOf[AgentException] )
  195. def wrapAndRoundY(y: Double): Int
    Definition Classes
    DimensionManagement
    Annotations
    @throws( classOf[AgentException] )
  196. def wrapX(x: Double): Double
    Definition Classes
    DimensionManagement
    Annotations
    @throws( classOf[AgentException] )
  197. def wrapY(y: Double): Double
    Definition Classes
    DimensionManagement
    Annotations
    @throws( classOf[AgentException] )
  198. def wrappedObserverX(x: Double): Double
    Definition Classes
    ObserverManagement
  199. def wrappedObserverY(y: Double): Double
    Definition Classes
    ObserverManagement
  200. def wrappingAllowedInX: Boolean
    Definition Classes
    DimensionManagement
  201. def wrappingAllowedInY: Boolean
    Definition Classes
    DimensionManagement

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated

Inherited from CompilationManagement

Inherited from World

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