org.powertac.visualizer
Class Helper
java.lang.Object
org.powertac.visualizer.Helper
public class Helper
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Helper
public Helper()
getCustomerCount
public static int getCustomerCount(org.powertac.common.TariffTransaction tariffTransaction)
- Parameters:
tariffTransaction -
- Returns:
- positive number for new customers, negative number for ex
customers. Otherwise, zero is returned.
pointJSON
public static org.primefaces.json.JSONArray pointJSON(int x,
double y)
roundNumberTwoDecimal
public static double roundNumberTwoDecimal(double number)
Copyright © 2012 Power TAC. All Rights Reserved.