use of org.btrplace.btrpsl.element.BtrpOperand in project scheduler by btrplace.
the class PowerOperator method go.
@Override
public BtrpOperand go(BtrPlaceTree parent) {
BtrpOperand l = getChild(0).go(this);
BtrpOperand r = getChild(1).go(this);
return l.power(r);
}
use of org.btrplace.btrpsl.element.BtrpOperand in project scheduler by btrplace.
the class RemainderOperator method go.
@Override
public BtrpOperand go(BtrPlaceTree parent) {
BtrpOperand l = getChild(0).go(this);
if (l == IgnorableOperand.getInstance()) {
return l;
}
BtrpOperand r = getChild(1).go(this);
if (r == IgnorableOperand.getInstance()) {
return r;
}
return l.remainder(r);
}
Aggregations