Package org.mpi_sws.jmc.strategies.trust
Class BackwardRevisitView
java.lang.Object
org.mpi_sws.jmc.strategies.trust.BackwardRevisitView
Represents a restricted view of the execution graph. Some nodes are removed and some relations
are updated.
-
Constructor Summary
ConstructorsConstructorDescriptionBackwardRevisitView(ExecutionGraph graph, ExecutionGraphNode read, ExecutionGraphNode write) Creates a new backward revisit view. -
Method Summary
Modifier and TypeMethodDescriptiongetRead()Gets the restricted graph.getWrite()booleanChecks if the restricted view is a maximal extensionvoidremoveNode(Event.Key key) Just marks the node as removed, does not update the graph
-
Constructor Details
-
BackwardRevisitView
Creates a new backward revisit view.- Parameters:
graph- The execution graph.read- The read event.write- The write event.
-
-
Method Details
-
getWrite
-
getRead
-
removeNode
Just marks the node as removed, does not update the graph -
isMaximalExtension
public boolean isMaximalExtension()Checks if the restricted view is a maximal extensionMeta: Breaks the separation of concerns. Is part of the core logic of the Trust algorithm
-
getRestrictedGraph
Gets the restricted graph.- Returns:
- The restricted graph
-
additionalEvent
-