public class UncertaintyNode
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
java.lang.String |
abs_rel |
double |
confidence_level |
java.lang.Boolean |
is_spectrum |
java.lang.String |
node_description |
java.lang.String |
node_type |
float[] |
u_vector |
java.lang.String |
uncertainty_node_description |
int |
uncertainty_node_id |
int |
unit_id |
Constructor and Description |
---|
UncertaintyNode() |
Modifier and Type | Method and Description |
---|---|
void |
add_uncertainty_source_by_id(int input_source_id,
java.lang.String input_source_link_description)
Set the id and the edge value (source_link_description) of a linked uncertainty source
|
java.lang.String |
getAbsRel()
Get whether the node's uncertainty is absolute or relative.
|
double |
getConfidenceLevel()
Get the instrument node confidence level % from 0 to 1.
|
java.lang.Boolean |
getIsSpectrum()
Return boolean about whether uncertainty node is of type spectrum
|
java.lang.String |
getNodeDescription()
Get the uncertainty node description.
|
java.lang.String |
getNodeType()
Get the uncertainty node node_type.
|
java.lang.String |
getUncertaintyNodeDescription()
Get the uncertainty node description
|
int |
getUncertaintyNodeId()
Get the uncertainty node id
|
java.util.ArrayList<UncertaintySourcePair> |
getUncertaintySourcePairs()
Getting uncertainty source pairs
|
float[] |
getUncertaintyVector()
Get the instrument node uncertainty vector
|
int |
getUnitId()
Get the uncertainty node unit id.
|
void |
setAbsRel(java.lang.String abs_rel)
Set whether the node's uncertainty is absolute or relative.
|
void |
setConfidenceLevel(double confidence_level)
Set the instrument node confidence level % from 0 to 1.
|
void |
setIsSpectrum(java.lang.Boolean is_spectrum)
Set the boolean is_spectrum
|
void |
setNodeDescription(java.lang.String node_description)
Set the uncertainty node description.
|
void |
setNodeType(java.lang.String node_type)
Set the uncertainty node node_type
|
void |
setUncertaintyNodeDescription(java.lang.String uncertainty_node_description)
Set the uncertainty node description
|
void |
setUncertaintyNodeId(int uncertainty_node_id)
Set the uncertainty node id
|
void |
setUncertaintySourcePairs(java.util.ArrayList<UncertaintySourcePair> uncertainty_source_pairs)
Set the arraylist of type UncertaintySourcePair which is a set of source ids and source descriptions
|
void |
setUncertaintyVector(double[] u_vector_input)
Set the instrument node uncertainty vector (fast method).
|
void |
setUncertaintyVector(float[] u_vector_input)
Set the instrument node uncertainty vector (fast method).
|
void |
setUnitId(int unit_id)
Set the uncertainty node unit id.
|
public int uncertainty_node_id
public java.lang.String node_type
public float[] u_vector
public double confidence_level
public java.lang.String abs_rel
public int unit_id
public java.lang.String node_description
public java.lang.Boolean is_spectrum
public java.lang.String uncertainty_node_description
public int getUncertaintyNodeId()
public void setUncertaintyNodeId(int uncertainty_node_id)
uncertainty_node_id
- public java.lang.String getNodeType()
public void setNodeType(java.lang.String node_type)
node_type
- a either 'spectrum' or 'instrument'public float[] getUncertaintyVector()
public void setUncertaintyVector(double[] u_vector_input)
u_vector_input
- public void setUncertaintyVector(float[] u_vector_input)
u_vector_input
- public double getConfidenceLevel()
public void setConfidenceLevel(double confidence_level)
confidence_level
- Percentage from 0 to 1public java.lang.String getAbsRel()
public void setAbsRel(java.lang.String abs_rel)
abs_rel
- absolute or relative uncertaintypublic int getUnitId()
public void setUnitId(int unit_id)
unit_id
- the uncertainty node's unit idpublic java.lang.String getNodeDescription()
public void setNodeDescription(java.lang.String node_description)
node_description
- what the uncertainty node describespublic java.lang.Boolean getIsSpectrum()
public void setIsSpectrum(java.lang.Boolean is_spectrum)
is_spectrum
- a booleanpublic java.lang.String getUncertaintyNodeDescription()
public void setUncertaintyNodeDescription(java.lang.String uncertainty_node_description)
uncertainty_node_description
- the uncertainty node descriptionpublic void setUncertaintySourcePairs(java.util.ArrayList<UncertaintySourcePair> uncertainty_source_pairs)
uncertainty_source_pairs
- an arraylist of type UncertaintySourcePairpublic java.util.ArrayList<UncertaintySourcePair> getUncertaintySourcePairs()
public void add_uncertainty_source_by_id(int input_source_id, java.lang.String input_source_link_description)
input_source_id
- the uncertainty node id of the linked nodeinput_source_link_description
- the description of how this source links to the current node