21 lines
290 B
Plaintext
21 lines
290 B
Plaintext
#ifndef _SOL_H_
|
|
#define _SOL_H_
|
|
|
|
#include <vector>
|
|
#include "Problem"
|
|
|
|
namespace S
|
|
{
|
|
class Solution
|
|
{
|
|
public:
|
|
Solution(std::vector<bool> solution);
|
|
int size();
|
|
bool operator[] (int pos);
|
|
operator std::vector<bool>();
|
|
protected:
|
|
std::vector<bool> solution;
|
|
};
|
|
}
|
|
|
|
#endif |