All Downloads are FREE. Search and download functionalities are using the official Maven repository.

ExprParser.ExprTreeNot Maven / Gradle / Ivy

Go to download

This project implements Affine Arithmetic Decision Diagrams (AADD) in Java. AADD permit in particular the symbolic execution of Java codes.

The newest version!
package ExprParser;

/**
 * Predefined functions: not
 */
class ExprTreeNot extends ExprTreeFunction {
    ExprTreeNot() { super(jAADD.AADDMgr.BOOL, "not", new ExprTree("x", jAADD.AADDMgr.BOOL)); }
    void evalThis() throws ExprError {
        if (param.size() != 1) throw new ExprError("not expects 1 parameter");
        result = getBDDParam(0).negate();
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy