Skip to content

Commit

Permalink
Merge pull request #1469 from jumormt/master
Browse files Browse the repository at this point in the history
add methods: getWTOComponents
  • Loading branch information
yuleisui committed May 27, 2024
2 parents 857b8c1 + 8ad28af commit 12a92c4
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion svf/include/Graphs/WTO.h
Original file line number Diff line number Diff line change
Expand Up @@ -414,6 +414,11 @@ template <typename GraphT> class WTOCycle final : public WTOComponent<GraphT>
return _head;
}

/// Get all wto components in WTO cycle
const WTOComponentRefList& getWTOComponents() const {
return _components;
}

/// Begin iterator over the components
Iterator begin() const
{
Expand Down Expand Up @@ -579,7 +584,11 @@ template <typename GraphT> class WTO
}
}

/// Begin iterator over the components
/// Get all wto components in WTO
const WTOComponentRefList& getWTOComponents() const {
return _components;
}

/// Begin iterator over the components
Iterator begin() const
{
Expand Down

0 comments on commit 12a92c4

Please sign in to comment.