| Package | Description |
|---|---|
| uniol.apt.generator.bitnet | |
| uniol.apt.generator.module | |
| uniol.apt.generator.philnet |
| Modifier and Type | Interface and Description |
|---|---|
interface |
BitNetGenerator
Interface for generators of bit nets
|
| Modifier and Type | Class and Description |
|---|---|
class |
ConnectedBitNetGenerator
Generate a bit net.
|
class |
SimpleBitNetGenerator
Generate a bit net
Each bit has two states:
0, when the bit isn't set
1, when the bit is set
and two transitions:
set, which sets the bit
unset, which unsets the bit
|
| Modifier and Type | Method and Description |
|---|---|
protected abstract NetGenerator |
AbstractGeneratorModule.createGenerator()
Create an instance of the
NetGenerator that this module should use. |
| Modifier and Type | Interface and Description |
|---|---|
interface |
PhilNetGenerator
Interface for generators of philosophers nets
|
| Modifier and Type | Class and Description |
|---|---|
class |
BistatePhilNetGenerator
Generate a philosophers net
Each philosopher has two states:
thinking, where he don't hold forks
eating, where he hold his and his neighbors forks
|
class |
QuadstatePhilNetGenerator
Generate a philosophers net
Each philosopher has four states:
thinking, where he don't hold forks
waiting, where he holds his own fork and waits for the fork of his neighbor
eating, where he hold his and his neighbors forks
cleaning, where he holds his own fork
|
class |
TristatePhilNetGenerator
Generate a philosophers net
Each philosopher has three states:
thinking, where he don't hold forks
waiting, where he holds his own fork and waits for the fork of his neighbor
eating, where he hold his and his neighbors forks
|