public class Configuration
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
static boolean |
APPLY_ROBUST_REGRESSION_IN_HYPERGRAPH
option that state that robust regression is applied
|
static java.lang.String |
AVG_LOCAL_FILE_PREFIX
prefix of the file used to store the averaged sound recorded locally
|
static java.lang.String |
AVG_REMOTE_FILE_PREFIX
prefix of the file used to store the averaged sound recorded locally
|
static java.lang.String |
broadcast_addr
it seems that the network provided by wifidirect is 192.168.49.0
|
static int |
BROADCAST_SERVER_PORT
port we are listening to send sound and so one during a meeting when we broadcast
|
static java.lang.String |
calibration_leader
ip adress the the AP with wifi direct
|
static double |
chunksize_Sec
chunk size
|
static java.lang.String |
connectFileName
name of the file that stores the connexion graph
|
static double |
CUMULATED_ERRORS
cumulated error that is automatically computed
|
static java.lang.String |
DEVICE_ID_MESSAGE
message type =
|
static long |
duration_beetween_test_SEC
sleeping duraction during consecutive tests (expressed in second
|
static java.lang.String |
FILE_MESSAGE
message type =
|
static int |
FILE_READ
message type = file transmited
|
static int |
HYPERGRAPH_SIZE
number of node in the hypergraph
|
static double |
INTERCEPT
intercept that is automatically computed
|
static boolean |
IS_CALIBRATED
determine if the device is calibrated
|
static boolean |
isAveraging
we are averaging the samples over a period of time
|
static boolean |
isFilteredData2GeoRegression
determine that the end user requires Geographically Regression
|
static boolean |
isFilteredData2LinearRegression
determine that the end user requires linear regression
|
static boolean |
isLocationAwareCalibration
determine that the end user requires location aware calibration
|
static boolean |
isMultiHopCalibration
Dtermine that the end used pressed the MultiHop option
|
static boolean |
isNotFilteredMatrix
determines that the end user requires to fitler the data to regress in the linear case
|
static boolean |
isNotFilteringDistanceIsVariable
determines that the end user requires to filter the data (based on distance)
|
static boolean |
isRawSoundData |
static boolean |
isRecordActivity
determines if the device is recording
|
static java.lang.String |
LOCAL_FILE_PREFIX
prefix of the file used to store the sound recorded locally
|
static double |
MANUAL_INTERCEPT
intercept that is set during the manual calibration (if any)
|
static double |
MANUAL_MEAN_RESIDUAL
mean of the residual that is set during the manual calibration (if any)
|
static double |
MANUAL_R_SQUARED
R squared that is set during the manual calibration (if any)
|
static double |
MANUAL_SLOPE
slope that is set during the manual calibration (if any)
|
static double |
MANUAL_STD_RESIUDAL
standard deviation of the residuals that is set during the manual calibration (if any)
|
static double |
MANUAL_SUM_RESIDUAL
sum of the residuals that is set during the manual calibration (if any)
|
static int |
MEAN_SQUARE_ERROR_CRITERIA
metric to apply = mean squarred error
|
static int |
MEETING_DURATION_CRITERIA
metric to apply = meeting duration
|
static int |
MEETING_RESIDUAL_SUM_OF_SQUARRE
metric to apply = sum of the squared residuals
|
static int |
MEETING_RSQUARED
metric to apply = r squared
|
static java.lang.String |
MSG_CONNEXION
message that is used to send a connexion graph
|
static java.lang.String |
MSG_DELIMIT
message delimited
|
static java.lang.String |
MSG_FILE_END
delimited of the end of a file
|
static java.lang.String |
MSG_ID
message that identifies a device
|
static java.lang.String |
MSG_MD5
message including the MD5 of a file
|
static java.lang.String |
MSG_RECORD
message used to send the sound
|
static java.lang.String |
MSG_TEST
testing message
|
static java.lang.String |
MSG_TIME
message include time related parameters
|
static int |
MY_BROADCAST_HANDLE
message type = handle
|
static int |
MY_TCP_HANDLE
message type = tcp traffic
|
static java.lang.String |
nameRecordTest
name of the test to carry
|
static int |
ntp_ports
ntp port
|
static int |
numberofconsecutivecalibrationtocarry
number of successive calibrations to performs
|
static int |
offset
time offset with the AP
|
static java.lang.String |
prefix
it seems that the prefix of the network provided by wifidirect is 192.168.49
|
static long |
recordDuration_ms
duration of the record in millecond _> 1000 equal one sec
|
static int |
REFERENCENB
number of references in the references in the hypergraph
|
static java.lang.String |
REMOTE_FILE_PREFIX
prefix of the file used to store the sound recorded by a remote device
|
static double |
samplingDurationSec
duration of the sample in millisecong 0.1=100ms //0.002; //0.125 = 125 ms 0.001 = 1ms
|
static int |
SCHEDULE_TIME
when to start recording from now (is given in number of second)
|
static int |
SERVER_PORT
port we are listening to send sound and so one during a meeting
|
static java.lang.String |
SERVICE_INSTANCE
name of the calibration service
|
static java.lang.String |
SERVICE_REG_TYPE
service
|
static int |
SHIFT_IN_SAMPLE
period of averaging is expressed in second
|
static int |
shortest_path_criteria
metric to apply = mean of the squared error
|
static boolean |
SHOULD_BE_SAVED
calibration parameters should be saved (in the hypergraph)
|
static boolean |
SHOULD_ROBUSTLY_CALIBRATE
determine that the user wants to apply a robust calibration
|
static boolean |
SHOULD_SIMPLY_CALIBRATE
determine that the user wants to apply a simple regression
|
static int |
SLEEPDURBEFORESCHEDULERECORD_MS
sleeping permits to wait a little bit before recording.
|
static double |
SLOPE
calibration slope that is automatically computed
|
static boolean |
SoundFileAreZipped
dtermine if we are ziping the files related to calibration
|
static int |
STD_ERROR_CRITERIA
metric to apply = standard error
|
static boolean |
stopRegressionEmptyFiles
regression has been halted
|
static java.lang.String |
VERTEX_MESSAGE
message type =
|
static int |
VERTEXNB
number of vertex in the hypergraph
|
static long |
VERY_LONG_TIME_AGO
time that takes place a very long time ago
|
static double |
WEIGHTED_CUMULATED_ERROR
weighted and accumulated error that is automatically computed
|
static int |
weightingFunction
determine that the end user requires Weighting Function (based on distance) is Logarithmic and 0 when this function is chosen to be exponential
|
Constructor and Description |
---|
Configuration() |
public static boolean isAveraging
public static long recordDuration_ms
public static double samplingDurationSec
public static boolean SoundFileAreZipped
public static java.lang.String nameRecordTest
public static int numberofconsecutivecalibrationtocarry
public static int SHIFT_IN_SAMPLE
public static double chunksize_Sec
public static final int SLEEPDURBEFORESCHEDULERECORD_MS
public static long duration_beetween_test_SEC
public static boolean isMultiHopCalibration
public static boolean IS_CALIBRATED
public static double MANUAL_INTERCEPT
public static double MANUAL_SLOPE
public static double MANUAL_MEAN_RESIDUAL
public static double MANUAL_STD_RESIUDAL
public static double MANUAL_R_SQUARED
public static double MANUAL_SUM_RESIDUAL
public static double SLOPE
public static double INTERCEPT
public static double WEIGHTED_CUMULATED_ERROR
public static double CUMULATED_ERRORS
public static boolean SHOULD_SIMPLY_CALIBRATE
public static boolean SHOULD_ROBUSTLY_CALIBRATE
public static boolean SHOULD_BE_SAVED
public static boolean isRawSoundData
public static final int STD_ERROR_CRITERIA
public static final int MEAN_SQUARE_ERROR_CRITERIA
public static final int MEETING_DURATION_CRITERIA
public static final int MEETING_RSQUARED
public static final int MEETING_RESIDUAL_SUM_OF_SQUARRE
public static int shortest_path_criteria
public static final int SCHEDULE_TIME
public static int VERTEXNB
public static int REFERENCENB
public static int HYPERGRAPH_SIZE
public static boolean isLocationAwareCalibration
public static boolean isFilteredData2LinearRegression
public static boolean isFilteredData2GeoRegression
public static int weightingFunction
public static boolean isNotFilteringDistanceIsVariable
public static boolean isNotFilteredMatrix
public static boolean isRecordActivity
public static boolean stopRegressionEmptyFiles
public static int offset
public static final int MY_BROADCAST_HANDLE
public static final int MY_TCP_HANDLE
public static final int FILE_READ
public static final java.lang.String DEVICE_ID_MESSAGE
public static final java.lang.String VERTEX_MESSAGE
public static final java.lang.String FILE_MESSAGE
public static final long VERY_LONG_TIME_AGO
public static final java.lang.String calibration_leader
public static final java.lang.String connectFileName
public static int SERVER_PORT
public static int ntp_ports
public static int BROADCAST_SERVER_PORT
public static final java.lang.String SERVICE_INSTANCE
public static final java.lang.String SERVICE_REG_TYPE
public static final java.lang.String LOCAL_FILE_PREFIX
public static final java.lang.String REMOTE_FILE_PREFIX
public static final java.lang.String AVG_LOCAL_FILE_PREFIX
public static final java.lang.String AVG_REMOTE_FILE_PREFIX
public static boolean APPLY_ROBUST_REGRESSION_IN_HYPERGRAPH
public static final java.lang.String MSG_DELIMIT
public static final java.lang.String MSG_FILE_END
public static final java.lang.String MSG_ID
public static final java.lang.String MSG_CONNEXION
public static final java.lang.String MSG_RECORD
public static final java.lang.String MSG_TIME
public static final java.lang.String MSG_MD5
public static final java.lang.String MSG_TEST
public static java.lang.String broadcast_addr
public static java.lang.String prefix