-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathConstant
50 lines (39 loc) · 1.26 KB
/
Constant
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
package com.it.optimization.common.TrafficOptimizationUtils;
/**
* @version :1.0
* @author: Glory.Yin
* @description: constant define
* @since: 2019-3-14
*/
public final class Constant {
/**
* .
*/
private Constant() {
super();
}
/** Max value. */
public static final int INFINITY = Integer.MAX_VALUE;
/** edge weight. */
public static final int EDGE_NORMAL_WIGHT = 5;
/** prior edge weight. */
public static final int EDGE_PRIOR_WRIGHT = 1;
/** optimization avg mode. */
public static final int OPTIMIZATION_MODE_AVG = 0;
/** optimization peak mode. */
public static final int OPTIMIZATION_MODE_PEAK = 1;
/** success. */
public static final int OPTIMIZATION_RESULT_SUCCESS = 0;
/** failure. */
public static final int OPTIMIZATION_RESULT_FAILURE = 1;
/** Part. */
public static final int OPTIMIZATION_RESULT_PORTION = 2;
/** access level. */
public static final String GRID_PATTERN_ACCESS = "Access";
/** below l2/3 level. */
public static final String GRID_PATTERN_AGGREGATION = "Access,Agregation";
/** vertex. */
public static final String DIVIDEGRID_VERTEX = "vertices";
/** edge. */
public static final String DIVIDEGRID_EDGE = "edges";
}