Observer
Attributes
- Source
- Observer.scala
- Graph
-
- Supertypes
-
trait Constraintstrait OrientatableObservertrait Observerclass Agenttrait Comparable[Agent]trait Agentclass Objecttrait Matchableclass AnyShow all
Members list
Type members
Inherited classlikes
Attributes
- Inherited from:
- OrientatableObserver
- Source
- OrientableObserver.scala
- Supertypes
Value members
Concrete methods
0-255, 0 = invisible, 255 = opaque
Returns a displayable name of this type of agent (Turtle, Link, Patch, Observer)
Returns a displayable name of this type of agent (Turtle, Link, Patch, Observer)
Attributes
- Definition Classes
- Source
- Observer.scala
Attributes
- Source
- Observer.scala
Attributes
- Source
- Observer.scala
Attributes
- Source
- Observer.scala
Attributes
- Definition Classes
- Source
- Observer.scala
Attributes
- Definition Classes
- Source
- Observer.scala
Attributes
- Definition Classes
- Source
- Observer.scala
Attributes
- Source
- Observer.scala
Attributes
- Definition Classes
- Source
- Observer.scala
Attributes
- Definition Classes
- Source
- Observer.scala
Attributes
- Definition Classes
- Source
- Observer.scala
Returns the value of the variable in the given position of the agent variable array
Returns the value of the variable in the given position of the agent variable array
Value parameters
- vn
-
the index into the agent variable array
Attributes
- Definition Classes
- Source
- Observer.scala
Returns the kind of this agent (Turtle, Link, Patch, Observer).
Attributes
- Definition Classes
- Source
- Observer.scala
Attributes
- Definition Classes
- Source
- Observer.scala
Attributes
- Definition Classes
- Source
- Observer.scala
Attributes
- Definition Classes
- Source
- Observer.scala
Attributes
- Definition Classes
- Source
- Observer.scala
Attributes
- Definition Classes
- Source
- Observer.scala
Attributes
- Definition Classes
- Source
- Observer.scala
Attributes
- Definition Classes
- Source
- Observer.scala
Attributes
- Definition Classes
- Source
- Observer.scala
Attributes
- Definition Classes
- Source
- Observer.scala
Sets the variable in the position vn of the agent variable array to value
Sets the variable in the position vn of the agent variable array to value
Value parameters
- value
-
the new value for the variable
- vn
-
the index into the agent variable array
Attributes
- Throws
-
api.AgentException
If value is the wrong type for the given variable or if you try to change variables that cannot be changed
- Definition Classes
- Source
- Observer.scala
Returns the name of the current shape, empty string in the case of patches.
Returns the name of the current shape, empty string in the case of patches.
Attributes
- Source
- Observer.scala
Returns the size of this agent
Returns the currently watched or followed agent (or nobody)
Returns a string representation of the object.
Returns a string representation of the object.
The default representation is platform dependent.
Attributes
- Returns
-
a string representation of the object.
- Definition Classes
-
Any
- Source
- Observer.scala
Attributes
- Source
- Observer.scala
Returns the name of the variable with the given index. Works for built-in, *-own, and breed variables.
Returns the name of the variable with the given index. Works for built-in, *-own, and breed variables.
Value parameters
- vn
-
the index of the variable
Attributes
- Definition Classes
- Source
- Observer.scala
Inherited methods
Attributes
- Inherited from:
- Constraints
- Source
- Constraints.scala
Attributes
- Inherited from:
- OrientatableObserver
- Source
- OrientableObserver.scala
Attributes
- Inherited from:
- OrientatableObserver
- Source
- OrientableObserver.scala
Attributes
- Inherited from:
- Constraints
- Source
- Constraints.scala
Attributes
- Definition Classes
-
Agent -> Comparable
- Inherited from:
- Agent
- Source
- Agent.scala
Attributes
- Inherited from:
- Constraints
- Source
- Constraints.scala
Attributes
- Inherited from:
- OrientatableObserver
- Source
- OrientableObserver.scala
Attributes
- Inherited from:
- OrientatableObserver
- Source
- OrientableObserver.scala
Attributes
- Inherited from:
- OrientatableObserver
- Source
- OrientableObserver.scala
Attributes
- Inherited from:
- OrientatableObserver
- Source
- OrientableObserver.scala
Attributes
- Inherited from:
- OrientatableObserver
- Source
- OrientableObserver.scala
Attributes
- Inherited from:
- OrientatableObserver
- Source
- OrientableObserver.scala
Returns the id number of this agent. The who number in the case of a turtle, index into the array in the case of patches
Returns the id number of this agent. The who number in the case of a turtle, index into the array in the case of patches
Attributes
- Inherited from:
- Agent
- Source
- Agent.scala
Attributes
- Inherited from:
- Agent
- Source
- Agent.scala
Attributes
- Inherited from:
- OrientatableObserver
- Source
- OrientableObserver.scala
Attributes
- Inherited from:
- OrientatableObserver
- Source
- OrientableObserver.scala
Attributes
- Inherited from:
- OrientatableObserver
- Source
- OrientableObserver.scala
Attributes
- Inherited from:
- OrientatableObserver
- Source
- OrientableObserver.scala
Attributes
- Inherited from:
- OrientatableObserver
- Source
- OrientableObserver.scala
Attributes
- Inherited from:
- OrientatableObserver
- Source
- OrientableObserver.scala
Attributes
- Inherited from:
- OrientatableObserver
- Source
- OrientableObserver.scala
Attributes
- Inherited from:
- OrientatableObserver
- Source
- OrientableObserver.scala
Attributes
- Inherited from:
- OrientatableObserver
- Source
- OrientableObserver.scala
Attributes
- Inherited from:
- OrientatableObserver
- Source
- OrientableObserver.scala
Attributes
- Inherited from:
- OrientatableObserver
- Source
- OrientableObserver.scala
Attributes
- Inherited from:
- Constraints
- Source
- Constraints.scala
Attributes
- Inherited from:
- Agent
- Source
- Agent.scala
Attributes
- Inherited from:
- OrientatableObserver
- Source
- OrientableObserver.scala
Attributes
- Inherited from:
- OrientatableObserver
- Source
- OrientableObserver.scala
Attributes
- Inherited from:
- OrientatableObserver
- Source
- OrientableObserver.scala
Attributes
- Inherited from:
- OrientatableObserver
- Source
- OrientableObserver.scala
Attributes
- Inherited from:
- Agent
- Source
- Agent.scala
Attributes
- Inherited from:
- OrientatableObserver
- Source
- OrientableObserver.scala
Attributes
- Inherited from:
- OrientatableObserver
- Source
- OrientableObserver.scala
Returns raw array of all agent variables. Warning: this method is liable to change return type in a future API version.
Returns raw array of all agent variables. Warning: this method is liable to change return type in a future API version.
Attributes
- Inherited from:
- Agent
- Source
- Agent.scala
Attributes
- Inherited from:
- Agent
- Source
- Agent.scala
Concrete fields
Attributes
- Source
- Observer.scala
Inherited fields
Attributes
- Inherited from:
- OrientatableObserver
- Source
- OrientableObserver.scala
Attributes
- Inherited from:
- OrientatableObserver
- Source
- OrientableObserver.scala
Attributes
- Inherited from:
- OrientatableObserver
- Source
- OrientableObserver.scala
Attributes
- Inherited from:
- OrientatableObserver
- Source
- OrientableObserver.scala
Attributes
- Inherited from:
- OrientatableObserver
- Source
- OrientableObserver.scala
Attributes
- Inherited from:
- OrientatableObserver
- Source
- OrientableObserver.scala
Returns the world object associated with this agent
Returns the world object associated with this agent
Attributes
- Inherited from:
- Agent
- Source
- Agent.scala