| Package | Description |
|---|---|
| uniol.apt.adt.pn |
Representation of Petri nets.
|
| Modifier and Type | Field and Description |
|---|---|
static Token |
Token.OMEGA |
static Token |
Token.ZERO |
| Modifier and Type | Method and Description |
|---|---|
Token |
Place.getInitialToken()
Gets the token of the initialmarking of the net for this place.
|
Token |
Marking.getToken(Place p)
Returns the token count of the given place.
|
Token |
Marking.getToken(java.lang.String id)
Returns the token count of the given place with the given id.
|
static Token |
Token.valueOf(long v)
Returns a Token instance for the given value.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Collection<Token> |
Marking.values()
Return the tokens that appear in this marking.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Marking.addToken(Place p,
Token m)
Deprecated.
Markings should be used immutably. Use
addTokenCount instead. |
void |
Marking.addToken(java.lang.String id,
Token m)
Deprecated.
Markings should be used immutably. Use
addTokenCount instead. |
Marking |
Marking.addTokenCount(Place p,
Token m)
Adds the given token(s) to a given place.
|
Marking |
Marking.addTokenCount(java.lang.String id,
Token m)
Adds the given token(s) to a given place.
|
int |
Token.compareTo(Token o) |
void |
Place.setInitialToken(Token t)
Gets the initial token of this place.
|
void |
Marking.setToken(Place p,
Token m)
Deprecated.
Markings should be used immutably. Use
setTokenCount instead. |
void |
Marking.setToken(java.lang.String placeId,
Token m)
Deprecated.
Markings should be used immutably. Use
setTokenCount instead. |
Marking |
Marking.setTokenCount(Place p,
Token m)
Sets the given token(s) on a given place.
|
Marking |
Marking.setTokenCount(java.lang.String placeId,
Token m)
Sets the given token(s) on a place with the given id.
|