A B C D E F G H I K M N O P R S T W Y 
All Classes All Packages

A

accept(Map<String, Object>, List<Pair<String, String>>) - Method in class org.protelis.test.matcher.TestEqual
 
addCommand(Command<T>) - Method in class it.unibo.alchemist.core.implementations.Engine
 
addOutputMonitor(OutputMonitor<T>) - Method in class it.unibo.alchemist.core.implementations.Engine
 
addOutputMonitor(Environment<T>, OutputMonitor<T>) - Static method in class it.unibo.alchemist.core.implementations.Engine
Statically searches for the simulation running some environment, and adds an OutputMonitor to it.
apply(Map<String, Object>) - Method in class org.protelis.test.matcher.TestCount
 

B

build() - Method in class it.unibo.alchemist.core.implementations.Engine.StateCommand
Performs the building of a Command according to the previously called methods.
buildSimulation(Environment<T>) - Static method in class it.unibo.alchemist.core.implementations.Engine
 
buildSimulation(Environment<T>, long) - Static method in class it.unibo.alchemist.core.implementations.Engine
 
buildSimulation(Environment<T>, long, Time) - Static method in class it.unibo.alchemist.core.implementations.Engine
 
buildSimulation(Environment<T>, Time) - Static method in class it.unibo.alchemist.core.implementations.Engine
 

C

CachingNetworkManager - Class in org.protelis.test.infrastructure
Abstraction of networking used by the virtual machine: at each execution round, the VM needs to be able to access the most recent state received from neighbors and to be able to update the state that it is exporting to neighbors.
CachingNetworkManager() - Constructor for class org.protelis.test.infrastructure.CachingNetworkManager
 
cloneAction(Node<Object>, Reaction<Object>) - Method in class org.protelis.test.infrastructure.RunProtelisProgram
 
commit() - Method in class org.protelis.test.infrastructure.ProtelisNode
 
createAction(RandomGenerator, Environment<Object>, Node<Object>, TimeDistribution<Object>, Reaction<Object>, String) - Method in class org.protelis.test.infrastructure.TestIncarnation
 
createConcentration(String) - Method in class org.protelis.test.infrastructure.TestIncarnation
 
createCondition(RandomGenerator, Environment<Object>, Node<Object>, TimeDistribution<Object>, Reaction<Object>, String) - Method in class org.protelis.test.infrastructure.TestIncarnation
 
createMolecule(String) - Method in class org.protelis.test.infrastructure.TestIncarnation
 
createNode(RandomGenerator, Environment<Object>, String) - Method in class org.protelis.test.infrastructure.TestIncarnation
 
createReaction(RandomGenerator, Environment<Object>, Node<Object>, TimeDistribution<Object>, String) - Method in class org.protelis.test.infrastructure.TestIncarnation
 
createT() - Method in class org.protelis.test.infrastructure.ProtelisNode
 
createTimeDistribution(RandomGenerator, Environment<Object>, Node<Object>, String) - Method in class org.protelis.test.infrastructure.TestIncarnation
 

D

DC - Static variable in class org.protelis.test.InfrastructureTester
Skip this value while comparing results.
DELTA - Static variable in class org.protelis.test.InfrastructureTester
Tolerance while comparing double values.
DummyContext - Class in org.protelis.test.infrastructure
A **dummy** Protelis VM to be used for testing.
DummyContext() - Constructor for class org.protelis.test.infrastructure.DummyContext
 
DummyContext(NetworkManager) - Constructor for class org.protelis.test.infrastructure.DummyContext
 
DummyDevice - Class in org.protelis.test.infrastructure
A simple implementation of a Protelis-based device, encapsulating a ProtelisVM and a network interface.
DummyDevice(Environment<Object>, ProtelisNode, Reaction<Object>, RandomGenerator, NetworkManager) - Constructor for class org.protelis.test.infrastructure.DummyDevice
 

E

Engine<T> - Class in it.unibo.alchemist.core.implementations
This class implements a simulation.
Engine(Environment<T>, long) - Constructor for class it.unibo.alchemist.core.implementations.Engine
Builds a simulation for a given environment.
Engine(Environment<T>, long, Time) - Constructor for class it.unibo.alchemist.core.implementations.Engine
Builds a simulation for a given environment.
Engine(Environment<T>, Time) - Constructor for class it.unibo.alchemist.core.implementations.Engine
Builds a simulation for a given environment.
Engine.StateCommand<T> - Class in it.unibo.alchemist.core.implementations
This class provides a flexible Builder to create a new Command whose aim is to change the status of a Engine.
ExceptionObserver - Interface in org.protelis.test.observer
This observer intercepts exception thrown during the tests.
exceptionThrown(Exception) - Method in interface org.protelis.test.observer.ExceptionObserver
An exception has been thrown.
exceptionThrown(Exception) - Method in class org.protelis.test.observer.SimpleExceptionObserver
 
execute() - Method in class org.protelis.test.infrastructure.RunProtelisProgram
 

F

fromEnvironment(Environment<T>) - Static method in class it.unibo.alchemist.core.implementations.Engine
Given an environment, returns the corresponding simulation.

G

get(String) - Method in class org.protelis.test.infrastructure.ProtelisNode
 
get(String, Object) - Method in class org.protelis.test.infrastructure.ProtelisNode
 
getContext() - Method in class org.protelis.test.infrastructure.RunProtelisProgram
 
getCoordinates() - Method in class org.protelis.test.infrastructure.DummyDevice
 
getCurrentTime() - Method in class org.protelis.test.infrastructure.DummyContext
 
getCurrentTime() - Method in class org.protelis.test.infrastructure.DummyDevice
 
getDataExtractors() - Method in class it.unibo.alchemist.loader.YamlLoader
 
getDefault() - Method in class it.unibo.alchemist.loader.YamlLoader
 
getDeltaTime() - Method in class org.protelis.test.infrastructure.DummyContext
 
getDeltaTime() - Method in class org.protelis.test.infrastructure.DummyDevice
 
getDependencyGraph() - Method in class it.unibo.alchemist.core.implementations.Engine
 
getDeviceUID() - Method in class org.protelis.test.infrastructure.DummyContext
 
getDeviceUID() - Method in class org.protelis.test.infrastructure.DummyDevice
 
getEnvironment() - Method in class it.unibo.alchemist.core.implementations.Engine
 
getEnvironment() - Method in class org.protelis.test.infrastructure.RunProtelisProgram
 
getError() - Method in class it.unibo.alchemist.core.implementations.Engine
 
getExceptionList() - Method in interface org.protelis.test.observer.ExceptionObserver
 
getExceptionList() - Method in class org.protelis.test.observer.SimpleExceptionObserver
 
getFinalStep() - Method in class it.unibo.alchemist.core.implementations.Engine
 
getFinalTime() - Method in class it.unibo.alchemist.core.implementations.Engine
 
getFirstException() - Method in interface org.protelis.test.observer.ExceptionObserver
 
getFirstException() - Method in class org.protelis.test.observer.SimpleExceptionObserver
 
getLastException() - Method in interface org.protelis.test.observer.ExceptionObserver
 
getLastException() - Method in class org.protelis.test.observer.SimpleExceptionObserver
 
getModifiedMolecules() - Method in class org.protelis.test.infrastructure.RunProtelisProgram
 
getMultiRunResult(ExceptionObserver, String) - Static method in class org.protelis.test.InfrastructureTester.TestMatcher
 
getNeighborState() - Method in class org.protelis.test.infrastructure.CachingNetworkManager
Called by ProtelisVM during execution to collect the most recent information available from neighbors.
getNetworkManager() - Method in class org.protelis.test.infrastructure.ProtelisNode
 
getNode() - Method in class org.protelis.test.infrastructure.RunProtelisProgram
 
getProperty(Node<Object>, Molecule, String) - Method in class org.protelis.test.infrastructure.TestIncarnation
 
getReactionManager() - Method in class it.unibo.alchemist.core.implementations.Engine
 
getResult(ExceptionObserver, String) - Static method in class org.protelis.test.InfrastructureTester.TestMatcher
 
getResultList(ExceptionObserver, String) - Static method in class org.protelis.test.InfrastructureTester.TestMatcher
 
getSendCache() - Method in class org.protelis.test.infrastructure.CachingNetworkManager
External access to sending cache.
getStatus() - Method in class it.unibo.alchemist.core.implementations.Engine
 
getStep() - Method in class it.unibo.alchemist.core.implementations.Engine
 
getTime() - Method in class it.unibo.alchemist.core.implementations.Engine
 
getVariables() - Method in class it.unibo.alchemist.loader.YamlLoader
 
getWith(Map<String, Double>) - Method in class it.unibo.alchemist.loader.YamlLoader
 

H

has(String) - Method in class org.protelis.test.infrastructure.ProtelisNode
 
hoodFailureField(ExecutionContext) - Static method in class org.protelis.test.infrastructure.DummyContext
Test utility.

I

InfrastructureTester - Class in org.protelis.test
Test protelis simulations.
InfrastructureTester.TestMatcher - Class in org.protelis.test
Matching results.
instance() - Method in class org.protelis.test.infrastructure.DummyContext
 
instance() - Method in class org.protelis.test.infrastructure.DummyDevice
 
instance() - Static method in class org.protelis.test.infrastructure.TestIncarnation
 
it.unibo.alchemist.core.implementations - package it.unibo.alchemist.core.implementations
 
it.unibo.alchemist.loader - package it.unibo.alchemist.loader
 

K

keySet() - Method in class org.protelis.test.infrastructure.ProtelisNode
 

M

main(String[]) - Static method in class org.protelis.test.InfrastructureTester
Run a test.
makeTestField(int) - Method in class org.protelis.test.infrastructure.DummyContext
Test utility.
makeTestField(ExecutionContext) - Static method in class org.protelis.test.infrastructure.DummyContext
Test utility.
makeTupleTestField(int) - Method in class org.protelis.test.infrastructure.DummyContext
Test utility.
multiRunTest(String) - Static method in class org.protelis.test.InfrastructureTester
Test the given file.

N

nbrDelay() - Method in class org.protelis.test.infrastructure.DummyDevice
 
nbrLag() - Method in class org.protelis.test.infrastructure.DummyDevice
 
nbrRange() - Method in class org.protelis.test.infrastructure.DummyDevice
 
nbrVector() - Method in class org.protelis.test.infrastructure.DummyDevice
 
neighborAdded(Environment<T>, Node<T>, Node<T>) - Static method in class it.unibo.alchemist.core.implementations.Engine
 
neighborRemoved(Environment<T>, Node<T>, Node<T>) - Static method in class it.unibo.alchemist.core.implementations.Engine
 
nextRandomDouble() - Method in class org.protelis.test.infrastructure.DummyContext
 
nextRandomDouble() - Method in class org.protelis.test.infrastructure.DummyDevice
Note: this should be going away in the future, to be replaced by standard Java random.
nodeAdded(Environment<T>, Node<T>) - Static method in class it.unibo.alchemist.core.implementations.Engine
This method provide a facility for adding all the reactions of a node to the current simulation, creating also the dependencies.
nodeMoved(Environment<T>, Node<T>) - Static method in class it.unibo.alchemist.core.implementations.Engine
 
nodeRemoved(Environment<T>, Node<T>, Neighborhood<T>) - Static method in class it.unibo.alchemist.core.implementations.Engine
This method provide a facility for removing all the reactions of a node from the current simulation, along with their dependencies.

O

org.protelis.test - package org.protelis.test
 
org.protelis.test.infrastructure - package org.protelis.test.infrastructure
 
org.protelis.test.matcher - package org.protelis.test.matcher
 
org.protelis.test.observer - package org.protelis.test.observer
 

P

pause() - Method in class it.unibo.alchemist.core.implementations.Engine.StateCommand
Sets the desired status to PAUSED.
ProgramTester - Class in org.protelis.test
Test a protelis program.
ProtelisNode - Class in org.protelis.test.infrastructure
 
ProtelisNode(Environment<?>) - Constructor for class org.protelis.test.infrastructure.ProtelisNode
Builds a new ProtelisNode.
put(String, Object) - Method in class org.protelis.test.infrastructure.ProtelisNode
 

R

receiveFromNeighbor(DeviceUID, Map<CodePath, Object>) - Method in class org.protelis.test.infrastructure.CachingNetworkManager
External access to put messages into receive cache.
remove(String) - Method in class org.protelis.test.infrastructure.ProtelisNode
 
removeNeighbor(DeviceUID) - Method in class org.protelis.test.infrastructure.CachingNetworkManager
External access to note when a device is no longer a neighbor, wiping cache.
removeOutputMonitor(OutputMonitor<T>) - Method in class it.unibo.alchemist.core.implementations.Engine
 
removeReaction(Environment<T>, Reaction<T>) - Static method in class it.unibo.alchemist.core.implementations.Engine
 
RESULT - Static variable in class org.protelis.test.infrastructure.RunProtelisProgram
RESULT.
run() - Method in class it.unibo.alchemist.core.implementations.Engine
 
run() - Method in class it.unibo.alchemist.core.implementations.Engine.StateCommand
Sets the desired status to RUNNING.
runExpectingErrors(String, Class<? extends Throwable>, boolean, String...) - Static method in class org.protelis.test.ProgramTester
Tests a program expecting an error, and checks its message contents.
runExpectingErrors(String, Class<? extends Throwable>, String...) - Static method in class org.protelis.test.ProgramTester
Tests a program expecting an error, and checks its message contents.
runExpectingErrors(String, Class<E>, Consumer<E>) - Static method in class org.protelis.test.ProgramTester
Tests a program expecting an error, and checks its message contents.
runFile(String) - Static method in class org.protelis.test.ProgramTester
 
runFile(String, int) - Static method in class org.protelis.test.ProgramTester
 
runFile(String, int, Object) - Static method in class org.protelis.test.ProgramTester
 
runFileWithExplicitResult(String, Object) - Static method in class org.protelis.test.ProgramTester
 
runFileWithMultipleRuns(String) - Static method in class org.protelis.test.ProgramTester
 
runFileWithMultipleRuns(String, int, int) - Static method in class org.protelis.test.ProgramTester
 
runFileWithMultipleRuns(String, IntStream) - Static method in class org.protelis.test.ProgramTester
 
runProgram(String, int) - Static method in class org.protelis.test.ProgramTester
 
RunProtelisProgram - Class in org.protelis.test.infrastructure
 
RunProtelisProgram(Environment<Object>, ProtelisNode, Reaction<Object>, RandomGenerator, String) - Constructor for class org.protelis.test.infrastructure.RunProtelisProgram
 
runTest(String) - Static method in class org.protelis.test.InfrastructureTester
Test the given file.
runTest(String, int, int) - Static method in class org.protelis.test.InfrastructureTester
Test the given file.
runTest(String, int, int, Object) - Static method in class org.protelis.test.InfrastructureTester
Test a given property.
runTest(String, Object) - Static method in class org.protelis.test.InfrastructureTester
Test a given property.

S

setNetworkManger(NetworkManager) - Method in class org.protelis.test.infrastructure.ProtelisNode
 
setup() - Method in class org.protelis.test.infrastructure.ProtelisNode
 
shareState(Map<CodePath, Object>) - Method in class org.protelis.test.infrastructure.CachingNetworkManager
Called by ProtelisVM during execution to send its current shared state to neighbors.
SimpleExceptionObserver - Class in org.protelis.test.observer
Simple exception observer.
SimpleExceptionObserver() - Constructor for class org.protelis.test.observer.SimpleExceptionObserver
 
SIMULATION_STEPS - Static variable in class org.protelis.test.InfrastructureTester
Default runs.
STABILITY_STEPS - Static variable in class org.protelis.test.InfrastructureTester
Check function stability for this number of steps.
StateCommand() - Constructor for class it.unibo.alchemist.core.implementations.Engine.StateCommand
 
stop() - Method in class it.unibo.alchemist.core.implementations.Engine.StateCommand
Sets the desired status to {#@link Status#STOPPED}.

T

TestCount - Class in org.protelis.test.matcher
Count the occurences of a given value.
TestCount(Object) - Constructor for class org.protelis.test.matcher.TestCount
 
TestEqual - Class in org.protelis.test.matcher
Check if the simulation and expected results match.
TestEqual(ExceptionObserver) - Constructor for class org.protelis.test.matcher.TestEqual
 
TestIncarnation - Class in org.protelis.test.infrastructure
 
TestIncarnation() - Constructor for class org.protelis.test.infrastructure.TestIncarnation
 
toString() - Method in class it.unibo.alchemist.core.implementations.Engine
 
toString() - Method in class org.protelis.test.infrastructure.DummyContext
 
toString() - Method in class org.protelis.test.infrastructure.DummyDevice
 
toString() - Method in class org.protelis.test.infrastructure.ProtelisNode
 
toString() - Method in class org.protelis.test.infrastructure.TestIncarnation
 

W

waitFor(Status, long, TimeUnit) - Method in class it.unibo.alchemist.core.implementations.Engine
 

Y

YamlLoader - Class in it.unibo.alchemist.loader
Loads a properly formatted YAML file and provides method for instancing a batch of scenarios.
YamlLoader(InputStream) - Constructor for class it.unibo.alchemist.loader.YamlLoader
 
YamlLoader(Reader) - Constructor for class it.unibo.alchemist.loader.YamlLoader
 
YamlLoader(String) - Constructor for class it.unibo.alchemist.loader.YamlLoader
 
A B C D E F G H I K M N O P R S T W Y 
All Classes All Packages