Class EnergySchemeWithSharedFeatures
Object
EnergySchemeWithSharedFeatures
Combines an
EnergyScheme
with SharedFeatures
for energy calculations.-
Constructor Summary
ConstructorsConstructorDescriptionEnergySchemeWithSharedFeatures
(EnergyScheme energyScheme, SharedFeatures sharedFeatures, Logger logger) Creates a newEnergySchemeWithSharedFeatures
. -
Method Summary
Modifier and TypeMethodDescriptionCreates anAddCriteriaEnergyPair
based on the energy scheme.The energy scheme used for calculations.Gets the region map from the energy scheme.Shared features used across calculations.totalAll
(EnergyMemoList pxlMarkMemoList, EnergyStackWithoutParameters raster) Calculates the total energy for all marks in the list.totalIndividual
(VoxelizedMarkMemo pmm, EnergyStackWithoutParameters raster) Calculates the total energy for an individual mark.
-
Constructor Details
-
Method Details
-
totalAll
public EnergyTotal totalAll(EnergyMemoList pxlMarkMemoList, EnergyStackWithoutParameters raster) throws NamedFeatureCalculateException Calculates the total energy for all marks in the list.- Parameters:
pxlMarkMemoList
- the list of energy memosraster
- the energy stack without parameters- Returns:
- the total energy
- Throws:
NamedFeatureCalculateException
- if the calculation fails
-
totalIndividual
public EnergyTotal totalIndividual(VoxelizedMarkMemo pmm, EnergyStackWithoutParameters raster) throws NamedFeatureCalculateException Calculates the total energy for an individual mark.- Parameters:
pmm
- the voxelized mark memoraster
- the energy stack without parameters- Returns:
- the total energy
- Throws:
NamedFeatureCalculateException
- if the calculation fails
-
createAddCriteria
Creates anAddCriteriaEnergyPair
based on the energy scheme.- Returns:
- the created AddCriteriaEnergyPair
- Throws:
CreateException
- if creation fails
-
getRegionMap
Gets the region map from the energy scheme.- Returns:
- the region map
-
getEnergyScheme
The energy scheme used for calculations.
-