Package edu.kit.mcda.core.normalization
Class Raw
java.lang.Object
edu.kit.mcda.core.normalization.AbstractNormalization
edu.kit.mcda.core.normalization.Raw
- Author:
- tim
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionclone()
org.jdom2.Element
Exports the data to a XML node.double[]
getDomainRange
(Criterion _criterion) Get the actual range of the domain to which the values are normalised.void
importFromXML
(org.jdom2.Element _element) Imports the data from a specified elementdouble
Normalize a single values according to the values contained in the passed criterion.Methods inherited from class edu.kit.mcda.core.normalization.AbstractNormalization
clearChanged, doNormalize, getNodeTag, getPlot, hasChanged, isHarmonise, normalize, normalize, rankIndex, rankIndex, rankValues, rankValues, setChanged, setHarmonise, toString
-
Constructor Details
-
Raw
public Raw()
-
-
Method Details
-
clone
- Specified by:
clone
in classAbstractNormalization
-
importFromXML
public void importFromXML(org.jdom2.Element _element) Imports the data from a specified element- Specified by:
importFromXML
in classAbstractNormalization
- Parameters:
_element
-
-
exportToXML
public org.jdom2.Element exportToXML()Exports the data to a XML node.- Specified by:
exportToXML
in classAbstractNormalization
- Returns:
- the element
-
normalize
Description copied from class:AbstractNormalization
Normalize a single values according to the values contained in the passed criterion.- Specified by:
normalize
in classAbstractNormalization
- Parameters:
_criterion
- the criterion which is referred to for normalisation_value
- the value to be normalised- Returns:
- the normalised value according to the the values of the criterion
-
getDomainRange
Description copied from class:AbstractNormalization
Get the actual range of the domain to which the values are normalised. This is sometimes explicitly set and sometimes computed from the criteria values themselves.- Specified by:
getDomainRange
in classAbstractNormalization
- Parameters:
_criterion
- the criterion for which the domain range is requested- Returns:
- an array containing the lower and upper bound of the domain
-