public class ModelRisk
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Class and Description |
---|---|
static class |
ModelRisk.RiskModelForAttributes
A enum for statistical models underlying attribute analyses
|
static class |
ModelRisk.ViewRiskType
A enum for views
|
Constructor and Description |
---|
ModelRisk()
Creates a new instance
|
Modifier and Type | Method and Description |
---|---|
int |
getMaxQiSize() |
ARXPopulationModel |
getPopulationModel()
Returns the backing model
|
double |
getPopulationSize() |
ARXPopulationModel.Region |
getRegion()
Returns the region
|
ModelRisk.RiskModelForAttributes |
getRiskModelForAttributes()
Returns the risk model used for attribute analyses
|
double |
getRiskThresholdHighestRisk()
Returns a threshold
|
double |
getRiskThresholdRecordsAtRisk()
Returns a threshold
|
double |
getRiskThresholdSuccessRate()
Returns a threshold
|
ARXSolverConfiguration |
getSolverConfiguration()
Returns the solver configuration
|
boolean |
isModified()
Is this model modified
|
boolean |
isViewEnabledForInput(ModelRisk.ViewRiskType view)
Returns whether a view is enabled
|
boolean |
isViewEnabledForOutput(ModelRisk.ViewRiskType view)
Returns whether a view is enabled
|
void |
setMaxQiSize(int maxQiSize) |
void |
setPopulationSize(long populationSize)
Sets the population size
|
void |
setRegion(ARXPopulationModel.Region region)
Sets the region
|
void |
setRiskModelForAttributes(ModelRisk.RiskModelForAttributes model)
Sets the risk model used for attribute analyses
|
void |
setRiskThresholdHighestRisk(double threshold)
Sets a threshold
|
void |
setRiskThresholdRecordsAtRisk(double threshold)
Sets a threshold
|
void |
setRiskThresholdSuccessRate(double threshold)
Sets a threshold
|
void |
setUnmodified()
Set unmodified
|
void |
setViewEnabledForInput(ModelRisk.ViewRiskType view,
boolean value)
Allows to enable/disable views
|
void |
setViewEnabledForOutput(ModelRisk.ViewRiskType view,
boolean value)
Allows to enable/disable views
|
public int getMaxQiSize()
public ARXPopulationModel getPopulationModel()
public double getPopulationSize()
handle
- ARXPopulationModel.getPopulationSize()
public ARXPopulationModel.Region getRegion()
public ModelRisk.RiskModelForAttributes getRiskModelForAttributes()
public double getRiskThresholdHighestRisk()
public double getRiskThresholdRecordsAtRisk()
public double getRiskThresholdSuccessRate()
public ARXSolverConfiguration getSolverConfiguration()
public boolean isModified()
public boolean isViewEnabledForInput(ModelRisk.ViewRiskType view)
view
- public boolean isViewEnabledForOutput(ModelRisk.ViewRiskType view)
view
- public void setMaxQiSize(int maxQiSize)
maxQiSize
- the maxQiSize to setpublic void setPopulationSize(long populationSize)
populationSize
- public void setRegion(ARXPopulationModel.Region region)
region
- public void setRiskModelForAttributes(ModelRisk.RiskModelForAttributes model)
model
- public void setRiskThresholdHighestRisk(double threshold)
threshold
- public void setRiskThresholdRecordsAtRisk(double threshold)
threshold
- public void setRiskThresholdSuccessRate(double threshold)
threshold
- public void setUnmodified()
public void setViewEnabledForInput(ModelRisk.ViewRiskType view, boolean value)
view
- value
- public void setViewEnabledForOutput(ModelRisk.ViewRiskType view, boolean value)
view
- value
-