Enum ArbitrageStrategist.StrategistType

    • Enum Constant Detail

      • SINGLE_AGENT_MAX_PROFIT

        public static final ArbitrageStrategist.StrategistType SINGLE_AGENT_MAX_PROFIT
        Optimises the Device dispatch in order to maximise the profits of the StorageTrader. A perfect forecast of upcoming prices (and their changes due to charging) is used for the optimisation.
      • MULTI_AGENT_MEDIAN

        public static final ArbitrageStrategist.StrategistType MULTI_AGENT_MEDIAN
        Calculates the Device dispatch in order to maximise the profits of the StorageTrader. A median of the forecasted prices is used to estimate a good dispatch strategy in an environment with more than one flexible agent.
    • Method Detail

      • values

        public static ArbitrageStrategist.StrategistType[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (ArbitrageStrategist.StrategistType c : ArbitrageStrategist.StrategistType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static ArbitrageStrategist.StrategistType valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null