Skip to content

Commit

Permalink
Merging nested loops: removed code duplication
Browse files Browse the repository at this point in the history
  • Loading branch information
BritikovKI committed Sep 17, 2024
1 parent 9bb7a8f commit 150be41
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/TransformationUtils.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,6 @@ std::unique_ptr<SystemType> systemTypeFrom(vec<PTRef> const & stateVars, vec<PTR
PTRef transitionFormulaInSystemType(SystemType const & systemType, EdgeVariables const & edgeVariables, PTRef edgeLabel,
Logic & logic);

std::vector<EId> detectLoop(const ChcDirectedGraph & graph);

#endif // OPENSMT_TRANSFORMATIONUTILS_H
1 change: 0 additions & 1 deletion src/transformers/NestedLoopTransformation.h
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@ class NestedLoopTransformation:LoopTransformation {
std::unordered_set<PTRef, PTRefHash> getVarsForVertex(SymRef vertex) const;
};

static std::vector<EId> detectLoop(ChcDirectedGraph const & graph);
static SymRef simplifyLoop(ChcDirectedGraph & graph, std::vector<EId> loop, LocationVarMap & locationVars,
PositionVarMap & argVars);

Expand Down

0 comments on commit 150be41

Please sign in to comment.