init
This commit is contained in:
21
src/Solution
Normal file
21
src/Solution
Normal file
@@ -0,0 +1,21 @@
|
||||
#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
|
||||
Reference in New Issue
Block a user