package edu.berkeley.eecs.cfc_tracker;

public final class Constants {
	public static String LONGITUDE = "longitude";
	public static String LATITUDE = "latitude";
	public static String ACCELERATOR_X = "ax";
	public static String ACCELERATOR_Y = "ay";
	public static String ACCELERATOR_Z = "az";
	public static String BATTERY_LEVEL = "battery_level";
	public static String ACTIVITY_TYPE = "activity_type";
	public static String ACTIVITY_CONFIDENCE = "activity_confidence";
	
	public static int TRIP_EDGE_THRESHOLD = 100; // meters

    public static final int MILLISECONDS = 1000; // used to make constants like 30 * MILLISECONDS
	public static final int THIRTY_SECONDS = 30 * MILLISECONDS; // 30 secs, keep it similar to GPS
	public static final int TWO_SECONDS = 2 * MILLISECONDS; // 2 secs, similar to Zheng 2010 paper
	public static final int SIXTY_SECONDS = 60 * MILLISECONDS; // 1 min, similar to smalldata mobility
    public static final long NANO2MS = 1000000;

    public static String[] sensors = {LONGITUDE,
									  LATITUDE,
									  ACCELERATOR_X,
									  ACCELERATOR_Y,
									  ACCELERATOR_Z,
									  BATTERY_LEVEL,
									  ACTIVITY_TYPE,
									  ACTIVITY_CONFIDENCE};
}

@@ -718,16 +718,110 @@
  to GPS%0A
+%09public static final int TEN_SECONDS = 10 * MILLISECONDS; // 10 secs, similar to sensys paper%0A
 %09public 

Add a new constant for ten minutes, so that we can use it in the config