java.lang.Object
org.bigraphs.framework.simulation.modelchecking.predicates.PredicateChecker<B>
The task of the class is to evaluate a given set of predicates of class
ReactiveSystemPredicate
.
After evaluation, a map can be acquired to see which predicates evaluated to true
or false
.
This class is thread-safe.
- Author:
- Dominik Grzelak
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Checks all predicates passed via the constructor before.Get detailed information of the predicate evaluation after the methodcheckAll(Bigraph)
was called.Get the set of predicates with which the class was instantiated.
-
Constructor Details
-
PredicateChecker
-
-
Method Details
-
checkAll
Checks all predicates passed via the constructor before. Detailed evaluation results of each checked predicate can be acquired by thegetChecked()
method afterwards.- Parameters:
agent
- the bigraph agent to use for the predicate checking- Returns:
true
, if all predicates evaluated totrue
, otherwisefalse
-
getChecked
Get detailed information of the predicate evaluation after the methodcheckAll(Bigraph)
was called.- Returns:
- a result map of the predicate evaluation
-
getPredicates
Get the set of predicates with which the class was instantiated.- Returns:
- set of predicates
-