World2D

org.nlogo.agent.World2D

Attributes

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

Members list

Value members

Concrete methods

def changeTopology(xWrapping: Boolean, yWrapping: Boolean): Unit

Attributes

Source
World.scala
override def clearAll(): Unit

Attributes

Source
World.scala
def copy(): World

Attributes

Source
World.scala
def createPatches(minPxcor: Int, maxPxcor: Int, minPycor: Int, maxPycor: Int): Unit

Attributes

Source
World.scala
def createTurtle(breed: AgentSet): Turtle

Attributes

Source
World.scala
def createTurtle(breed: AgentSet, c: Int, h: Int): Turtle

Attributes

Source
World.scala
def diffuse(param: Double, vn: Int): Unit

Attributes

Source
World.scala
def diffuse4(param: Double, vn: Int): Unit

Attributes

Source
World.scala
def drawLine(x0: Double, y0: Double, x1: Double, y1: Double, color: Object, size: Double, mode: String): Unit

Attributes

Source
World.scala
def exportWorld(writer: PrintWriter, full: Boolean): Unit

Attributes

Source
World.scala
def fastGetPatchAt(xc: Int, yc: Int): Patch

Attributes

Source
World.scala

Attributes

Source
World.scala
def getOrCreateTurtle(id: Long): Turtle

Attributes

Source
World.scala
def getPatchAt(x: Double, y: Double): Patch

Attributes

Source
World.scala
def getPatchAtWrap(x: Double, y: Double): Patch

Attributes

Source
World.scala
def getPatchAtWrap(x: Int, y: Int): Patch

Attributes

Source
World.scala
def importWorld(errorHandler: ErrorHandler, importerUser: ImporterUser, stringReader: StringReader, reader: BufferedReader): Unit

Attributes

Source
World.scala
def sprout(patch: Patch, breed: AgentSet): Turtle

Attributes

Source
World.scala
def stamp(agent: Agent, erase: Boolean): Unit

Attributes

Source
World.scala

Inherited methods

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.

Value parameters

variableName

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

watcher

The watcher to notify when the variable changes

Attributes

Inherited from:
WatcherManagement
Source
WatcherManagement.scala
def agentSetOfKind(agentKind: AgentKind): AgentSet

Attributes

Inherited from:
AgentManagement
Source
AgentManagement.scala
def allStoredValues: Iterator[Object]

Attributes

Inherited from:
CoreWorld
Source
World.scala
def breedOwns(breed: AgentSet, name: String): Boolean

Attributes

Inherited from:
TurtleManagement
Source
TurtleManagement.scala
def breedsOwnIndexOf(breed: AgentSet, name: String): Int

Attributes

Inherited from:
TurtleManagement
Source
TurtleManagement.scala
def breedsOwnNameAt(breed: AgentSet, index: Int): String

Attributes

Inherited from:
TurtleManagement
Source
TurtleManagement.scala
protected def buildBreedCaches(): Unit

Attributes

Inherited from:
CompilationManagement
Source
CompilationManagement.scala

Attributes

Inherited from:
LinkManagement
Source
LinkManagement.scala

Attributes

Inherited from:
TurtleManagement
Source
TurtleManagement.scala

Attributes

Inherited from:
ObserverManagement
Source
ObserverManagement.scala

Attributes

Inherited from:
ObserverManagement
Source
ObserverManagement.scala

Attributes

Inherited from:
AgentManagement
Source
AgentManagement.scala

Attributes

Inherited from:
TurtleManagement
Source
TurtleManagement.scala
def compareLinkBreeds(breed1: AgentSet, breed2: AgentSet): Int

Attributes

Inherited from:
LinkManagement
Source
LinkManagement.scala
def compiler_=(compiler: CompilerServices): Unit

Attributes

Inherited from:
CompilationManagement
Source
CompilationManagement.scala
def copyAgents(other: AgentManagement, newWorld: World): Unit

Attributes

Inherited from:
AgentManagement
Source
AgentManagement.scala

Attributes

Inherited from:
GrossWorldState
Source
GrossWorldState.scala

Attributes

Inherited from:
AgentManagement
Source
AgentManagement.scala
def deleteWatcher(variableName: String, watcher: VariableWatcher): Unit

Deletes a variable watcher.

Deletes a variable watcher.

Value parameters

variableName

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

watcher

The watcher to delete

Attributes

Inherited from:
WatcherManagement
Source
WatcherManagement.scala
def displayOn(displayOn: Boolean): Unit

Attributes

Inherited from:
GrossWorldState
Source
GrossWorldState.scala

Attributes

Inherited from:
GrossWorldState
Source
GrossWorldState.scala

Attributes

Inherited from:
ObserverManagement
Source
ObserverManagement.scala

Attributes

Inherited from:
ObserverManagement
Source
ObserverManagement.scala

Attributes

Inherited from:
CoreWorld
Source
World.scala
def getBreed(breedName: String): TreeAgentSet

Attributes

Inherited from:
TurtleManagement
Source
TurtleManagement.scala

Attributes

Inherited from:
TurtleManagement
Source
TurtleManagement.scala
def getDrawing: AnyRef

Attributes

Inherited from:
GrossWorldState
Source
GrossWorldState.scala
def getLinkBreed(breedName: String): AgentSet

Attributes

Inherited from:
LinkManagement
Source
LinkManagement.scala

Attributes

Inherited from:
LinkManagement
Source
LinkManagement.scala
def getLinkShape(name: String): Shape

Attributes

Inherited from:
LinkManagement
Source
LinkManagement.scala

Attributes

Inherited from:
LinkManagement
Source
LinkManagement.scala
def getObserverVariableByName(varName: String): AnyRef

Attributes

Inherited from:
ObserverManagement
Source
ObserverManagement.scala
def getPatch(id: Int): Patch

Attributes

Inherited from:
AgentManagement
Source
AgentManagement.scala

Attributes

Inherited from:
GrossWorldState
Source
GrossWorldState.scala
def getTurtle(id: Long): Turtle

Attributes

Inherited from:
TurtleManagement
Source
TurtleManagement.scala
def getVariablesArraySize(turtle: Turtle, breed: AgentSet): Int

Attributes

Inherited from:
TurtleManagement
Source
TurtleManagement.scala
def getVariablesArraySize(link: Link, breed: AgentSet): Int

Attributes

Inherited from:
LinkManagement
Source
LinkManagement.scala
def getVariablesArraySize(patch: Patch): Int

Attributes

Inherited from:
AgentManagement
Source
AgentManagement.scala

Attributes

Inherited from:
ObserverManagement
Source
ObserverManagement.scala
def growMax(min: Int, max: Int, value: Int, d: Int): Int

Attributes

Inherited from:
DimensionManagement
Source
DimensionManagement.scala
def growMin(min: Int, max: Int, value: Int, d: Int): Int

Attributes

Inherited from:
DimensionManagement
Source
DimensionManagement.scala
def indexOfVariable(agent: Agent, name: String): Int

Attributes

Inherited from:
AgentManagement
Source
AgentManagement.scala
def indexOfVariable(agentKind: AgentKind, name: String): Int

Attributes

Inherited from:
AgentManagement
Source
AgentManagement.scala
def isBreed(breed: AgentSet): Boolean

Attributes

Inherited from:
TurtleManagement
Source
TurtleManagement.scala
def isDimensionVariable(variableName: String): Boolean

Attributes

Inherited from:
DimensionManagement
Source
DimensionManagement.scala

Attributes

Inherited from:
LinkManagement
Source
LinkManagement.scala
def lineThickness(agent: Agent): Double

Attributes

Inherited from:
TurtleManagement
Source
TurtleManagement.scala
def linkBreedOwns(breed: AgentSet, name: String): Boolean

Attributes

Inherited from:
LinkManagement
Source
LinkManagement.scala
def linkBreedsOwnIndexOf(breed: AgentSet, name: String): Int

Attributes

Inherited from:
LinkManagement
Source
LinkManagement.scala
def linkBreedsOwnNameAt(breed: AgentSet, index: Int): String

Attributes

Inherited from:
LinkManagement
Source
LinkManagement.scala

Attributes

Inherited from:
LinkManagement
Source
LinkManagement.scala
def linksOwnIndexOf(name: String): Int

Attributes

Inherited from:
LinkManagement
Source
LinkManagement.scala
def linksOwnNameAt(index: Int): String

Attributes

Inherited from:
LinkManagement
Source
LinkManagement.scala

Attributes

Inherited from:
GrossWorldState
Source
GrossWorldState.scala

Attributes

Inherited from:
GrossWorldState
Source
GrossWorldState.scala

Attributes

Inherited from:
GrossWorldState
Source
GrossWorldState.scala
def maxPxcor: Int

Attributes

Inherited from:
DimensionManagement
Source
DimensionManagement.scala
def maxPxcorBoxed: Double

Attributes

Inherited from:
DimensionManagement
Source
DimensionManagement.scala
def maxPycor: Int

Attributes

Inherited from:
DimensionManagement
Source
DimensionManagement.scala
def maxPycorBoxed: Double

Attributes

Inherited from:
DimensionManagement
Source
DimensionManagement.scala
def minPxcor: Int

Attributes

Inherited from:
DimensionManagement
Source
DimensionManagement.scala
def minPxcorBoxed: Double

Attributes

Inherited from:
DimensionManagement
Source
DimensionManagement.scala
def minPycor: Int

Attributes

Inherited from:
DimensionManagement
Source
DimensionManagement.scala
def minPycorBoxed: Double

Attributes

Inherited from:
DimensionManagement
Source
DimensionManagement.scala
def newLinkId(): Long

Attributes

Inherited from:
LinkManagement
Source
LinkManagement.scala
def newProgram(interfaceGlobals: Seq[String]): Program

Attributes

Inherited from:
CompilationManagement
Source
CompilationManagement.scala

Attributes

Inherited from:
CompilationManagement
Source
CompilationManagement.scala
def newTurtleId(): Long

Attributes

Inherited from:
TurtleManagement
Source
TurtleManagement.scala

Attributes

Inherited from:
TurtleManagement
Source
TurtleManagement.scala
def nextTurtleIndex(nextTurtleIndex: Long): Unit

Attributes

Inherited from:
TurtleManagement
Source
TurtleManagement.scala
def notifyWatchers(agent: Agent, vn: Int, value: Object): Unit

Attributes

Inherited from:
WatcherManagement
Source
WatcherManagement.scala

Attributes

Inherited from:
AgentManagement
Source
AgentManagement.scala

Attributes

Inherited from:
AgentManagement
Source
AgentManagement.scala

Attributes

Inherited from:
CompilationManagement
Source
CompilationManagement.scala
def patchChangedColorAt(patchId: Int, color: Double): Unit

Attributes

Inherited from:
GrossWorldState
Source
GrossWorldState.scala

Attributes

Inherited from:
GrossWorldState
Source
GrossWorldState.scala

Attributes

Inherited from:
GrossWorldState
Source
GrossWorldState.scala

Attributes

Inherited from:
DimensionManagement
Source
DimensionManagement.scala
def patchSize(patchSize: Double): Boolean

Attributes

Inherited from:
DimensionManagement
Source
DimensionManagement.scala

Attributes

Inherited from:
CoreWorld
Source
World.scala

Attributes

Inherited from:
GrossWorldState
Source
GrossWorldState.scala

Attributes

Inherited from:
AgentManagement
Source
AgentManagement.scala
def patchesOwnNameAt(index: Int): String

Attributes

Inherited from:
AgentManagement
Source
AgentManagement.scala

Attributes

Inherited from:
GrossWorldState
Source
GrossWorldState.scala
def program(program: Program): Unit

Attributes

Inherited from:
CompilationManagement
Source
CompilationManagement.scala

Attributes

Inherited from:
CompilationManagement
Source
CompilationManagement.scala

Attributes

Inherited from:
CompilationManagement
Source
CompilationManagement.scala
def realloc(): Unit

Attributes

Inherited from:
CompilationManagement
Source
CompilationManagement.scala
protected def recreateAllBreeds(): Unit

Attributes

Inherited from:
CompilationManagement
Source
CompilationManagement.scala

Attributes

Inherited from:
TurtleManagement
Source
TurtleManagement.scala

Attributes

Inherited from:
GrossWorldState
Source
GrossWorldState.scala

Attributes

Inherited from:
DimensionManagement
Source
DimensionManagement.scala
def setLineThickness(agent: Agent, size: Double): Unit

Attributes

Inherited from:
TurtleManagement
Source
TurtleManagement.scala
def setObserverVariableByName(varName: String, value: Object): Unit

Attributes

Inherited from:
ObserverManagement
Source
ObserverManagement.scala
def setUpShapes(clearOld: Boolean): Unit

Attributes

Inherited from:
AgentManagement
Source
AgentManagement.scala
def ticks: Double

Attributes

Inherited from:
CoreWorld
Source
World.scala

Attributes

Inherited from:
CoreWorld
Source
World.scala

Attributes

Inherited from:
GrossWorldState
Source
GrossWorldState.scala

Attributes

Inherited from:
TurtleManagement
Source
TurtleManagement.scala

Attributes

Inherited from:
TurtleManagement
Source
TurtleManagement.scala

Attributes

Inherited from:
TurtleManagement
Source
TurtleManagement.scala
def turtlesOwnNameAt(index: Int): String

Attributes

Inherited from:
TurtleManagement
Source
TurtleManagement.scala

Attributes

Inherited from:
DimensionManagement
Source
DimensionManagement.scala

Attributes

Inherited from:
DimensionManagement
Source
DimensionManagement.scala
def worldHeightBoxed: Double

Attributes

Inherited from:
DimensionManagement
Source
DimensionManagement.scala

Attributes

Inherited from:
DimensionManagement
Source
DimensionManagement.scala
def worldWidthBoxed: Double

Attributes

Inherited from:
DimensionManagement
Source
DimensionManagement.scala
def wrap(pos: Double, min: Double, max: Double): Double

Attributes

Inherited from:
DimensionManagement
Source
DimensionManagement.scala

Attributes

Inherited from:
DimensionManagement
Source
DimensionManagement.scala

Attributes

Inherited from:
DimensionManagement
Source
DimensionManagement.scala
def wrapX(x: Double): Double

Attributes

Inherited from:
DimensionManagement
Source
DimensionManagement.scala
def wrapY(y: Double): Double

Attributes

Inherited from:
DimensionManagement
Source
DimensionManagement.scala

Attributes

Inherited from:
ObserverManagement
Source
ObserverManagement.scala

Attributes

Inherited from:
ObserverManagement
Source
ObserverManagement.scala

Concrete fields

Attributes

Source
World.scala

Attributes

Source
World.scala
val protractor: Protractor

Attributes

Source
World.scala

Attributes

Source
World.scala

Inherited fields

var _maxPxcorBoxed: Double

Attributes

Inherited from:
DimensionManagement
Source
DimensionManagement.scala
var _maxPycorBoxed: Double

Attributes

Inherited from:
DimensionManagement
Source
DimensionManagement.scala

Attributes

Inherited from:
GrossWorldState
Source
GrossWorldState.scala
var _minPxcorBoxed: Double

Attributes

Inherited from:
DimensionManagement
Source
DimensionManagement.scala
var _minPycorBoxed: Double

Attributes

Inherited from:
DimensionManagement
Source
DimensionManagement.scala
protected var _patchColors: Array[Int]

Attributes

Inherited from:
GrossWorldState
Source
GrossWorldState.scala
protected var _patchScratch: Array[Array[Double]]

Attributes

Inherited from:
GrossWorldState
Source
GrossWorldState.scala
protected var _patchesWithLabels: Int

Attributes

Inherited from:
GrossWorldState
Source
GrossWorldState.scala
protected val _turtles: TreeAgentSet

Attributes

Inherited from:
TurtleManagement
Source
TurtleManagement.scala
var _worldHeightBoxed: Double

Attributes

Inherited from:
DimensionManagement
Source
DimensionManagement.scala
var _worldWidthBoxed: Double

Attributes

Inherited from:
DimensionManagement
Source
DimensionManagement.scala
val auxRNG: MersenneTwisterFast

Attributes

Inherited from:
CoreWorld
Source
World.scala

Attributes

Inherited from:
TurtleManagement
Source
TurtleManagement.scala
protected var breedsOwnCache: HashMap[String, Integer]

Attributes

Inherited from:
AgentManagement
Source
AgentManagement.scala

Attributes

Inherited from:
WorldJ (hidden)
protected val lineThicknesses: Map[Agent, Double]

Attributes

Inherited from:
TurtleManagement
Source
TurtleManagement.scala

Attributes

Inherited from:
LinkManagement
Source
LinkManagement.scala

Attributes

Inherited from:
LinkManagement
Source
LinkManagement.scala

Attributes

Inherited from:
LinkManagement
Source
LinkManagement.scala
val mainRNG: MersenneTwisterFast

Attributes

Inherited from:
CoreWorld
Source
World.scala

Attributes

Inherited from:
AgentManagement
Source
AgentManagement.scala

Attributes

Inherited from:
AgentManagement
Source
AgentManagement.scala

Attributes

Inherited from:
ObserverManagement
Source
ObserverManagement.scala

Attributes

Inherited from:
ObserverManagement
Source
ObserverManagement.scala

Attributes

Inherited from:
CoreWorld
Source
World.scala
val timer: Timer

Attributes

Inherited from:
CoreWorld
Source
World.scala

Attributes

Inherited from:
TurtleManagement
Source
TurtleManagement.scala

Attributes

Inherited from:
TurtleManagement
Source
TurtleManagement.scala