// Path: Framework-JVM/Simulator/MobileOffloadSimulator/src/main/java/cs/mc/ut/ee/utilities/ParametersSimulator.java
// public class ParametersSimulator {
// 	
// 	
// 	public static double GenerateDouble(double min, double max){
// 		Random r = new Random();
// 		
// 		double value = min + (max - min) * r.nextDouble();
// 		
// 		return value;	
// 			
// 		
// 	}
// 	
// 	
// 	public static int GenerateInts(int min, int max){
// 		Random r = new Random();
// 
// 		int value = r.nextInt(max-min) + min;
// 		
// 		return value;
// 			
// 			
// 	}
// 	
// 
// 
// }


import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import cs.mc.ut.ee.utilities.ParametersSimulator;
/*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* Please send inquiries to huber AT ut DOT ee
*/

package edu.ut.mobile.network;




public class Pack implements Serializable{
    private static final long serialVersionUID = 1;
    String functionName = null;
    Class stateType = null;
    Object state = null;
    Object[] paramValues = null;
    Class[] paramTypes = null;
    
    
    //Timestamps
    List<String> timestamps = new ArrayList<String>();
    
    int accGroup = 0;
    double RTT = 0;
    double energy = 0;
    

    public Pack(String functionName, Class stateType, Object state, Object[] paramValues, Class[] FuncDTypes) {
        this.functionName = functionName;
        this.stateType = stateType;
        this.state = state;
        this.paramValues = paramValues;
        this.paramTypes = FuncDTypes;
        timestamps.add(System.currentTimeMillis()+",client1");
        
// Path: Framework-JVM/Simulator/MobileOffloadSimulator/src/main/java/cs/mc/ut/ee/utilities/ParametersSimulator.java
// public class ParametersSimulator {
// 	
// 	
// 	public static double GenerateDouble(double min, double max){
// 		Random r = new Random();
// 		
// 		double value = min + (max - min) * r.nextDouble();
// 		
// 		return value;	
// 			
// 		
// 	}
// 	
// 	
// 	public static int GenerateInts(int min, int max){
// 		Random r = new Random();
// 
// 		int value = r.nextInt(max-min) + min;
// 		
// 		return value;
// 			
// 			
// 	}
// 	
// 
// 
// }


// Path: Framework-JVM/Simulator/MobileOffloadSimulator/src/main/java/edu/ut/mobile/network/Pack.java
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import cs.mc.ut.ee.utilities.ParametersSimulator;

/*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* Please send inquiries to huber AT ut DOT ee
*/

package edu.ut.mobile.network;




public class Pack implements Serializable{
    private static final long serialVersionUID = 1;
    String functionName = null;
    Class stateType = null;
    Object state = null;
    Object[] paramValues = null;
    Class[] paramTypes = null;
    
    
    //Timestamps
    List<String> timestamps = new ArrayList<String>();
    
    int accGroup = 0;
    double RTT = 0;
    double energy = 0;
    

    public Pack(String functionName, Class stateType, Object state, Object[] paramValues, Class[] FuncDTypes) {
        this.functionName = functionName;
        this.stateType = stateType;
        this.state = state;
        this.paramValues = paramValues;
        this.paramTypes = FuncDTypes;
        timestamps.add(System.currentTimeMillis()+",client1");
        
        accGroup = ParametersSimulator.GenerateInts(0, 5);