Skip to content

Commit c829a6c

Browse files
committed
Remove unused function
1 parent 5be1c6b commit c829a6c

2 files changed

Lines changed: 0 additions & 13 deletions

File tree

src/games/behavspt.cc

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -94,17 +94,6 @@ bool BehaviorSupportProfile::RemoveAction(const GameAction &p_action)
9494
return false;
9595
}
9696

97-
std::list<GameInfoset> BehaviorSupportProfile::GetInfosets(const GamePlayer &p_player) const
98-
{
99-
std::list<GameInfoset> answer;
100-
for (const auto &infoset : p_player->GetInfosets()) {
101-
if (m_infosetReachable.at(infoset)) {
102-
answer.push_back(infoset);
103-
}
104-
}
105-
return answer;
106-
}
107-
10897
bool BehaviorSupportProfile::HasReachableMembers(const GameInfoset &p_infoset) const
10998
{
11099
const auto &members = p_infoset->GetMembers();

src/games/behavspt.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -130,8 +130,6 @@ class BehaviorSupportProfile {
130130
//@{
131131
/// Can the information set be reached under this support?
132132
bool IsReachable(const GameInfoset &p_infoset) const { return m_infosetReachable.at(p_infoset); }
133-
/// Get the information sets for the player reachable under the support
134-
std::list<GameInfoset> GetInfosets(const GamePlayer &) const;
135133
/// Get the members of the information set reachable under the support
136134
std::list<GameNode> GetMembers(const GameInfoset &) const;
137135
//@}

0 commit comments

Comments
 (0)