|
|||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |
See:
Description
Class Summary | |
---|---|
DProcess<M> | Subclasses of this class implement the distributed algorithm. |
MasterProcess<M> | The simulator of the distributed system. |
A package for simulating distributed algorithms on a single processor.
With suitable modification, it should be possible to run the same code
on multiple processors.
Create a single MasterProcess
instance
and pass it to the constructor of the
DProcess
instances you create. Then, call
MasterProcess.run()
to set everything in motion.
Optionally, you can specify a network simulator. This allows detailed simulation
of network latency and lossy communication.
|
|||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |