-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Restrict imperative Substitutions to AND/OR/NULL
Non-declarative substitutions have to be implemented with set operations at post-processing. Complex Boolean formulas would require more expensive solutions (i.e., solving the general satisfiability). The declarative substitutions, in contrast, can simply use implication operator at pre-processing, so there's no need to restrict formulas for the declarative approaches. Issue #154
- Loading branch information
Showing
3 changed files
with
38 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<?xml version="1.0"?> | ||
<opsa-mef> | ||
<define-substitution name="S"> | ||
<hypothesis> | ||
<atleast min="2"> | ||
<event name="A"/> | ||
<event name="B"/> | ||
<event name="C"/> | ||
</atleast> | ||
</hypothesis> | ||
<source> | ||
<basic-event name="C"/> | ||
</source> | ||
<target> | ||
<basic-event name="D"/> | ||
</target> | ||
</define-substitution> | ||
<model-data> | ||
<define-basic-event name="A"/> | ||
<define-basic-event name="B"/> | ||
<define-basic-event name="C"/> | ||
<define-basic-event name="D"/> | ||
</model-data> | ||
</opsa-mef> |