@Override public boolean evaluate(Instance inst, boolean result) { boolean thisNode = m_operator.evaluate( inst, m_lhsAttIndex, m_rhsOperand, m_numericOperand, m_regexPattern, m_rhsIsAttribute, m_rhsAttIndex); if (isNegated()) { thisNode = !thisNode; } return (isOr() ? (result || thisNode) : (result && thisNode)); }