@Override public VectorizablePerturber clone() { final VectorizablePerturber result = (VectorizablePerturber) super.clone(); result.covarianceSqrt = ObjectUtil.cloneSafe(this.covarianceSqrt); return result; }
/** * Creates a new instance of AbstractRandomized with the given Random * object. * * @param random The random number generator to use. */ public AbstractRandomized( final Random random) { super(); this.setRandom(random); }
/** * Creates a new instance of AbstractRandomized with the given Random * object. * * @param random The random number generator to use. */ public AbstractRandomized( final Random random) { super(); this.setRandom(random); }
@SuppressWarnings("unchecked") @Override public RandomClusterInitializer<ClusterType, DataType> clone() { RandomClusterInitializer<ClusterType, DataType> clone = (RandomClusterInitializer<ClusterType, DataType>) super.clone(); clone.creator = ObjectUtil.cloneSmart(this.creator); return clone; }
/** * Creates a new instance of AbstractRandomized with the given Random * object. * * @param random The random number generator to use. */ public AbstractRandomized( final Random random) { super(); this.setRandom(random); }
@SuppressWarnings("unchecked") @Override public RandomClusterInitializer<ClusterType, DataType> clone() { RandomClusterInitializer<ClusterType, DataType> clone = (RandomClusterInitializer<ClusterType, DataType>) super.clone(); clone.creator = ObjectUtil.cloneSmart(this.creator); return clone; }
@Override public VectorizablePerturber clone() { final VectorizablePerturber result = (VectorizablePerturber) super.clone(); result.covarianceSqrt = ObjectUtil.cloneSafe(this.covarianceSqrt); return result; }
@SuppressWarnings("unchecked") @Override public RandomClusterInitializer<ClusterType, DataType> clone() { RandomClusterInitializer<ClusterType, DataType> clone = (RandomClusterInitializer<ClusterType, DataType>) super.clone(); clone.creator = ObjectUtil.cloneSmart(this.creator); return clone; }
@Override public VectorizablePerturber clone() { final VectorizablePerturber result = (VectorizablePerturber) super.clone(); result.covarianceSqrt = ObjectUtil.cloneSafe(this.covarianceSqrt); return result; }
@Override public RandomSubVectorThresholdLearner<OutputType> clone() { @SuppressWarnings("unchecked") final RandomSubVectorThresholdLearner<OutputType> result = (RandomSubVectorThresholdLearner<OutputType>) super.clone(); result.subLearner = ObjectUtil.cloneSmart(this.subLearner); result.dimensionsToConsider = ArrayUtil.copy(this.dimensionsToConsider); return result; }
@Override public RandomSubVectorThresholdLearner<OutputType> clone() { @SuppressWarnings("unchecked") final RandomSubVectorThresholdLearner<OutputType> result = (RandomSubVectorThresholdLearner<OutputType>) super.clone(); result.subLearner = ObjectUtil.cloneSmart(this.subLearner); result.dimensionsToConsider = ArrayUtil.copy(this.dimensionsToConsider); return result; }
@Override public RandomSubVectorThresholdLearner<OutputType> clone() { @SuppressWarnings("unchecked") final RandomSubVectorThresholdLearner<OutputType> result = (RandomSubVectorThresholdLearner<OutputType>) super.clone(); result.subLearner = ObjectUtil.cloneSmart(this.subLearner); result.dimensionsToConsider = ArrayUtil.copy(this.dimensionsToConsider); return result; }
@Override public RejectionSampling<ObservationType,ParameterType> clone() { @SuppressWarnings("unchecked") RejectionSampling<ObservationType,ParameterType> clone = (RejectionSampling<ObservationType,ParameterType>) super.clone(); clone.setUpdater( ObjectUtil.cloneSafe( this.getUpdater() ) ); return clone; }
@Override public ImportanceSampling<ObservationType,ParameterType> clone() { @SuppressWarnings("unchecked") ImportanceSampling<ObservationType,ParameterType> clone = (ImportanceSampling<ObservationType,ParameterType>) super.clone(); clone.setUpdater( ObjectUtil.cloneSafe( this.getUpdater() ) ); return clone; }
@Override public ImportanceSampling<ObservationType,ParameterType> clone() { @SuppressWarnings("unchecked") ImportanceSampling<ObservationType,ParameterType> clone = (ImportanceSampling<ObservationType,ParameterType>) super.clone(); clone.setUpdater( ObjectUtil.cloneSafe( this.getUpdater() ) ); return clone; }
@Override public RejectionSampling<ObservationType,ParameterType> clone() { @SuppressWarnings("unchecked") RejectionSampling<ObservationType,ParameterType> clone = (RejectionSampling<ObservationType,ParameterType>) super.clone(); clone.setUpdater( ObjectUtil.cloneSafe( this.getUpdater() ) ); return clone; }
@Override public RejectionSampling<ObservationType,ParameterType> clone() { @SuppressWarnings("unchecked") RejectionSampling<ObservationType,ParameterType> clone = (RejectionSampling<ObservationType,ParameterType>) super.clone(); clone.setUpdater( ObjectUtil.cloneSafe( this.getUpdater() ) ); return clone; }