Class FeatureInputStack

All Implemented Interfaces:
FeatureInput, FeatureInputDictionary, FeatureInputWithResolution

public class FeatureInputStack extends FeatureInputEnergy
A feature input that represents an energy stack.

This class extends FeatureInputEnergy to provide specific functionality for working with energy stacks in feature calculations.

  • Constructor Details

    • FeatureInputStack

      public FeatureInputStack()
      Constructs a FeatureInputStack with an empty energy stack.

      Should only be used if it's guaranteed the energy stack will be added later, as this is required for proper functionality.

    • FeatureInputStack

      public FeatureInputStack(EnergyStackWithoutParameters energyStack)
      Constructs a FeatureInputStack with the given energy stack.
      Parameters:
      energyStack - The energy stack to be used in this feature input.
    • FeatureInputStack

      public FeatureInputStack(Optional<EnergyStackWithoutParameters> energyStack)
      Constructs a FeatureInputStack with an optional energy stack.
      Parameters:
      energyStack - An optional energy stack. If present, it will be used to initialize this feature input. If not present, the energy stack will be empty.
  • Method Details