/src/main/java/net/finmath/montecarlo/automaticdifferentiation/backward/alternative/RandomVariableAAD.java
this.parentIndices = parentIndices;this.parentOperator = parentOperator;
this.parentOperator = parentOperator;
private RandomVariableAAD(final int ownIndexInList, final RandomVariable ownRandomVariable, final int[] parentIndices, final OperatorType parentOperator, final ArrayList<Integer> childrenIndices ,final boolean isConstant) { super(); this.ownIndexInList = ownIndexInList; this.ownRandomVariable = ownRandomVariable; this.parentIndices = parentIndices; <extra_id_0> this.childrenIndices = childrenIndices; this.isConstant = isConstant; } public static RandomVariableAAD constructNewAADRandomVariable(final RandomVariable randomVariable, final int[] parentIndices, final OperatorType parentOperator, final ArrayList<Integer> childrenIndices, final boolean isConstant){ if(!arrayListOfAllAADRandomVariables.isEmpty()){