public abstract class AbstractSensitivityAnalysis extends Object implements SensitivityAnalysis
Constructor and Description |
---|
AbstractSensitivityAnalysis() |
Modifier and Type | Method and Description |
---|---|
protected void |
checkAllFactorContinuous(List<Factor> factors)
Test que tous les facteurs sont continues.
|
protected void |
checkAllUniformDistribution(List<Factor> factors)
Test que tous les facteurs sont continues.
|
protected void |
closeEngine(org.nuiton.j2r.REngine engine,
File outputDirectory)
Save RData file and close Rengine.
|
protected String |
createImportInstruction(SensitivityExport export,
List<SimulationStorage> simulationStorages)
Cree l'instruction R qui permet de relire le contenu d'un fichier genere
par un Export Isis.
|
protected String |
editRInstruction(String rCall)
Affiche une boite de dialogue modale permettant de modifier l'expression
R.
|
protected double |
getBound(Factor factor,
boolean min)
Get factor domain bound depending on distribution.
|
protected String |
getIsisFactorDistribution(List<Factor> factors) |
protected double |
getMaxBound(Factor factor)
Get factor domain max bound depending on distribution.
|
protected double |
getMinBound(Factor factor)
Get factor domain min bound depending on distribution.
|
protected org.nuiton.j2r.REngine |
openEngine(File outputDirectory)
Open R engine and load RData file.
|
void |
setIsisFactorsR(DesignPlan plan,
File outputdirectory)
Method to create the isis.factors dataframe in R.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
analyzeResult, canManageCardinality, compute, getDescription
public void setIsisFactorsR(DesignPlan plan, File outputdirectory) throws SensitivityException
plan
- Design plan of the sensitivity analysisoutputdirectory
- the directory on which we will calculate the destination RData
file. The RData file will be named directory.RData and saved
in the directory parent.SensitivityException
- if an error occur while talking to Rprotected org.nuiton.j2r.REngine openEngine(File outputDirectory) throws org.nuiton.j2r.RException
outputDirectory
- save directoryorg.nuiton.j2r.RException
protected void closeEngine(org.nuiton.j2r.REngine engine, File outputDirectory) throws org.nuiton.j2r.RException
engine
- r engineoutputDirectory
- save directoryorg.nuiton.j2r.RException
protected String editRInstruction(String rCall)
rCall
- r instruction to editprotected void checkAllFactorContinuous(List<Factor> factors) throws SensitivityException
factors
- factor list to checkSensitivityException
protected void checkAllUniformDistribution(List<Factor> factors) throws SensitivityException
factors
- factor list to checkSensitivityException
protected String createImportInstruction(SensitivityExport export, List<SimulationStorage> simulationStorages)
export
- export to get filename to readsimulationStorages
- simulation list to read exportprotected double getMinBound(Factor factor)
protected double getMaxBound(Factor factor)
protected double getBound(Factor factor, boolean min)
min
- min or maxCopyright © 1999–2020 CodeLutin. All rights reserved.