|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectvanted.petrinetelements.AbstractArc
vanted.petrinetelements.InArc
public class InArc
The Class InArc for arc handling, where the arc is an ingoing arc of a transition.
Constructor Summary | |
---|---|
InArc(Place place,
Transition transition,
org.graffiti.graph.Edge edge)
Instantiates a new in arc. |
Method Summary | |
---|---|
void |
addGuard(Guard guard)
Adds the guard to the ingoing arc. |
java.util.List<Guard> |
getGuards()
Gets the guards of the ingoing arc. |
boolean |
isInArc()
Checks if the arc is an ingoing arc. |
void |
removeAllGuards()
Removes the all guards from the ingoing arc. |
void |
removeGuard(Guard guard)
Removes the guard from the ingoing arc. |
Methods inherited from class vanted.petrinetelements.AbstractArc |
---|
addArcWeight, addDraw, addExpression, getArcWeight, getDraw, getEdge, getEdges, getExpressions, getID, getPlace, getTransition, hashCode, removeAllExpressions, removeArcWeight, removeDraw, removeExpression, setEdge, setPlace, setTransition |
Methods inherited from class java.lang.Object |
---|
equals, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public InArc(Place place, Transition transition, org.graffiti.graph.Edge edge)
place
- the placetransition
- the transitionedge
- the edgeMethod Detail |
---|
public boolean isInArc()
public void addGuard(Guard guard)
guard
- the guardpublic void removeGuard(Guard guard)
guard
- the guardpublic void removeAllGuards()
public java.util.List<Guard> getGuards()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |