| Package | Description |
|---|---|
| uniol.apt.adt.pn |
Representation of Petri nets.
|
| uniol.apt.analysis.ac | |
| uniol.apt.analysis.bounded | |
| uniol.apt.analysis.sideconditions | |
| uniol.apt.analysis.trapsAndSiphons | |
| uniol.apt.generator.bitnet | |
| uniol.apt.generator.marking | |
| uniol.apt.generator.philnet |
| Modifier and Type | Method and Description |
|---|---|
Place |
PetriNet.createPlace()
Creates a new place with an autogenerated id to the petri net.
|
Place |
PetriNet.createPlace(Place p)
Creates a new place to the petri net by copying the values from a existing place.
|
Place |
PetriNet.createPlace(java.lang.String id)
Creates a new place to the petri net with the given id.
|
Place[] |
PetriNet.createPlaces(int count)
Creates #count new places in this petri net with auto generated ids.
|
Place[] |
PetriNet.createPlaces(Place... placeList)
Creates a few new places in this petri net by copying the values from the other places.
|
Place[] |
PetriNet.createPlaces(java.lang.String... idList)
Creates a few new places in this petri net with the given ids.
|
Place |
Flow.getPlace()
Gets the place for this flow.
|
Place |
PetriNet.getPlace(java.lang.String id)
Returns the place with the given id.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Set<Place> |
PetriNet.getPlaces()
Gets a view of the places of this petri net.
|
java.util.Set<Place> |
Transition.getPostset()
Gets the postset for this transition.
|
java.util.Set<Place> |
Transition.getPreset()
Gets the preset for this transition.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Marking.addToken(Place p,
int m)
Deprecated.
Markings should be used immutably. Use
addTokenCount instead. |
void |
Marking.addToken(Place p,
Token m)
Deprecated.
Markings should be used immutably. Use
addTokenCount instead. |
Marking |
Marking.addTokenCount(Place p,
int m)
Adds the given token(s) to a given place.
|
Marking |
Marking.addTokenCount(Place p,
Token m)
Adds the given token(s) to a given place.
|
boolean |
PetriNet.containsPlace(Place p)
Checks if this petri net contains a place.
|
Place |
PetriNet.createPlace(Place p)
Creates a new place to the petri net by copying the values from a existing place.
|
Place[] |
PetriNet.createPlaces(Place... placeList)
Creates a few new places in this petri net by copying the values from the other places.
|
Token |
Marking.getToken(Place p)
Returns the token count of the given place.
|
void |
PetriNet.removePlace(Place place)
Removes a place from this petri net.
|
void |
Marking.setToken(Place p,
int m)
Deprecated.
Markings should be used immutably. Use
setTokenCount instead. |
void |
Marking.setToken(Place p,
Token m)
Deprecated.
Markings should be used immutably. Use
setTokenCount instead. |
Marking |
Marking.setTokenCount(Place p,
int m)
Sets the given token(s) on a given place.
|
Marking |
Marking.setTokenCount(Place p,
Token m)
Sets the given token(s) on a given place.
|
| Modifier and Type | Method and Description |
|---|---|
Pair<Place,Place> |
AsymmetricChoice.check(PetriNet net)
Checks whether a given Petri net is a asymmetric choice net.
|
Pair<Place,Place> |
AsymmetricChoice.check(PetriNet net)
Checks whether a given Petri net is a asymmetric choice net.
|
| Modifier and Type | Field and Description |
|---|---|
Place |
BoundedResult.unboundedPlace |
| Constructor and Description |
|---|
BoundedResult(PetriNet pn,
Place place,
java.lang.Long k,
java.util.List<Transition> sequenceToCovered,
java.util.List<Transition> cycle)
Construct a new BoundedResult instance.
|
| Modifier and Type | Method and Description |
|---|---|
Place |
SideCondition.getPlace()
Gets the place.
|
| Constructor and Description |
|---|
SideCondition(Place p,
Transition t,
Flow placeToTransitionArc,
Flow transitionToPlaceArc)
Constructor for Sideconditon.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Set<java.util.Set<Place>> |
TrapsAndSiphonsLogic.getResult() |
| Modifier and Type | Method and Description |
|---|---|
void |
TrapsAndSiphonsLogic.setResult(java.util.Set<java.util.Set<Place>> result) |
| Constructor and Description |
|---|
TrapsSiphonsList(java.util.Collection<? extends java.util.Set<Place>> c)
This constructor creates a new trap/siphon list and fills it with the
elements of the given set.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.List<Place> |
Bit.getPlaces()
Get the places representing the states of this bits
|
| Constructor and Description |
|---|
MarkingNetGenerator(PetriNet pn,
int tokenLimit,
boolean addToInitialMarking,
java.util.Collection<java.util.Set<Place>> requiredPlaces)
Create a new MarkingNetGenerator instance for the given arguments.
|
| Modifier and Type | Method and Description |
|---|---|
Place |
Philosopher.getFork()
Get the fork of this philosopher
|
| Modifier and Type | Method and Description |
|---|---|
java.util.List<Place> |
Philosopher.getPlaces()
Get the places representing the state of this philosopher
|