Evaluating

org.nlogo.workspace.Evaluating
trait Evaluating

Attributes

Source
Evaluating.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
Self type
AbstractWorkspace

Members list

Value members

Concrete methods

override def clearLastLogoException(): Unit

Attributes

Definition Classes
Source
Evaluating.scala
def command(source: String): Unit

Runs NetLogo commands and waits for them to complete.

Runs NetLogo commands and waits for them to complete.

Value parameters

source

The command or commands to run

Attributes

Throws
org.nlogo.api.LogoException

if the code fails to run

org.nlogo.core.CompilerException

if the code fails to compile

Source
Evaluating.scala

Attributes

Source
Evaluating.scala
def compileCommands(source: String, agentClass: AgentKind): Procedure

Attributes

Source
Evaluating.scala

Attributes

Source
Evaluating.scala
def evaluateCommands(owner: JobOwner, source: String): Unit

Attributes

Source
Evaluating.scala
def evaluateCommands(owner: JobOwner, source: String, waitForCompletion: Boolean): Unit

Attributes

Source
Evaluating.scala
def evaluateCommands(owner: JobOwner, source: String, agent: Agent, waitForCompletion: Boolean): Unit

Attributes

Source
Evaluating.scala
def evaluateCommands(owner: JobOwner, source: String, agents: AgentSet, waitForCompletion: Boolean): Unit

Attributes

Source
Evaluating.scala
def evaluateReporter(owner: JobOwner, source: String): Object

Attributes

Source
Evaluating.scala
def evaluateReporter(owner: JobOwner, source: String, agent: Agent): Object

Attributes

Source
Evaluating.scala
def evaluateReporter(owner: JobOwner, source: String, agents: AgentSet): Object

Attributes

Source
Evaluating.scala
def makeCommandThunk(source: String, jobOwnerName: String): CommandLogoThunk

Attributes

Source
Evaluating.scala
def makeCommandThunk(source: String, jobOwnerName: String, rng: MersenneTwisterFast): CommandLogoThunk

Attributes

Source
Evaluating.scala
def makeReporterThunk(source: String, jobOwnerName: String): ReporterLogoThunk

Attributes

Source
Evaluating.scala
def readFromString(string: String): AnyRef

Attributes

Source
Evaluating.scala
def report(source: String): AnyRef

Runs a NetLogo reporter.

Runs a NetLogo reporter.

Value parameters

source

The reporter to run

Attributes

Returns

the result reported; may be of type java.lang.Integer, java.lang.Double, java.lang.Boolean, java.lang.String, [[org.nlogo.core.LogoList]], [[org.nlogo.api.Agent]], AgentSet, or Nobody

Throws
org.nlogo.api.LogoException

if the code fails to run

org.nlogo.core.CompilerException

if the code fails to compile

Source
Evaluating.scala
def runCompiledCommands(owner: JobOwner, procedure: Procedure): Boolean

Attributes

Source
Evaluating.scala
def runCompiledReporter(owner: JobOwner, procedure: Procedure): AnyRef

Attributes

Source
Evaluating.scala

Concrete fields