Class TaggedPlace
- java.lang.Object
-
- org.processmining.placebasedlpmdiscovery.model.Place
-
- org.processmining.OCLPMDiscovery.model.TaggedPlace
-
- All Implemented Interfaces:
java.io.Serializable,org.processmining.placebasedlpmdiscovery.model.TextDescribable
public class TaggedPlace extends org.processmining.placebasedlpmdiscovery.model.Place- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TaggedPlace()TaggedPlace(java.lang.String objectType)TaggedPlace(java.lang.String type, java.lang.String id)TaggedPlace(TaggedPlace tp)TaggedPlace(org.processmining.placebasedlpmdiscovery.model.Place place)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)java.util.Set<java.lang.String>getConnectedActivities()Returns the labels of all transitions to which this place is connected.java.util.Set<java.lang.String>getConnectedActivitiesOf(java.util.HashSet<java.lang.String> givenActivities)Returns of the given activities only those to which this place is connected.java.lang.StringgetObjectType()inthashCode()booleanisEqual(TaggedPlace other)Checks if all the transition are equal and the object type (doesn't check variable arcs)java.lang.BooleanisIsomorphic(TaggedPlace other)Checks if all the transition are equal (doesn't check object-type or variable arcs)voidsetObjectType(java.lang.String objectType)-
Methods inherited from class org.processmining.placebasedlpmdiscovery.model.Place
addInputTransition, addOutputTransition, covers, getAdditionalInfo, getId, getInputTransitions, getNumTokens, getOutputTransitions, getShortString, getSilentTransitions, isFinal, isInputTransition, isInputTransitionLabel, isOutputTransition, isOutputTransitionLabel, isSelfLoop, removeTransition, removeTransitions, removeTransitions, setAdditionalInfo, setFinal, setNumTokens, toString
-
-
-
-
Constructor Detail
-
TaggedPlace
public TaggedPlace(java.lang.String objectType)
-
TaggedPlace
public TaggedPlace(java.lang.String type, java.lang.String id)
-
TaggedPlace
public TaggedPlace()
-
TaggedPlace
public TaggedPlace(org.processmining.placebasedlpmdiscovery.model.Place place)
-
TaggedPlace
public TaggedPlace(TaggedPlace tp)
-
-
Method Detail
-
isIsomorphic
public java.lang.Boolean isIsomorphic(TaggedPlace other)
Checks if all the transition are equal (doesn't check object-type or variable arcs)- Parameters:
tp-- Returns:
-
getObjectType
public java.lang.String getObjectType()
-
setObjectType
public void setObjectType(java.lang.String objectType)
-
isEqual
public boolean isEqual(TaggedPlace other)
Checks if all the transition are equal and the object type (doesn't check variable arcs)- Parameters:
tp-- Returns:
-
getConnectedActivitiesOf
public java.util.Set<java.lang.String> getConnectedActivitiesOf(java.util.HashSet<java.lang.String> givenActivities)
Returns of the given activities only those to which this place is connected.- Parameters:
givenActivities-- Returns:
-
getConnectedActivities
public java.util.Set<java.lang.String> getConnectedActivities()
Returns the labels of all transitions to which this place is connected.
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classorg.processmining.placebasedlpmdiscovery.model.Place
-
hashCode
public int hashCode()
- Overrides:
hashCodein classorg.processmining.placebasedlpmdiscovery.model.Place
-
-