/src/main/java/net/finmath/montecarlo/automaticdifferentiation/backward/RandomVariableDifferentiableAAD.java
private  short typePriority;
private final int typePriority;
import net.finmath.stochastic.RandomVariable; import net.finmath.stochastic.Scalar; public class RandomVariableDifferentiableAAD implements RandomVariableDifferentiable { private static final long serialVersionUID = 2459373647785530657L; private static final int typePriorityDefault = 3; private static final RandomVariable one = new Scalar(1.0); <extra_id_0> private static AtomicLong indexOfNextRandomVariable = new AtomicLong(0); private enum OperatorType { ADD, MULT, DIV, SUB, SQUARED, SQRT, LOG, SIN, COS, EXP, INVERT, CAP, FLOOR, ABS, ADDPRODUCT, ADDRATIO, SUBRATIO, CHOOSE, DISCOUNT, ACCRUE, POW, MIN, MAX, AVERAGE, VARIANCE, STDEV, STDERROR, SVARIANCE, AVERAGE2, VARIANCE2, STDEV2, STDERROR2, CONDITIONAL_EXPECTATION