- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanaccept(ReactionRule<B> rule, B agent) static <B extends Bigraph<? extends Signature<?>>>
ReactionRuleFilter<B> default ReactionRuleFilter<B> and(ReactionRuleFilter<B> other) default ReactionRuleFilter<B> negate()default ReactionRuleFilter<B> or(ReactionRuleFilter<B> other)
-
Method Details
-
alwaysAccept
-
accept
- Returns:
- true if this rule should be considered for the given agent
-
and
-
or
-
negate
-