Tim Quatmann
4 years ago
6 changed files with 23 additions and 23 deletions
-
12src/storm-parsers/parser/FormulaParserGrammar.cpp
-
6src/storm-parsers/parser/FormulaParserGrammar.h
-
4src/storm/logic/GameFormula.cpp
-
8src/storm/logic/GameFormula.h
-
6src/storm/logic/PlayerCoalition.cpp
-
10src/storm/logic/PlayerCoalition.h
@ -1,13 +1,13 @@ |
|||||
#include "storm/logic/Coalition.h"
|
|
||||
|
#include "storm/logic/PlayerCoalition.h"
|
||||
|
|
||||
namespace storm { |
namespace storm { |
||||
namespace logic { |
namespace logic { |
||||
|
|
||||
Coalition::Coalition(std::vector<boost::variant<std::string, storm::storage::PlayerIndex>> playerIds) : _playerIds(playerIds) { |
|
||||
|
PlayerCoalition::PlayerCoalition(std::vector<boost::variant<std::string, storm::storage::PlayerIndex>> playerIds) : _playerIds(playerIds) { |
||||
// Intentionally left empty.
|
// Intentionally left empty.
|
||||
} |
} |
||||
|
|
||||
std::ostream& operator<<(std::ostream& stream, Coalition const& coalition) { |
|
||||
|
std::ostream& operator<<(std::ostream& stream, PlayerCoalition const& coalition) { |
||||
bool firstItem = true; |
bool firstItem = true; |
||||
for (auto const& id : coalition._playerIds) { |
for (auto const& id : coalition._playerIds) { |
||||
if (firstItem) { firstItem = false; } else { stream << ","; } |
if (firstItem) { firstItem = false; } else { stream << ","; } |
Write
Preview
Loading…
Cancel
Save
Reference in new issue