You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
790 B
26 lines
790 B
#pragma once
|
|
|
|
#include <vector>
|
|
#include <string>
|
|
|
|
#include <boost/variant.hpp>
|
|
#include "storm/storage/PlayerIndex.h"
|
|
|
|
namespace storm {
|
|
namespace logic {
|
|
|
|
class PlayerCoalition {
|
|
public:
|
|
PlayerCoalition() = default;
|
|
PlayerCoalition(std::vector<boost::variant<std::string, storm::storage::PlayerIndex>> playerIds);
|
|
PlayerCoalition(PlayerCoalition const& other) = default;
|
|
|
|
std::vector<boost::variant<std::string, storm::storage::PlayerIndex>> const& getPlayers() const;
|
|
|
|
friend std::ostream& operator<<(std::ostream& stream, PlayerCoalition const& playerCoalition);
|
|
|
|
private:
|
|
std::vector<boost::variant<std::string, storm::storage::PlayerIndex>> _playerIds;
|
|
};
|
|
}
|
|
}
|