- java.lang.Object
-
- fr.inria.mochy.core.equalization.Marking
-
public class Marking extends Object
manage the state of the places
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
add(EquPlace p)
boolean
contains(EquPlace p)
Marking
copy()
void
drop()
ArrayList<EquPlace>
getListMarked()
boolean
presetMarked(EquTransition t)
boolean
remove(EquPlace p)
-
-
-
Method Detail
-
contains
public boolean contains(EquPlace p)
-
add
public boolean add(EquPlace p)
-
remove
public boolean remove(EquPlace p)
-
copy
public Marking copy()
-
drop
public void drop()
-
presetMarked
public boolean presetMarked(EquTransition t)
- Parameters:
t
- : an input transition- Returns:
- tru if the preset of the input transitikon (EXCLUDING CONTROL PLACESĀ° is marked
-
-