-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
intermediate backup commit, towards #143
- Loading branch information
1 parent
9700056
commit 933d020
Showing
7 changed files
with
212 additions
and
106 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
47 changes: 47 additions & 0 deletions
47
...burg/informatik/ultimate/plugins/generator/treeautomizer/graph/CandidateRuleProvider.java
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,47 @@ | ||
package de.uni_freiburg.informatik.ultimate.plugins.generator.treeautomizer.graph; | ||
|
||
import java.util.ArrayList; | ||
import java.util.List; | ||
import java.util.Map; | ||
|
||
import de.uni_freiburg.informatik.ultimate.automata.tree.ITreeRun; | ||
import de.uni_freiburg.informatik.ultimate.automata.tree.TreeAutomatonRule; | ||
import de.uni_freiburg.informatik.ultimate.modelcheckerutils.hornutil.HornClause; | ||
import de.uni_freiburg.informatik.ultimate.modelcheckerutils.smt.predicates.IPredicate; | ||
|
||
/** | ||
* Provides rules that might be added to an interpolant automaton during the generalization phase. | ||
* | ||
* | ||
* @author Alexander Nutz (nutz@informatik.uni-freiburg.de) | ||
* | ||
*/ | ||
public class CandidateRuleProvider { | ||
|
||
|
||
|
||
private Iterable<TreeAutomatonRule<HornClause, IPredicate>> mCandidateRules; | ||
|
||
/** | ||
* Triggers computation of candidate rules. | ||
* Result can be obtained via getter method. | ||
* | ||
* @param originalTreeRun | ||
* @param hcSymbolsToInterpolants | ||
* @param alphabet | ||
*/ | ||
public CandidateRuleProvider(ITreeRun<HornClause, IPredicate> originalTreeRun, | ||
Map<IPredicate, IPredicate> hcSymbolsToInterpolants, List<HornClause> alphabet) { | ||
mCandidateRules = new ArrayList<>(); | ||
|
||
for (HornClause letter : alphabet) { | ||
|
||
|
||
} | ||
|
||
} | ||
|
||
public Iterable<TreeAutomatonRule<HornClause, IPredicate>> getCandidateRules() { | ||
return mCandidateRules; | ||
} | ||
} |
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
Oops, something went wrong.