Uses of Class
org.powertac.common.Tariff

Packages that use Tariff
org.powertac.common   
org.powertac.common.repo   
 

Uses of Tariff in org.powertac.common
 

Methods in org.powertac.common that return Tariff
 Tariff Tariff.getIsSupersededBy()
           
 

Methods in org.powertac.common with parameters of type Tariff
 double TariffEvaluationHelper.estimateCost(Tariff tariff, double[] usage)
          Returns aggregate estimated cost, including periodic charges
 double TariffEvaluationHelper.estimateCost(Tariff tariff, double[] usage, boolean includePeriodicCharge)
          Estimate the total cost of buying the given amounts of power from the given tariff, starting in the following timeslot.
 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
 Tariff TariffRepo.findTariffById(long id)
           
 Tariff TariffRepo.getDefaultTariff(PowerType type)
           
 

Methods in org.powertac.common.repo that return types with arguments of type Tariff
 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
 void TariffRepo.addTariff(Tariff tariff)
           
 void TariffRepo.removeTariff(Tariff tariff)
          Removes a tariff and its specification from the repo
 



Copyright © 2013. All Rights Reserved.