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.
Evaluates all rules, then selects the next agent from the shuffled worklist at random.
- 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, isRunning, logger, modelChecker, occurrenceCounter, predicateChecker, worklistFilter -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddToWorklist(Collection<B> worklist, B bigraph) removeNext(Collection<B> worklist) Methods inherited from class org.bigraphs.framework.simulation.modelchecking.ModelCheckingStrategySupport
evaluatePredicates, getBigraphMatches, resetOccurrenceCounter, setFilter, synthesizeTransitionSystem
-
Constructor Details
-
RandomAgentModelCheckingStrategy
-
-
Method Details
-
createWorklist
- Specified by:
createWorklistin classModelCheckingStrategySupport<B extends Bigraph<? extends Signature<?>>>
-
removeNext
- Specified by:
removeNextin classModelCheckingStrategySupport<B extends Bigraph<? extends Signature<?>>>
-
addToWorklist
- Specified by:
addToWorklistin classModelCheckingStrategySupport<B extends Bigraph<? extends Signature<?>>>
-