Class DeadEndMeasure
java.lang.Object
org.tweetyproject.logics.bpm.analysis.DeadEndMeasure
- All Implemented Interfaces:
BpmnInconsistencyMeasure,InconsistencyMeasure<ReachabilityGraph>
- Author:
- Benedikt Knopp
-
Field Summary
Fields inherited from interface org.tweetyproject.logics.commons.analysis.InconsistencyMeasure
MEASURE_TOLERANCE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetMarkingCulpability(Marking marking) Retrieve for a particular (non-final) state its local culpability for the global inconsistency A high culpability means that this state features many tokens in non-final places and the state is entered with a high probabilitygetPlaceCulpability(Place place) Retrieve for a particular (non-final) place its local culpability for the global inconsistency A high culpability means that many tokens remain in that place with a high probabilityinconsistencyMeasure(ReachabilityGraph reachabilityGraph) This method measures the inconsistency of the given belief base.voidsetTokenSensitivity(boolean tokenSensitive) specify before determining the values whether the value should be token sensitive A token sensitive measure assigns higher inconsistency values if more tokens remain in non-final places
-
Constructor Details
-
DeadEndMeasure
public DeadEndMeasure()DeadEndInconsistencyMeasure
-
-
Method Details
-
inconsistencyMeasure
Description copied from interface:InconsistencyMeasureThis method measures the inconsistency of the given belief base.- Specified by:
inconsistencyMeasurein interfaceInconsistencyMeasure<ReachabilityGraph>- Parameters:
reachabilityGraph- a belief base.- Returns:
- a Double indicating the degree of inconsistency.
-
getInfoStrings
- Specified by:
getInfoStringsin interfaceBpmnInconsistencyMeasure
-
setTokenSensitivity
public void setTokenSensitivity(boolean tokenSensitive) specify before determining the values whether the value should be token sensitive A token sensitive measure assigns higher inconsistency values if more tokens remain in non-final places- Parameters:
tokenSensitive-
-
getPlaceCulpability
Retrieve for a particular (non-final) place its local culpability for the global inconsistency A high culpability means that many tokens remain in that place with a high probability- Parameters:
place- the place- Returns:
- the place culpability
-
getMarkingCulpability
Retrieve for a particular (non-final) state its local culpability for the global inconsistency A high culpability means that this state features many tokens in non-final places and the state is entered with a high probability- Parameters:
marking- the state- Returns:
- the state culpability
-