C D E G H I L M N O P Q R S T V

C

ChainLetter - Class in nl.tudelft.ewi.alg.distsim.example
The message being passed around.
ChainLetter(String, int) - Constructor for class nl.tudelft.ewi.alg.distsim.example.ChainLetter
The message being passed around.

D

DEBUG - Static variable in class nl.tudelft.ewi.alg.distsim.MasterProcess
 
delay - Variable in class nl.tudelft.ewi.alg.distsim.net.SimpleDelay
 
DProcess<M> - Class in nl.tudelft.ewi.alg.distsim
Subclasses of this class implement the distributed algorithm.
DProcess(MasterProcess<M>, int) - Constructor for class nl.tudelft.ewi.alg.distsim.DProcess
 
DUMMY_PROC_ID - Static variable in class nl.tudelft.ewi.alg.distsim.MasterProcess
 

E

enqueueReceiverID(int) - Method in class nl.tudelft.ewi.alg.distsim.example.ChainLetter
 
equals(Object) - Method in class nl.tudelft.ewi.alg.distsim.DProcess
 
Example - Class in nl.tudelft.ewi.alg.distsim.example
An example distributed "algorithm" using the nl.tudelft.ewi.alg.distsim package.
Example() - Constructor for class nl.tudelft.ewi.alg.distsim.example.Example
 

G

getClock() - Method in class nl.tudelft.ewi.alg.distsim.DProcess
 
getIdle() - Method in class nl.tudelft.ewi.alg.distsim.DProcess
 
getMasterProcess() - Method in class nl.tudelft.ewi.alg.distsim.DProcess
 
getParallelElapsedTime() - Method in class nl.tudelft.ewi.alg.distsim.MasterProcess
 
getReceiveCounters(int) - Method in class nl.tudelft.ewi.alg.distsim.MasterProcess
 
getSendCounters(int) - Method in class nl.tudelft.ewi.alg.distsim.MasterProcess
 
getTotalElapsedTime() - Method in class nl.tudelft.ewi.alg.distsim.MasterProcess
 
getTotalIdleTime() - Method in class nl.tudelft.ewi.alg.distsim.MasterProcess
 
getTotalProcessingTime() - Method in class nl.tudelft.ewi.alg.distsim.MasterProcess
 

H

hashCode() - Method in class nl.tudelft.ewi.alg.distsim.DProcess
 

I

id - Variable in class nl.tudelft.ewi.alg.distsim.DProcess
 
Immediate - Class in nl.tudelft.ewi.alg.distsim.net
Just deliver each message immediately, without latency.
Immediate() - Constructor for class nl.tudelft.ewi.alg.distsim.net.Immediate
 
isDone() - Method in class nl.tudelft.ewi.alg.distsim.DProcess
Whether or not this process is done.
isDone() - Method in class nl.tudelft.ewi.alg.distsim.example.MyProc
 
isDone() - Method in class nl.tudelft.ewi.alg.distsim.MasterProcess
 

L

log(String) - Method in class nl.tudelft.ewi.alg.distsim.DProcess
Log something, including a timestamp.
LOST - Static variable in interface nl.tudelft.ewi.alg.distsim.net.NetSimulator
 

M

main(String[]) - Static method in class nl.tudelft.ewi.alg.distsim.example.Example
 
masterProc - Variable in class nl.tudelft.ewi.alg.distsim.DProcess
 
MasterProcess<M> - Class in nl.tudelft.ewi.alg.distsim
The simulator of the distributed system.
MasterProcess() - Constructor for class nl.tudelft.ewi.alg.distsim.MasterProcess
Construct a new MasterProcess where messages are delivered without delay and are never lost.
MasterProcess(NetSimulator) - Constructor for class nl.tudelft.ewi.alg.distsim.MasterProcess
Construct a new MasterProcess with the specified network simulator.
MESSAGES - Static variable in class nl.tudelft.ewi.alg.distsim.example.MyProc
 
MyProc - Class in nl.tudelft.ewi.alg.distsim.example
These distributed processes each start off with a message of their own.
MyProc(MasterProcess<ChainLetter>, int, int) - Constructor for class nl.tudelft.ewi.alg.distsim.example.MyProc
 

N

N - Static variable in class nl.tudelft.ewi.alg.distsim.example.Example
 
NetSimulator - Interface in nl.tudelft.ewi.alg.distsim.net
Abstract base class for implementing custom network simulators.
nl.tudelft.ewi.alg.distsim - package nl.tudelft.ewi.alg.distsim
A package for simulating distributed algorithms on a single processor.
nl.tudelft.ewi.alg.distsim.example - package nl.tudelft.ewi.alg.distsim.example
Working example of the nl.tudelft.ewi.alg.distsim package.
nl.tudelft.ewi.alg.distsim.net - package nl.tudelft.ewi.alg.distsim.net
Classes that allow for simulation of message latency and lossy networks.

O

originatorID - Variable in class nl.tudelft.ewi.alg.distsim.example.ChainLetter
Originator

P

pollReceiverID() - Method in class nl.tudelft.ewi.alg.distsim.example.ChainLetter
 
processes() - Method in class nl.tudelft.ewi.alg.distsim.MasterProcess
 

Q

queueContents() - Method in class nl.tudelft.ewi.alg.distsim.example.ChainLetter
 
queueEmpty() - Method in class nl.tudelft.ewi.alg.distsim.example.ChainLetter
 

R

RandomDelay - Class in nl.tudelft.ewi.alg.distsim.net
Simulator for a non-lossy network with uniform random latency between two bounds.
RandomDelay(Random, int, int) - Constructor for class nl.tudelft.ewi.alg.distsim.net.RandomDelay
Construct a new instance with the specified bounds.
receiveMessage(int, M) - Method in class nl.tudelft.ewi.alg.distsim.DProcess
Subclasses need to implement this.
receiveMessage(int, ChainLetter) - Method in class nl.tudelft.ewi.alg.distsim.example.MyProc
 
run() - Method in class nl.tudelft.ewi.alg.distsim.MasterProcess
Run the distributed algorithm.

S

send(int, int, long) - Method in class nl.tudelft.ewi.alg.distsim.net.Immediate
Simulate the sending of a message m by giving the message's delivery time, possibly losing it.
send(int, int, long) - Method in interface nl.tudelft.ewi.alg.distsim.net.NetSimulator
Simulate the sending of a message m by giving the message's delivery time, possibly losing it.
send(int, int, long) - Method in class nl.tudelft.ewi.alg.distsim.net.RandomDelay
Simulate the sending of a message m by giving the message's delivery time, possibly losing it.
send(int, int, long) - Method in class nl.tudelft.ewi.alg.distsim.net.SimpleDelay
Simulate the sending of a message m by giving the message's delivery time, possibly losing it.
sendMessage(int, M) - Method in class nl.tudelft.ewi.alg.distsim.DProcess
Send a message.
setClock(long) - Method in class nl.tudelft.ewi.alg.distsim.DProcess
 
setProcs(int[]) - Method in class nl.tudelft.ewi.alg.distsim.example.MyProc
 
SimpleDelay - Class in nl.tudelft.ewi.alg.distsim.net
Simulator for a non-lossy network with a fixed message latency.
SimpleDelay(long) - Constructor for class nl.tudelft.ewi.alg.distsim.net.SimpleDelay
Construct a SimpleDelay instance
SimpleDelay(long, SimpleDelay.Unit) - Constructor for class nl.tudelft.ewi.alg.distsim.net.SimpleDelay
Construct a SimpleDelay instance
SimpleDelay.Unit - Enum in nl.tudelft.ewi.alg.distsim.net
Units for specifying message latency.

T

text - Variable in class nl.tudelft.ewi.alg.distsim.example.ChainLetter
Message text
TWIDDLE_TIME - Static variable in class nl.tudelft.ewi.alg.distsim.example.MyProc
 

V

valueOf(String) - Static method in enum nl.tudelft.ewi.alg.distsim.net.SimpleDelay.Unit
Returns the enum constant of this type with the specified name.
values() - Static method in enum nl.tudelft.ewi.alg.distsim.net.SimpleDelay.Unit
Returns an array containing the constants of this enum type, in the order they are declared.

C D E G H I L M N O P Q R S T V