/**
 * 
 */

package evsnr;

public class Parameter {

  public static final boolean FailureDependent = true;
  public static final boolean FailureIndependent = false;

  public static final int MatchMethodIP = 1;
  public static final int MatchMethodDP = 2;
  public static final int MatchMethod = MatchMethodIP;

  public static final int Ran = 0;
  public static final int Min = 1;

  // /home/franz/franzDocuments/eclipse4cworkspace/EeVSNR
  public static final String FileAbsolutePath = "C:\\Users\\Taoheng\\Desktop\\SeVN";

  // Parameter
  public static final int addNewVirNodeNewSubNodeCost = 10000000;
  public static final int addNewVirNodeCost = 100000;
  public static final int transformExistedNodeCost = 3;
  public static final int addNodeComputaionCost = 3;
  public static final int addEdgeBandwithCost = 1;
  public static final int RelativeCostbetweenComputingBandwidth = addNodeComputaionCost
      / addEdgeBandwithCost;

  public static final boolean IsSameVirNet4EveryTime = true;
  public static final boolean IsReleaseVNafterEVNFailure = false;
  public static final boolean IsMultopleNodeMapOneNode = true;
  public static final int ExperimentTimes = 1;

  public static final long SubstrateNewtorkRunTimeInterval = 1200;// 30000
  public static final long unitTimeInterval = 1;
  public static final double RequestAppearProbability = 1;// 0.1
  public static final double RequestPerTimeAppearNum = 1;// 0.1
  public static final long VirNetDuration = 1;
  public static final long VNRequestsContinueTimeMinimum = 1;
  public static final long VNRequestsContinueTimeMaximum = 100;
  public static final long VNRequestsContinueTimeAverage = VNRequestsContinueTimeMaximum / 2;
  // ExperimentPicture
  public static final int ExperimentPicturePlotNumber = 15;

  // service parameter
  public static final int ServiceNumber = 30;// 15
  public static final double SerivecProbability = 0.5;// 0.5

  // SubStrate Network Parameter
  // node parameter
  public static final int SubStrateNodeSize = 50;// 100
  public static final int SubStrateNodeComputationMinimum = 12;// 50
  public static final int SubStrateNodeComputationMaximum = 28;// 100
  // edge parameter
  public static final double SubStrateNodenodeProbability = 0.75;
  public static final int SubStrateEdgeBandwithMinimum = 100;
  public static final int SubStrateEdgeBandwithMaximum = 200;

  // Virtual Network
  // node parameter //2-5 5-8 5-10
  public static final int VirtualNodeSizeMinimum = 3;// 2
  public static final int VirtualNodeSizeMaximum = 8;// 10
  public static final int VirtualNodeComputationMinimum = 2;// 1
  public static final int VirtualNodeComputationMaximum = 9;// 5
  // edge parameter
  public static final double VirtualNodenodeProbability = 0.8;// 0.5
  public static final int VirtualEdgeBandwithMinimum = 10;// 10
  public static final int VirtualEdgeBandwithMaximum = 20;// 20

  public static final int SubStrateFacilityNodeFailDuration = 2000;

}

/**
 * 
 */

package evsnr;

public class Parameter {

  public static final boolean FailureDependent = true;
  public static final boolean FailureIndependent = false;

  public static final int MatchMethodIP = 1;
  public static final int MatchMethodDP = 2;
  public static final int MatchMethod = MatchMethodIP;

  public static final int Ran = 0;
  public static final int Min = 1;

  // /home/franz/franzDocuments/eclipse4cworkspace/EeVSNR
  public static final String FileAbsolutePath = "C:\\Users\\Taoheng\\Desktop\\SeVN";

  // Parameter
  public static final int addNewVirNodeNewSubNodeCost = 10000000;
  public static final int addNewVirNodeCost = 100000;
  public static final int transformExistedNodeCost = 3;
  public static final int addNodeComputaionCost = 3;
  public static final int addEdgeBandwithCost = 1;
  public static final int RelativeCostbetweenComputingBandwidth = addNodeComputaionCost
      / addEdgeBandwithCost;

  public static final boolean IsSameVirNet4EveryTime = true;
  public static final boolean IsReleaseVNafterEVNFailure = false;
  public static final boolean IsMultopleNodeMapOneNode = true;
  public static final int ExperimentTimes = 10;

  public static final long SubstrateNewtorkRunTimeInterval = 1200;// 30000
  public static final long unitTimeInterval = 1;
  public static final double RequestAppearProbability = 1;// 0.1
  public static final double RequestPerTimeAppearNum = 1;// 0.1
  public static final long VirNetDuration = 1;
  public static final long VNRequestsContinueTimeMinimum = 1;
  public static final long VNRequestsContinueTimeMaximum = 100;
  public static final long VNRequestsContinueTimeAverage = VNRequestsContinueTimeMaximum / 2;
  // ExperimentPicture
  public static final int ExperimentPicturePlotNumber = 15;

  // service parameter
  public static final int ServiceNumber = 30;// 15
  public static final double SerivecProbability = 0.5;// 0.5

  // SubStrate Network Parameter
  // node parameter
  public static final int SubStrateNodeSize = 50;// 100
  public static final int SubStrateNodeComputationMinimum = 12;// 50
  public static final int SubStrateNodeComputationMaximum = 28;// 100
  // edge parameter
  public static final double SubStrateNodenodeProbability = 0.75;
  public static final int SubStrateEdgeBandwithMinimum = 100;
  public static final int SubStrateEdgeBandwithMaximum = 200;

  // Virtual Network
  // node parameter //2-5 5-8 5-10
  public static final int VirtualNodeSizeMinimum = 3;// 2
  public static final int VirtualNodeSizeMaximum = 8;// 10
  public static final int VirtualNodeComputationMinimum = 2;// 1
  public static final int VirtualNodeComputationMaximum = 9;// 5
  // edge parameter
  public static final double VirtualNodenodeProbability = 0.8;// 0.5
  public static final int VirtualEdgeBandwithMinimum = 10;// 10
  public static final int VirtualEdgeBandwithMaximum = 20;// 20

  public static final int SubStrateFacilityNodeFailDuration = 2000;

}

update 20171110