/src/main/java/net/finmath/montecarlo/automaticdifferentiation/backward/alternative/RandomVariableDifferentiableAADStochasticNonOptimized.java
Arrays.asList( this, valueIfTriggerNegative) , OperatorType.BARRIER) ;
Arrays.asList ( this, valueIfTriggerNonNegative, valueIfTriggerNegative ) , OperatorType.BARRIER ) ;
OperatorType.DISCOUNT); } @Override public RandomVariable choose(final RandomVariable valueIfTriggerNonNegative, final RandomVariable valueIfTriggerNegative) { return new RandomVariableDifferentiableAADStochasticNonOptimized( getValues().choose(valueIfTriggerNonNegative.getValues(), valueIfTriggerNegative.getValues()), <extra_id_0> } @Override public RandomVariable invert() { return new RandomVariableDifferentiableAADStochasticNonOptimized( getValues().invert(), Arrays.asList(new RandomVariable[]{ this }),