public class SpectralSet
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
java.lang.String |
abs_rel |
AdjacencyMatrix |
adjacency_matrix |
double |
confidence_level |
int |
instrument_node_id |
java.lang.String |
node_description |
java.util.ArrayList<java.lang.Integer> |
node_nums |
int |
node_set_id |
java.lang.String |
node_type |
java.lang.String |
source_link_description |
java.util.ArrayList<java.lang.Integer> |
spectrum_ids |
java.lang.String |
spectrum_set_description |
int |
spectrum_set_id |
int |
spectrum_subset_id |
java.util.ArrayList<java.lang.Integer> |
spectrum_subset_ids |
java.lang.Float[] |
u_vector |
java.lang.Float[][] |
u_vectors |
java.lang.String |
uncertainty_node_description |
java.util.ArrayList<java.lang.String> |
uncertainty_node_descriptions |
int |
uncertainty_node_id |
java.util.ArrayList<java.lang.Integer> |
uncertainty_node_ids |
java.lang.String |
uncertainty_set_description |
int |
uncertainty_set_id |
int |
uncertainty_source_id |
java.util.ArrayList<java.lang.Integer> |
uncertainty_source_ids |
java.util.ArrayList<UncertaintySourcePair> |
uncertainty_source_pairs |
int |
unit_id |
Constructor and Description |
---|
SpectralSet() |
Modifier and Type | Method and Description |
---|---|
void |
add_uncertainty_source_by_id(int input_source_id)
Set the id of a linked uncertainty source
|
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
|
void |
add_uncertainty_source_id_only(int input_source_id)
Set the id 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.
|
int |
getInstrumentNodeId()
Get the instrument node identifier for an instrument-level node
|
java.lang.String |
getNodeDescription()
Get the uncertainty node description.
|
java.util.ArrayList<java.lang.Integer> |
getNodeNums()
Get the uncertainty node numbers for an uncertainty set
|
int |
getNodeSetId()
Get the node set id - a node set is a collection of nodes within an uncertainty set
|
java.lang.String |
getNodeType()
Get the uncertainty node node_type.
|
java.lang.String |
getSourceLinkDescription()
Get the source link description ie.
|
java.util.ArrayList<java.lang.Integer> |
getSpectrumIds()
Get the spectrum ids for a spectrum level uncertainty node
|
java.lang.String |
getSpectrumSetDescription()
Get the spectrum set description.
|
int |
getSpectrumSetId()
Get the spectrum set id
|
int |
getSpectrumSubsetId()
Get the spectrum subset id
|
java.util.ArrayList<java.lang.Integer> |
getSpectrumSubsetIds()
Get the spectrum subset ids for a spectrum level uncertainty node
|
java.lang.String |
getUncertaintyNodeDescription()
Get the uncertainty node description
|
java.util.ArrayList<java.lang.String> |
getUncertaintyNodeDescriptions()
Get uncertainty node descriptions for an uncertainty set
|
int |
getUncertaintyNodeId()
Get the uncertainty node id - this is where we standardise the instrument/spectrum nodes
|
java.util.ArrayList<java.lang.Integer> |
getUncertaintyNodeIds()
Get the uncertainty node ids for an uncertainty set
|
java.lang.String |
getUncertaintySetDescription()
Get the uncertainty set description
|
int |
getUncertaintySetId()
Get the uncertainty set id
|
int |
getUncertaintySourceId()
Get the uncertainty source id - an uncertainty node id
|
java.util.ArrayList<java.lang.Integer> |
getUncertaintySourceIds()
Getting uncertainty source ids
|
java.util.ArrayList<UncertaintySourcePair> |
getUncertaintySourcePairs()
Getting uncertainty source pairs
|
java.lang.Float[] |
getUncertaintyVector()
Get the instrument node uncertainty vector
|
java.lang.Float[][] |
getUncertaintyVectors()
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 |
setInstrumentNodeId(int instrument_node_id)
Set the instrument node identifier for an instrument-level node
|
void |
setNodeDescription(java.lang.String node_description)
Set the uncertainty node description.
|
void |
setNodeNums(java.util.ArrayList<java.lang.Integer> node_nums)
Set the uncertainty node numbers for an uncertainty set
|
void |
setNodeSetId(int node_set_id)
Set the node set id
|
void |
setNodeType(java.lang.String node_type)
Set the uncertainty node node_type
|
void |
setSpectrumIds(java.util.ArrayList<java.lang.Integer> spectrum_ids)
Set the spectrum ids for a spectrum level uncertainty node
|
void |
setSpectrumSetDescription(java.lang.String spectrum_set_description)
Set the spectrum set description
|
void |
setSpectrumSetId(int spectrum_set_id)
Set the spectrum set id
|
void |
setSpectrumSubsetId(int spectrum_subset_id)
Set the spectrum subset id
|
void |
setSpectrumSubsetIds(java.util.ArrayList<java.lang.Integer> spectrum_subset_ids)
Set the spectrum subset ids for a spectrum level uncertainty node
|
void |
setUncertaintyMatrix(double[][] u_matrix)
Set the instrument node uncertainty matrix.
|
void |
setUncertaintyNodeDescription(java.lang.String uncertainty_node_description)
Set the uncertainty node description
|
void |
setUncertaintyNodeDescriptions(java.util.ArrayList<java.lang.String> uncertainty_node_descriptions)
Set the uncertainty node descriptions for a spectral set
|
void |
setUncertaintyNodeId(int uncertainty_node_id)
Set the uncertainty node id
|
void |
setUncertaintyNodeIds(java.util.ArrayList<java.lang.Integer> uncertainty_node_ids)
Set the uncertainty node ids for an uncertainty set
|
void |
setUncertaintySetDescription(java.lang.String uncertainty_set_description)
Set the uncertainty set description
|
void |
setUncertaintySetId(int uncertainty_set_id)
Set the uncertainty set id
|
void |
setUncertaintySourceIds(java.util.ArrayList<java.lang.Integer> uncertainty_source_ids)
Set the arraylist of all uncertainty source ids
|
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.
|
void |
setUncertaintyVector(java.lang.Float[] u_vector)
Set the instrument node uncertainty vector.
|
void |
setUncertaintyVectors(java.lang.Float[][] u_vectors)
Set the instrument node uncertainty vector.
|
void |
setUnitId(int unit_id)
Set the uncertainty node unit id.
|
public int instrument_node_id
public java.lang.String node_type
public java.lang.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.util.ArrayList<java.lang.Integer> spectrum_ids
public java.lang.String spectrum_set_description
public int spectrum_set_id
public java.lang.Float[][] u_vectors
public int spectrum_subset_id
public java.util.ArrayList<java.lang.Integer> spectrum_subset_ids
public int uncertainty_source_id
public java.lang.String source_link_description
public java.util.ArrayList<UncertaintySourcePair> uncertainty_source_pairs
public java.util.ArrayList<java.lang.Integer> uncertainty_source_ids
public int uncertainty_set_id
public java.lang.String uncertainty_set_description
public int uncertainty_node_id
public int node_set_id
public java.lang.String uncertainty_node_description
public java.util.ArrayList<java.lang.Integer> uncertainty_node_ids
public java.util.ArrayList<java.lang.Integer> node_nums
public java.util.ArrayList<java.lang.String> uncertainty_node_descriptions
public AdjacencyMatrix adjacency_matrix
public int getInstrumentNodeId()
public void setInstrumentNodeId(int instrument_node_id)
the
- instrument node identifierpublic java.lang.String getNodeType()
public void setNodeType(java.lang.String node_type)
node_type
- a either 'spectrum' or 'instrument'public double getConfidenceLevel()
public void setConfidenceLevel(double confidence_level)
confidence_level
- Percentage from 0 to 1public java.lang.Float[] getUncertaintyVector()
public void setUncertaintyVector(java.lang.Float[] u_vector)
u_vector
- public void setUncertaintyMatrix(double[][] u_matrix)
u_matrix
- public void setUncertaintyVector(double[] u_vector_input)
u_vector_input
- public 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)
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.util.ArrayList<java.lang.Integer> getSpectrumIds()
spectrum_ids
- a list of spectrum idspublic void setSpectrumIds(java.util.ArrayList<java.lang.Integer> spectrum_ids)
spectrum_ids
- a list of spectrum idspublic java.lang.String getSpectrumSetDescription()
public void setSpectrumSetDescription(java.lang.String spectrum_set_description)
spectrum_set_description
- public int getSpectrumSetId()
public void setSpectrumSetId(int spectrum_set_id)
spectrum_set_id
- unique spectrum set idpublic int getUncertaintySetId()
public void setUncertaintySetId(int uncertainty_set_id)
uncertainty_set_id
- unique uncertainty set idpublic java.lang.String getUncertaintySetDescription()
public void setUncertaintySetDescription(java.lang.String uncertainty_set_description)
uncertainty_set_description
- the uncertainty set descriptionpublic int getUncertaintyNodeId()
public void setUncertaintyNodeId(int uncertainty_node_id)
uncertainty_node_id
- public int getNodeSetId()
public void setNodeSetId(int node_set_id)
node_set_id
- unique node set idpublic java.lang.Float[][] getUncertaintyVectors()
public void setUncertaintyVectors(java.lang.Float[][] u_vectors)
u_vectors
- public int getUncertaintySourceId()
public java.lang.String getSourceLinkDescription()
public void add_uncertainty_source_by_id(int input_source_id)
input_source_id
- the uncertainty node id of the linked nodepublic 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 nodepublic 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_id_only(int input_source_id)
input_source_id
- the uncertainty node id of the linked nodepublic void setUncertaintySourceIds(java.util.ArrayList<java.lang.Integer> uncertainty_source_ids)
uncertainty_source_ids
- an arraylist of integers of uncertainty source idspublic java.util.ArrayList<java.lang.Integer> getUncertaintySourceIds()
public int getSpectrumSubsetId()
public void setSpectrumSubsetId(int spectrum_subset_id)
spectrum_subset_id
- unique spectrum subset idpublic java.util.ArrayList<java.lang.Integer> getSpectrumSubsetIds()
spectrum_subset_ids
- a list of spectrum subset idspublic void setSpectrumSubsetIds(java.util.ArrayList<java.lang.Integer> spectrum_subset_ids)
spectrum_subset_ids
- a list of spectrum subset idspublic java.util.ArrayList<java.lang.Integer> getUncertaintyNodeIds()
uncertainty_node_ids
- a list of uncertainty node ids for an uncertainty setpublic void setUncertaintyNodeIds(java.util.ArrayList<java.lang.Integer> uncertainty_node_ids)
uncertainty_set_node_ids
- a list of uncertainty node idspublic java.util.ArrayList<java.lang.Integer> getNodeNums()
node_nums
- a list of uncertainty node numberspublic void setNodeNums(java.util.ArrayList<java.lang.Integer> node_nums)
node_nums
- a list of uncertainty node numberspublic java.lang.String getUncertaintyNodeDescription()
public void setUncertaintyNodeDescription(java.lang.String uncertainty_node_description)
uncertainty_node_description
- the uncertainty node descriptionpublic java.util.ArrayList<java.lang.String> getUncertaintyNodeDescriptions()
uncertainty_node_descriptions
- a list of uncertainty set descriptionspublic void setUncertaintyNodeDescriptions(java.util.ArrayList<java.lang.String> uncertainty_node_descriptions)
uncertainty_node_descriptions
- a list of uncertainty node descriptions