Uses of Class
org.powertac.common.Tariff
-
Packages that use Tariff Package Description org.powertac.common Power TAC domain types, shared between simulation server and brokers.org.powertac.common.repo Repositories that need to exist in both the Power TAC simulation server and in brokers. -
-
Uses of Tariff in org.powertac.common
Methods in org.powertac.common that return Tariff Modifier and Type Method Description TariffTariff. getIsSupersededBy()TariffTariffEvaluationHelper. getTariff()Methods in org.powertac.common with parameters of type Tariff Modifier and Type Method Description doubleTariffEvaluationHelper. estimateCost(Tariff tariff, double[] usage)Returns aggregate estimated cost, including periodic charges, starting in the next timeslot.doubleTariffEvaluationHelper. estimateCost(Tariff tariff, double[] usage, boolean includePeriodicCharge)Estimate cost for a profile starting in the next timeslotdoubleTariffEvaluationHelper. estimateCost(Tariff tariff, double[] usage, org.joda.time.Instant start)Returns aggregate estimated cost, including periodic chargesdoubleTariffEvaluationHelper. estimateCost(Tariff tariff, double[] usage, org.joda.time.Instant start, boolean includePeriodicCharge)Estimate the total cost of buying the given amounts of power from the given tariff, starting in the timeslot identified by startIndex.double[]TariffEvaluationHelper. estimateCostArray(Tariff tariff, double[] usage)Returns a cost estimate in array form, including periodic charges.double[]TariffEvaluationHelper. estimateCostArray(Tariff tariff, double[] usage, boolean includePeriodicCharge)Returns the cost estimate in the form of an array of the same shape as the usage vector. -
Uses of Tariff in org.powertac.common.repo
Methods in org.powertac.common.repo that return Tariff Modifier and Type Method Description TariffTariffRepo. findTariffById(long id)TariffTariffRepo. getDefaultTariff(PowerType type)Methods in org.powertac.common.repo that return types with arguments of type Tariff Modifier and Type Method Description List<Tariff>TariffRepo. findActiveTariffs(PowerType type)Returns the list of active tariffs that exactly match the given PowerType.List<Tariff>TariffRepo. findAllActiveTariffs(PowerType type)Returns the list of active tariffs that can be used by a customer of the given PowerType, including those that are more generic than the specific type.List<Tariff>TariffRepo. findAllTariffs()List<Tariff>TariffRepo. findRecentActiveTariffs(int n, PowerType type)Returns the n most "recent" active tariffs from each broker that can be used by a customer with the given powerType.List<Tariff>TariffRepo. findTariffsByBroker(Broker broker)List<Tariff>TariffRepo. findTariffsByState(Tariff.State state)Methods in org.powertac.common.repo with parameters of type Tariff Modifier and Type Method Description voidTariffRepo. addTariff(Tariff tariff)voidTariffRepo. deleteTariff(Tariff tariff)Deletes a tariff and its specification from the repo, without tracking.voidTariffRepo. removeTariff(Tariff tariff)Removes a tariff and its specification from the repo.
-