28 ArrayXb res = (x1 != x2).select(ArrayXb::Ones(x1.size()), ArrayXb::Zero(x1.size()));
30 state.
push<
bool>(res);
43 state.
push<
bool>(
"XOR(" + state.
popStr<
bool>() +
","
44 + state.
popStr<
bool>() +
")");
data holding X, y, and Z data
void evaluate(const Data &data, State &state)
Evaluates the node and updates the state states.
NodeXor * rnd_clone_impl() const override
void eval_eqn(State &state)
Evaluates the node symbolically.
NodeXor * clone_impl() const override
std::map< char, unsigned int > arity
arity of the operator
int complexity
complexity of node
Eigen::Array< bool, Eigen::Dynamic, 1 > ArrayXb
void GPU_Xor(bool *x, size_t idx, size_t N)
contains various types of State actually used by feat
Eigen::Array< T, Eigen::Dynamic, 1 > pop()
void push(Eigen::Array< T, Eigen::Dynamic, 1 > value)