- absent() - Static method in class org.protelis.lang.datatype.Option
-
Returns an empty Option
instance.
- AbstractComparableDeviceUID<T extends java.lang.Comparable<T>> - Class in org.protelis.lang.datatype.impl
-
Simple container class for immutable, comparable UIDs.
- AbstractComparableDeviceUID(T) - Constructor for class org.protelis.lang.datatype.impl.AbstractComparableDeviceUID
-
- AbstractExecutionContext<S extends AbstractExecutionContext<S>> - Class in org.protelis.vm.impl
-
Partial implementation of ExecutionContext, containing functionality expected
to be shared between most implementations.
- AbstractExecutionContext(ExecutionEnvironment, NetworkManager) - Constructor for class org.protelis.vm.impl.AbstractExecutionContext
-
Create a new AbstractExecutionContext with a default, time-efficient code path factory.
- AbstractExecutionContext(ExecutionEnvironment, NetworkManager, CodePathFactory) - Constructor for class org.protelis.vm.impl.AbstractExecutionContext
-
- AbstractField<T> - Class in org.protelis.lang.datatype.impl
-
Core functionality for implementing a field that cannot be included in the interface.
- AbstractField() - Constructor for class org.protelis.lang.datatype.impl.AbstractField
-
- AbstractPersistedTree<S,T> - Class in org.protelis.lang.interpreter.impl
-
Basic implementation of a persisted tree.
- AbstractPersistedTree(Metadata, ProtelisAST<?>...) - Constructor for class org.protelis.lang.interpreter.impl.AbstractPersistedTree
-
- AbstractPersistedTree(Metadata, List<ProtelisAST<?>>) - Constructor for class org.protelis.lang.interpreter.impl.AbstractPersistedTree
-
- AbstractProtelisAST<T> - Class in org.protelis.lang.interpreter.impl
-
- AbstractProtelisAST(Metadata, ProtelisAST<?>...) - Constructor for class org.protelis.lang.interpreter.impl.AbstractProtelisAST
-
- AbstractProtelisAST(Metadata, List<ProtelisAST<?>>) - Constructor for class org.protelis.lang.interpreter.impl.AbstractProtelisAST
-
- add(DeviceUID, T) - Method in interface org.protelis.lang.datatype.Field.Builder
-
Adds an element to the field.
- add(DeviceUID, T) - Method in class org.protelis.lang.datatype.impl.FieldMapImpl.Builder
-
- AlignedMap - Class in org.protelis.lang.interpreter.impl
-
Operation evaluating a collection of expressions associated with keys, such
as a set of publish-subscribe streams.
- AlignedMap(HashingFunnel, Metadata, ProtelisAST<Field<?>>, ProtelisAST<FunctionDefinition>, ProtelisAST<FunctionDefinition>, ProtelisAST<?>) - Constructor for class org.protelis.lang.interpreter.impl.AlignedMap
-
- all(Field<Boolean>) - Static method in class org.protelis.Builtins
-
- All - Class in org.protelis.lang.interpreter.impl
-
Evaluate a sequence of statements, returning the value of the last statement.
- All(Metadata, List<ProtelisAST<?>>) - Constructor for class org.protelis.lang.interpreter.impl.All
-
Block of statements.
- allButSelf(Field<Boolean>) - Static method in class org.protelis.Builtins
-
- any(Field<Boolean>) - Static method in class org.protelis.Builtins
-
- anyButSelf(Field<Boolean>) - Static method in class org.protelis.Builtins
-
- append(Object) - Method in class org.protelis.lang.datatype.impl.ArrayTupleImpl
-
- append(Object) - Method in interface org.protelis.lang.datatype.Tuple
-
Add an element to the end of a tuple.
- apply(BinaryOperator<Object>, int[], Object, Object) - Static method in class org.protelis.lang.datatype.Fields
-
- apply(TriFunction<Object, Object, Object, R>, int[], Object, Object, Object) - Static method in class org.protelis.lang.datatype.Fields
-
- apply(Function<Object[], R>, int[], Object...) - Static method in class org.protelis.lang.datatype.Fields
-
- apply(Function<Object[], R>, boolean, int[], Object, Object...) - Static method in class org.protelis.lang.datatype.Fields
-
- apply(BiFunction<T, Object[], R>, boolean, int[], T, Object...) - Static method in class org.protelis.lang.datatype.Fields
-
- APPLY - Static variable in class org.protelis.lang.interpreter.impl.Invoke
-
Special method name, that causes a Protelis function invocation if the
left hand side of the
Invoke
is a
FunctionDefinition
.
- apply(Object) - Method in class org.protelis.lang.interpreter.util.Java8CompatibleFunnel
-
- apply(A, B, C) - Method in interface org.protelis.lang.interpreter.util.TriFunction
-
Applies this function to the given arguments.
- applyWithSingleParam(UnaryOperator<Object>, int[], Object) - Static method in class org.protelis.lang.datatype.Fields
-
- argumentsToExpressionStream(InvocationArguments) - Static method in class org.protelis.lang.ProtelisLoadingUtilities
-
- ArrayTupleImpl - Class in org.protelis.lang.datatype.impl
-
Implementation of a Tuple using an array data structure.
- ArrayTupleImpl(Object...) - Constructor for class org.protelis.lang.datatype.impl.ArrayTupleImpl
-
- ArrayTupleImpl(Object, int) - Constructor for class org.protelis.lang.datatype.impl.ArrayTupleImpl
-
Create an ArrayTupleImpl with all elements initialized to a given value.
- asSet() - Method in class org.protelis.lang.datatype.Option
-
- AssignmentOp - Class in org.protelis.lang.interpreter.impl
-
Declare a variable from a "let" expression.
- AssignmentOp(Metadata, Reference, ProtelisAST<?>) - Constructor for class org.protelis.lang.interpreter.impl.AssignmentOp
-
- Field<T> - Interface in org.protelis.lang.datatype
-
A field associates a collection of devices to values.
- Field.Builder<T> - Interface in org.protelis.lang.datatype
-
Builder for Fields.
- FieldMapImpl<T> - Class in org.protelis.lang.datatype.impl
-
Field implementation based on neighbor/value pairs stored in an ImmutableMap
.
- FieldMapImpl.Builder<T> - Class in org.protelis.lang.datatype.impl
-
Builder for an immutable field.
- Fields - Class in org.protelis.lang.datatype
-
- fill(Object, int) - Static method in class org.protelis.lang.datatype.Tuples
-
Create a Tuple with all elements initialized to the same value.
- fillInStackFrame(ProtelisAST<?>) - Method in exception org.protelis.lang.interpreter.util.ProtelisRuntimeException
-
Populates the exception stack with a new caller.
- filter(ExecutionContext, FunctionDefinition) - Method in class org.protelis.lang.datatype.impl.ArrayTupleImpl
-
- filter(Predicate<Object>) - Method in class org.protelis.lang.datatype.impl.ArrayTupleImpl
-
- filter(ExecutionContext, FunctionDefinition) - Method in class org.protelis.lang.datatype.Option
-
Filter operation using Protelis functions.
- filter(Predicate<? super E>) - Method in class org.protelis.lang.datatype.Option
-
- filter(ExecutionContext, FunctionDefinition) - Method in interface org.protelis.lang.datatype.Tuple
-
Given a tuple and a predicate, returns a new tuple containing only the
elements that match the predicate.
- filter(Predicate<Object>) - Method in interface org.protelis.lang.datatype.Tuple
-
Given a tuple and a Predicate
, returns a new tuple containing
only the elements that match the predicate.
- filterNot(ExecutionContext, FunctionDefinition) - Method in class org.protelis.lang.datatype.Option
-
Inverse filter operation using Protelis functions.
- filterNot(Predicate<? super E>) - Method in class org.protelis.lang.datatype.Option
-
- flatMap(Function<Object, Tuple>) - Method in class org.protelis.lang.datatype.impl.ArrayTupleImpl
-
- flatMap(ExecutionContext, FunctionDefinition) - Method in class org.protelis.lang.datatype.Option
-
Optional.flatMap(Function)
function callable via Protelis.
- flatMap(Function<? super E, Option<X>>) - Method in class org.protelis.lang.datatype.Option
-
- flatMap(ExecutionContext, FunctionDefinition) - Method in interface org.protelis.lang.datatype.Tuple
-
Provided a function generating tuples from the tuple elements,
maps this tuple to a new tuple, and then flattens the result into a single tuple.
- flatMap(Function<Object, Tuple>) - Method in interface org.protelis.lang.datatype.Tuple
-
Provided a function generating tuples from the tuple elements,
maps this tuple to a new tuple, and then flattens the result into a single tuple.
- fold(Object, BinaryOperator<Object>) - Method in class org.protelis.lang.datatype.impl.ArrayTupleImpl
-
- fold(Object, BinaryOperator<Object>) - Method in interface org.protelis.lang.datatype.Tuple
-
Performs a reduction operation, that maps a tuple to a single value.
- fold(ExecutionContext, Object, FunctionDefinition) - Method in interface org.protelis.lang.datatype.Tuple
-
Performs a reduction operation, that maps a tuple to a single value.
- foldExcludingLocal(Map.Entry<DeviceUID, T>, BinaryOperator<Map.Entry<DeviceUID, T>>) - Method in interface org.protelis.lang.datatype.Field
-
Reduction operation with base value (fold), which does not consider the local
value, and whose computation has base as initial element.
- foldExcludingLocal(R, Function<Map.Entry<DeviceUID, T>, R>, BinaryOperator<R>) - Method in interface org.protelis.lang.datatype.Field
-
Reduction operation with base value (fold), which does not consider the local
value, and whose computation has base as initial element.
- foldHood(ExecutionContext, T, Field<T>, FunctionDefinition) - Static method in class org.protelis.Builtins
-
Folds a field, excluding the local value.
- foldHoodPlusSelf(ExecutionContext, Field<T>, FunctionDefinition) - Static method in class org.protelis.Builtins
-
Folds the field, including the local value.
- foldIncludingLocal(BinaryOperator<Map.Entry<DeviceUID, T>>) - Method in interface org.protelis.lang.datatype.Field
-
Reduction operation with base value (fold), which uses the local value as
initial element.
- foldIncludingLocal(Function<Map.Entry<DeviceUID, T>, R>, BinaryOperator<R>) - Method in interface org.protelis.lang.datatype.Field
-
Reduction operation with base value (fold), which uses the local value as
initial element.
- foldKeysExcludingLocal(DeviceUID, BinaryOperator<DeviceUID>) - Method in interface org.protelis.lang.datatype.Field
-
Reduction operation over keys with base value (fold), which does not consider the local
key, and whose computation has base as initial element.
- foldKeysIncludingLocal(BinaryOperator<DeviceUID>) - Method in interface org.protelis.lang.datatype.Field
-
Reduction operation over keys with base value (fold), which uses the local
value as initial element.
- foldMax(Field<T>) - Static method in class org.protelis.Builtins
-
Folds the field, including the local value, by picking the maximum value.
- foldMax(T, Field<T>) - Static method in class org.protelis.Builtins
-
Folds a field by picking the maximum of its values, excluding the local
value.
- foldMean(Field<? extends Number>) - Static method in class org.protelis.Builtins
-
Folds a field of numbers by computing the mathematical mean.
- foldMin(Field<T>) - Static method in class org.protelis.Builtins
-
Folds the field, including the local value, by picking the minimum value.
- foldMin(T, Field<T>) - Static method in class org.protelis.Builtins
-
Folds a field by picking the minimum of its values, excluding the local
value.
- foldSum(Field<T>) - Static method in class org.protelis.Builtins
-
Folds the field, including the local value, by computing the sum.
- foldSum(T, Field<T>) - Static method in class org.protelis.Builtins
-
Folds a field by computing the sum of its values, excluding the local
value.
- foldUnion(Field<T>) - Static method in class org.protelis.Builtins
-
Folds the field, including the local value, by computing the union.
- foldUnion(T, Field<T>) - Static method in class org.protelis.Builtins
-
Folds a field by computing the union, excluding the local value.
- foldValuesExcludingLocal(T, BinaryOperator<T>) - Method in interface org.protelis.lang.datatype.Field
-
Reduction operation over values with base value (fold), which does not consider the local
key, and whose computation has base as initial element.
- foldValuesIncludingLocal(BinaryOperator<T>) - Method in interface org.protelis.lang.datatype.Field
-
Reduction operation over values with base value (fold), which uses the local
value as initial element.
- forEach(Consumer<? super ProtelisAST<?>>) - Method in class org.protelis.lang.interpreter.impl.AbstractProtelisAST
-
Facility to run lambdas across all the branches.
- forEachWithIndex(BiConsumer<Integer, ? super ProtelisAST<?>>) - Method in class org.protelis.lang.interpreter.impl.AbstractProtelisAST
-
Facility to run lambdas across all the branches.
- fromGuava(Optional<E>) - Static method in class org.protelis.lang.datatype.Option
-
- fromJavaUtil(Optional<E>) - Static method in class org.protelis.lang.datatype.Option
-
- fromNullable(E) - Static method in class org.protelis.lang.datatype.Option
-
Returns an Option
describing the specified value, if non-null,
otherwise returns an empty Option
.
- FunctionCall - Class in org.protelis.lang.interpreter.impl
-
Call a Protelis function.
- FunctionCall(Metadata, FunctionDefinition, List<ProtelisAST<?>>) - Constructor for class org.protelis.lang.interpreter.impl.FunctionCall
-
- FunctionDefinition - Class in org.protelis.lang.datatype
-
First-class Protelis function.
- FunctionDefinition(FunctionDef, Supplier<ProtelisAST<?>>) - Constructor for class org.protelis.lang.datatype.FunctionDefinition
-
- FunctionDefinition(Lambda, List<Reference>, ProtelisAST<?>) - Constructor for class org.protelis.lang.datatype.FunctionDefinition
-
- of(E) - Static method in class org.protelis.lang.datatype.Option
-
Returns an Option
describing the specified value, if non-null,
otherwise returns an empty Option
.
- ofNullable(E) - Static method in class org.protelis.lang.datatype.Option
-
Returns an Option
describing the specified value, if non-null,
otherwise returns an empty Option
.
- Op1 - Enum in org.protelis.lang.interpreter.util
-
Collection of functions and helper methods for unary operators.
- Op2 - Enum in org.protelis.lang.interpreter.util
-
Infix operator that takes two inputs, such as addition, division, or
"greater than" comparison.
- Op3 - Enum in org.protelis.lang.interpreter.util
-
Collection of functions and helper methods for ternary syntactic operators.
- Option<E> - Class in org.protelis.lang.datatype
-
An immutable object that may contain a non-null reference to another object.
- optionally(T) - Static method in class org.protelis.Builtins
-
Produces an Option value.
- OpUtils - Class in org.protelis.lang.interpreter.util
-
Utility class that OpN classes use for reporting certain failure patterns.
- or(Optional<? extends E>) - Method in class org.protelis.lang.datatype.Option
-
Return the value if present, otherwise return other
.
- or(Option<? extends E>) - Method in class org.protelis.lang.datatype.Option
-
Return the value if present, otherwise return other
.
- or(Optional<? extends E>) - Method in class org.protelis.lang.datatype.Option
-
Return the value if present, otherwise return other
.
- orElse(E) - Method in class org.protelis.lang.datatype.Option
-
Return the value if present, otherwise return other
.
- orElseGet(ExecutionContext, FunctionDefinition) - Method in class org.protelis.lang.datatype.Option
-
Return the value if present, otherwise invoke other
and return the
result of that invocation.
- orElseGet(Supplier<? extends E>) - Method in class org.protelis.lang.datatype.Option
-
Return the value if present, otherwise invoke other
and return the
result of that invocation.
- orElseThrow(Supplier<? extends X>) - Method in class org.protelis.lang.datatype.Option
-
Return the contained value, if present, otherwise throw an exception
to be created by the provided supplier.
- org.protelis - package org.protelis
-
- org.protelis.lang - package org.protelis.lang
-
- org.protelis.lang.datatype - package org.protelis.lang.datatype
-
- org.protelis.lang.datatype.impl - package org.protelis.lang.datatype.impl
-
- org.protelis.lang.interpreter - package org.protelis.lang.interpreter
-
- org.protelis.lang.interpreter.impl - package org.protelis.lang.interpreter.impl
-
- org.protelis.lang.interpreter.util - package org.protelis.lang.interpreter.util
-
- org.protelis.lang.loading - package org.protelis.lang.loading
-
- org.protelis.vm - package org.protelis.vm
-
- org.protelis.vm.impl - package org.protelis.vm.impl
-
- reduce(BinaryOperator<Map.Entry<DeviceUID, T>>) - Method in interface org.protelis.lang.datatype.Field
-
Reduction operation over the field.
- reduce(Function<Map.Entry<DeviceUID, T>, R>, BinaryOperator<R>) - Method in interface org.protelis.lang.datatype.Field
-
Reduction operation over the field.
- reduce(Object, BinaryOperator<Object>) - Method in class org.protelis.lang.datatype.impl.ArrayTupleImpl
-
- reduce(ExecutionContext, Object, FunctionDefinition) - Method in interface org.protelis.lang.datatype.Tuple
-
Performs a reduction operation, that maps a tuple to a single value.
- reduce(Object, BinaryOperator<Object>) - Method in interface org.protelis.lang.datatype.Tuple
-
Performs a reduction operation, that maps a tuple to a single value.
- reduceHood(ExecutionContext, Field<T>, FunctionDefinition) - Static method in class org.protelis.Builtins
-
Reduces a field, excluding the local value.
- reduceKeys(BinaryOperator<DeviceUID>) - Method in interface org.protelis.lang.datatype.Field
-
Reduction operation over the field's keys.
- reduceMax(Field<T>) - Static method in class org.protelis.Builtins
-
Reduces a field, excluding the local value, by picking the maximum
value.
- reduceMean(Field<? extends Number>) - Static method in class org.protelis.Builtins
-
Reduces a field, excluding the local value, by computing the
arithmetic mean of the values.
- reduceMin(Field<T>) - Static method in class org.protelis.Builtins
-
Reduces a field by picking the minimum of its values, excluding the local
value.
- reduceSum(Field<T>) - Static method in class org.protelis.Builtins
-
Reduces a field, excluding the local value, by computing the sum of
the values.
- reduceUnion(Field<T>) - Static method in class org.protelis.Builtins
-
Reduces a field, excluding the local value, by computing the union of
the values.
- reduceValues(BinaryOperator<T>) - Method in interface org.protelis.lang.datatype.Field
-
Reduction operation over the field's values.
- Reference - Class in org.protelis.lang.interpreter.util
-
Implements a Serializable reference to an Object.
- Reference(Object) - Constructor for class org.protelis.lang.interpreter.util.Reference
-
- referenceFor(Object) - Static method in class org.protelis.lang.ProtelisLoadingUtilities
-
- referenceListFor(List<?>) - Static method in class org.protelis.lang.ProtelisLoadingUtilities
-
- ReflectionUtils - Class in org.protelis.lang.interpreter.util
-
Utilities that make easier to cope with Java Reflection.
- remove(String) - Method in interface org.protelis.vm.ExecutionEnvironment
-
- remove(String) - Method in class org.protelis.vm.impl.SimpleExecutionEnvironment
-
- resourceFromString(String) - Static method in class org.protelis.lang.ProtelisLoader
-
- restrictDomain(Field<?>) - Method in interface org.protelis.vm.ExecutionContext
-
Give a field, returns a new
ExecutionContext
whose domain is the same of the field one.
- restrictDomain(Field<?>) - Method in class org.protelis.vm.impl.AbstractExecutionContext
-
- returnFromCallFrame() - Method in interface org.protelis.vm.ExecutionContext
-
returns from the last frame.
- returnFromCallFrame() - Method in class org.protelis.vm.impl.AbstractExecutionContext
-
- right(R) - Static method in class org.protelis.lang.datatype.Either
-
Factory method for a right
Either
.
- run(Field<Object>, boolean) - Method in enum org.protelis.lang.interpreter.util.HoodOp
-
Deprecated.
- run(Object) - Method in enum org.protelis.lang.interpreter.util.Op1
-
- run(Object, Object) - Method in enum org.protelis.lang.interpreter.util.Op2
-
Compute the value of applying the two-argument operator to inputs a and
b.
- run(Object, Object, Object) - Method in enum org.protelis.lang.interpreter.util.Op3
-
- runCycle() - Method in class org.protelis.vm.ProtelisVM
-
Run one execution cycle of the VM, in which the computation is run
atomically against the most recent neighbor and environment information,
producing a new state to be committed to the environment and sent to
neighbors.
- runInNewStackFrame(int, Function<ExecutionContext, T>) - Method in interface org.protelis.vm.ExecutionContext
-
- runInNewStackFrame(int, Function<ExecutionContext, T>) - Method in class org.protelis.vm.impl.AbstractExecutionContext
-
- runMethodWithProtelisArguments(ExecutionContext, ProtelisAST<?>, String, ProtelisAST<?>...) - Static method in class org.protelis.lang.interpreter.util.JavaInteroperabilityUtils
-
Executes a Java method on a reiceiver Java object computed by Protelis using Protelis-produced arguments.
- runProtelisFunction(ExecutionContext, ProtelisAST<FunctionDefinition>, List<ProtelisAST<?>>) - Static method in class org.protelis.lang.interpreter.util.JavaInteroperabilityUtils
-
Runs a Protelis function from Java, provided context and arguments.
- runProtelisFunctionWithJavaArguments(ExecutionContext, ProtelisAST<FunctionDefinition>, Object...) - Static method in class org.protelis.lang.interpreter.util.JavaInteroperabilityUtils
-
Runs a Protelis function from Java using Java-produced arguments, provided a context.
- runProtelisFunctionWithJavaArguments(ExecutionContext, FunctionDefinition, List<?>) - Static method in class org.protelis.lang.interpreter.util.JavaInteroperabilityUtils
-
Runs a Protelis function from Java using Java-produced arguments, provided a context.
- runStaticMethodWithProtelisArguments(ExecutionContext, Method, ProtelisAST<?>...) - Static method in class org.protelis.lang.interpreter.util.JavaInteroperabilityUtils
-
Executes a static Java method using Protelis-produced arguments.
- saveState(ExecutionContext, S) - Method in class org.protelis.lang.interpreter.impl.AbstractPersistedTree
-
Stores the function state for the next round.
- Self - Class in org.protelis.lang.interpreter.impl
-
Access to the evaluation context, which is used for interfacing with sensors,
actuators, and the rest of the external non-static programmatic environment
outside of Protelis.
- Self(Metadata) - Constructor for class org.protelis.lang.interpreter.impl.Self
-
- set(int, Object) - Method in class org.protelis.lang.datatype.impl.ArrayTupleImpl
-
- set(int, Object) - Method in interface org.protelis.lang.datatype.Tuple
-
Replace an element in a tuple.
- setGloballyAvailableReferences(Map<Reference, ?>) - Method in interface org.protelis.vm.ExecutionContext
-
Used internally to support first-class functions by make the functions of
a program accessible for reflection at runtime.
- setGloballyAvailableReferences(Map<Reference, ?>) - Method in class org.protelis.vm.impl.AbstractExecutionContext
-
- setPersistent(Object) - Method in interface org.protelis.vm.ExecutionContext
-
Stores a value to be used in future rounds via getPersistent.
- setPersistent(Object) - Method in class org.protelis.vm.impl.AbstractExecutionContext
-
- setup() - Method in interface org.protelis.vm.ExecutionContext
-
Called just before the VM is executed, to enable and preparations needed
in the environment.
- setup() - Method in interface org.protelis.vm.ExecutionEnvironment
-
Called just before the VM is executed, to enable and preparations needed
in the environment.
- setup() - Method in class org.protelis.vm.impl.AbstractExecutionContext
-
- setup() - Method in class org.protelis.vm.impl.SimpleExecutionEnvironment
-
- ShareCall<S,T> - Class in org.protelis.lang.interpreter.impl
-
Share construct.
- ShareCall(Metadata, Optional<Reference>, Optional<Reference>, ProtelisAST<S>, ProtelisAST<S>, Optional<ProtelisAST<T>>) - Constructor for class org.protelis.lang.interpreter.impl.ShareCall
-
Convenience constructor with Optional
.
- ShareCall(Metadata, Optional<Reference>, Optional<Reference>, ProtelisAST<S>, ProtelisAST<S>, Optional<ProtelisAST<T>>) - Constructor for class org.protelis.lang.interpreter.impl.ShareCall
-
- shareState(Map<CodePath, Object>) - Method in class org.protelis.vm.impl.SimpleNetworkManager
-
- shareState(Map<CodePath, Object>) - Method in interface org.protelis.vm.NetworkManager
-
Called by
ProtelisVM
during execution to send its current shared
state to neighbors.
- SimpleExecutionEnvironment - Class in org.protelis.vm.impl
-
- SimpleExecutionEnvironment() - Constructor for class org.protelis.vm.impl.SimpleExecutionEnvironment
-
- SimpleNetworkManager - Class in org.protelis.vm.impl
-
Stub network manager for testing, in which there are no neighbors and no
messages are ever sent.
- SimpleNetworkManager() - Constructor for class org.protelis.vm.impl.SimpleNetworkManager
-
- SimpleProgramImpl - Class in org.protelis.vm.impl
-
- SimpleProgramImpl(ProtelisModule, ProtelisAST<?>) - Constructor for class org.protelis.vm.impl.SimpleProgramImpl
-
- SimpleProgramImpl(String, ProtelisAST<?>) - Constructor for class org.protelis.vm.impl.SimpleProgramImpl
-
- size() - Method in interface org.protelis.lang.datatype.Field
-
The number of neighbors in this field.
- size() - Method in class org.protelis.lang.datatype.impl.ArrayTupleImpl
-
- size() - Method in class org.protelis.lang.datatype.impl.FieldMapImpl
-
- size() - Method in class org.protelis.lang.datatype.impl.LazyField
-
- size() - Method in interface org.protelis.lang.datatype.Tuple
-
- sort() - Method in class org.protelis.lang.datatype.impl.ArrayTupleImpl
-
- sort() - Method in interface org.protelis.lang.datatype.Tuple
-
- SpatiallyEmbeddedDevice<D extends java.lang.Number> - Interface in org.protelis.vm
-
A device embedded in space.
- stream() - Method in interface org.protelis.lang.datatype.Field
-
- stream() - Method in class org.protelis.lang.datatype.impl.FieldMapImpl
-
- stream() - Method in class org.protelis.lang.datatype.impl.LazyField
-
- stringFor(ProtelisAST<?>) - Static method in class org.protelis.lang.interpreter.impl.AbstractProtelisAST
-
- StringUID - Class in org.protelis.lang.datatype.impl
-
Simple string UIDs.
- StringUID(String) - Constructor for class org.protelis.lang.datatype.impl.StringUID
-
- subtract(Tuple) - Method in class org.protelis.lang.datatype.impl.ArrayTupleImpl
-
- subtract(Tuple) - Method in interface org.protelis.lang.datatype.Tuple
-
Set arithmetic: compute which elements in this tuple are not in another
tuple.
- subtract(Tuple, Tuple) - Static method in class org.protelis.lang.datatype.Tuples
-
Set arithmetic: compute subtraction of set of tuple elements in t2 from
elements in t1.
- subTuple(int, int) - Method in class org.protelis.lang.datatype.impl.ArrayTupleImpl
-
- subTuple(int, int) - Method in interface org.protelis.lang.datatype.Tuple
-
Produces a new Tuple containing the elements between the start and end
indices.
- subTupleEnd(int) - Method in class org.protelis.lang.datatype.impl.ArrayTupleImpl
-
- subTupleEnd(int) - Method in interface org.protelis.lang.datatype.Tuple
-
Produces a new Tuple containing all elements from i onward.
- subTupleStart(int) - Method in class org.protelis.lang.datatype.impl.ArrayTupleImpl
-
- subTupleStart(int) - Method in interface org.protelis.lang.datatype.Tuple
-
Produces a new Tuple containing the first i elements.
- valueOf(String) - Static method in enum org.protelis.lang.datatype.Unit
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.protelis.lang.interpreter.util.Bytecode
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.protelis.lang.interpreter.util.HoodOp
-
Deprecated.
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.protelis.lang.interpreter.util.Op1
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.protelis.lang.interpreter.util.Op2
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.protelis.lang.interpreter.util.Op3
-
Returns the enum constant of this type with the specified name.
- values() - Method in interface org.protelis.lang.datatype.Field
-
- values() - Method in class org.protelis.lang.datatype.impl.FieldMapImpl
-
- values() - Method in class org.protelis.lang.datatype.impl.LazyField
-
- values() - Static method in enum org.protelis.lang.datatype.Unit
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.protelis.lang.interpreter.util.Bytecode
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.protelis.lang.interpreter.util.HoodOp
-
Deprecated.
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.protelis.lang.interpreter.util.Op1
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.protelis.lang.interpreter.util.Op2
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.protelis.lang.interpreter.util.Op3
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- valueStream() - Method in interface org.protelis.lang.datatype.Field
-
- valueStream() - Method in class org.protelis.lang.datatype.impl.FieldMapImpl
-
- valueStream() - Method in class org.protelis.lang.datatype.impl.LazyField
-
- Variable - Class in org.protelis.lang.interpreter.impl
-
Access a variable.
- Variable(Metadata, Reference) - Constructor for class org.protelis.lang.interpreter.impl.Variable
-