java.lang.Object
org.bigraphs.framework.simulation.modelchecking.ModelCheckingStrategySupport<B>
org.bigraphs.framework.simulation.modelchecking.RandomAgentModelCheckingStrategy<B>
- All Implemented Interfaces:
ModelCheckingStrategy<B>
public class RandomAgentModelCheckingStrategy<B extends Bigraph<? extends Signature<?>>>
extends ModelCheckingStrategySupport<B>
Random state-space traversal without cycle-checking and predicate evaluation.
- Author:
- Dominik Grzelak
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bigraphs.framework.simulation.modelchecking.ModelCheckingStrategySupport
ModelCheckingStrategySupport.MatchResult<B extends Bigraph<? extends Signature<?>>>
-
Field Summary
Fields inherited from class org.bigraphs.framework.simulation.modelchecking.ModelCheckingStrategySupport
decoder, encoder, logger, modelChecker, occurrenceCounter, predicateChecker
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
addToWorklist
(Collection<B> worklist, B bigraph) protected Collection
<B> protected B
removeNext
(Collection<B> worklist) void
Main method for model checking.Methods inherited from class org.bigraphs.framework.simulation.modelchecking.ModelCheckingStrategySupport
evaluatePredicates, resetOccurrenceCounter
-
Constructor Details
-
RandomAgentModelCheckingStrategy
-
-
Method Details
-
synthesizeTransitionSystem
public void synthesizeTransitionSystem()Description copied from class:ModelCheckingStrategySupport
Main method for model checking. The mode of traversal can be changed by implementing theModelCheckingStrategySupport.createWorklist()
andModelCheckingStrategySupport.removeNext(Collection)
methods.Alternatively, the #synthesizeTransitionSystem() method can be simply overridden.
- Specified by:
synthesizeTransitionSystem
in interfaceModelCheckingStrategy<B extends Bigraph<? extends Signature<?>>>
- Overrides:
synthesizeTransitionSystem
in classModelCheckingStrategySupport<B extends Bigraph<? extends Signature<?>>>
-
createWorklist
- Specified by:
createWorklist
in classModelCheckingStrategySupport<B extends Bigraph<? extends Signature<?>>>
-
removeNext
- Specified by:
removeNext
in classModelCheckingStrategySupport<B extends Bigraph<? extends Signature<?>>>
-
addToWorklist
- Specified by:
addToWorklist
in classModelCheckingStrategySupport<B extends Bigraph<? extends Signature<?>>>
-