Uses of Class
org.powertac.common.CustomerInfo
-
Packages that use CustomerInfo Package Description org.powertac.common Power TAC domain types, shared between simulation server and brokers.org.powertac.common.msg Message types exchanged between the Power TAC 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 CustomerInfo in org.powertac.common
Methods in org.powertac.common that return CustomerInfo Modifier and Type Method Description CustomerInfoTariffTransaction. getCustomerInfo()CustomerInfoCustomerInfo. withCanNegotiate(boolean value)Fluent setter for the canNegotiate flag.CustomerInfoCustomerInfo. withControllableKW(double value)Fluent setter for controllable kWh.CustomerInfoCustomerInfo. withCustomerClass(CustomerInfo.CustomerClass cClass)Fluent setter for customerClass attribute.CustomerInfoCustomerInfo. withDownRegulationKW(double value)Fluent setter for down-regulation kW.CustomerInfoCustomerInfo. withMultiContracting(boolean value)Fluent setter for the multiContracting property.CustomerInfoCustomerInfo. withPowerType(PowerType type)Fluent setter to set PowerType for this CustomerInfo.CustomerInfoCustomerInfo. withStorageCapacity(double value)Fluent setter for storage capacity.CustomerInfoCustomerInfo. withUpRegulationKW(double value)Fluent setter for up-regulation kW.Methods in org.powertac.common that return types with arguments of type CustomerInfo Modifier and Type Method Description List<CustomerInfo>Competition. getCustomers()The list of customers (or more precisely, customer models) in the simulation environment.Methods in org.powertac.common with parameters of type CustomerInfo Modifier and Type Method Description CompetitionCompetition. addCustomer(CustomerInfo customer)Adds a customer to the Competition.Constructors in org.powertac.common with parameters of type CustomerInfo Constructor Description TariffTransaction(Broker broker, int when, TariffTransaction.Type txType, TariffSpecification spec, CustomerInfo customer, int customerCount, double kWh, double charge)Deprecated.TariffTransaction(Broker broker, int when, TariffTransaction.Type txType, TariffSpecification spec, CustomerInfo customer, int customerCount, double kWh, double charge, boolean regulation)Creates a new TariffTransaction for broker of type txType against a particular tariff spec and customer. -
Uses of CustomerInfo in org.powertac.common.msg
Constructors in org.powertac.common.msg with parameters of type CustomerInfo Constructor Description CustomerBootstrapData(CustomerInfo customer, PowerType powerType, double[] netUsage) -
Uses of CustomerInfo in org.powertac.common.repo
Methods in org.powertac.common.repo that return CustomerInfo Modifier and Type Method Description CustomerInfoCustomerRepo. createCustomerInfo(String name, int population)CustomerInfoCustomerRepo. findById(long id)CustomerInfoCustomerRepo. findByNameAndPowerType(String name, PowerType type)Methods in org.powertac.common.repo that return types with arguments of type CustomerInfo Modifier and Type Method Description List<CustomerInfo>CustomerRepo. findByName(String name)Collection<CustomerInfo>CustomerRepo. list()Methods in org.powertac.common.repo with parameters of type CustomerInfo Modifier and Type Method Description voidCustomerRepo. add(CustomerInfo customer)
-