26 using bitset_t = std::bitset<8>;
27 using action_t = std::function<int(int, char **)>;
29 node_t(action_t
const & action = {}, bitset_t
const & bitset = {})
30 : action_(action), bitset_(bitset) {}
32 bool initialize(
node_t const & node) {
33 action_ = node.action_;
34 bitset_ = node.bitset_;
38 action_t
const & action()
const {
46 bitset_t
const & bitset()
const {
55 action_t action_ = {};
62 stream <<
"bitset: " << node.bitset() << std::endl;
63 stream <<
"action: " << &node.action() << std::endl;
std::ostream & operator<<(std::ostream &ostr, const filling_curve< D, T, DER > &k)
output for filling_curve using output_ function defined in the class
Definition: filling_curve.hh:206
Definition: default_node.hh:20