Exemplo n.º 1
0
    private ChaosSettings generateSample()
    {
        ChaosSettings currentJobSettings = new(pMode, _commonVars.getListOfSettings(), _commonVars.getSimulationSettings());

        if (paSearch)
        {
            _commonVars.getPASearch().modifyJobSettings(ref currentJobSettings);
        }

        // Massage our CDUTVar if the simulation settings call for the variation to be linked (default)
        // Tie up the tip variation values as well.
        if (_commonVars.getSimulationSettings().getValue(EntropySettings.properties_i.linkCDU) != 1)
        {
            return(currentJobSettings);
        }

        currentJobSettings.setValues(ChaosSettings.properties.CDUTVar, currentJobSettings.getValues(ChaosSettings.properties.CDUSVar));
        currentJobSettings.setValues(ChaosSettings.properties.hTipBiasVar, currentJobSettings.getValues(ChaosSettings.properties.vTipBiasVar));
        currentJobSettings.setValues(ChaosSettings.properties.hTipBiasType, currentJobSettings.getValues(ChaosSettings.properties.vTipBiasType));

        return(currentJobSettings);
    }