| Modifier and Type | Class and Description |
|---|---|
static class |
CalculationResult.Field
This is set of fields for input/output to XML and JSON format
|
| Modifier and Type | Method and Description |
|---|---|
protected static CalculationResult |
getCalculationResult(DataSet dataset,
Node node)
Gets a CalculationResult that reflects the status of the underlying logic structure at resolution time.
|
double |
getConfidenceInterval()
Gets confidence interval value for this result
|
DataSet |
getDataSet()
Returns the DataSet to which the CalculationResult belongs to.
|
double |
getEntropy()
Gets entropy error value for this result
|
uk.co.agena.minerva.model.MarginalDataItem |
getLogicCalculationResult()
Deprecated.
Will be affected by module architecture in the future and should not be used.
|
double |
getLowerPercentile()
Gets lower percentile value for this result.
|
double |
getMean()
Gets mean value for this result.
|
double |
getMedian()
Gets median value for this result.
|
Node |
getNode()
Returns the CalculationResult's Node.
|
double |
getPercentile()
Gets percentile value for this result.
|
ResultValue |
getResultValue(String label)
Returns a specific ResultValue by its label or null.
|
List<ResultValue> |
getResultValues()
Returns the Result Values that make up CalculationResult for this Node.
|
double |
getStandardDeviation()
Gets standard deviation value for this result.
|
double |
getUpperPercentile()
Gets upper percentile value for this result.
|
double |
getVariance()
Gets variance value for this result.
|
boolean |
isContinuous()
Returns if the calculation result is for a continuous variable.
|
protected static void |
loadCalculationResult(DataSet dataSet,
org.json.JSONObject jsonResult)
Loads CalculationResult data from JSON into the underlying logic structure.
|
org.json.JSONObject |
toJson()
Returns a JSON representation of this object.
|
String |
toString()
Returns a String value of the JSON representation of this object.
|
String |
toString(int indentFactor)
Returns a String value of the JSON representation of this object.
|
protected static void loadCalculationResult(DataSet dataSet, org.json.JSONObject jsonResult) throws DataSetException
dataSet - DataSet to create the CalculationResult injsonResult - JSONObject containing data for this CalculationResultDataSetException - if JSON contains invalid dataprotected static CalculationResult getCalculationResult(DataSet dataset, Node node)
dataset - DataSet to which the CalculationResult belongs tonode - Node that the CalculationResult is associated withpublic DataSet getDataSet()
public Node getNode()
public List<ResultValue> getResultValues()
public ResultValue getResultValue(String label)
label - label of the Result Value to loop uppublic double getConfidenceInterval()
public double getEntropy()
public double getVariance()
public double getStandardDeviation()
public double getMean()
public double getMedian()
public double getPercentile()
public double getLowerPercentile()
public double getUpperPercentile()
public boolean isContinuous()
public org.json.JSONObject toJson()
public String toString()
public String toString(int indentFactor)
indentFactor - Larger number indicates the depth to which new lines and tabs should be used to indent the JSON stringpublic uk.co.agena.minerva.model.MarginalDataItem getLogicCalculationResult()
Copyright © 2020. All rights reserved.