-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTrustArraySet.java
More file actions
39 lines (30 loc) · 928 Bytes
/
Copy pathTrustArraySet.java
File metadata and controls
39 lines (30 loc) · 928 Bytes
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
package ToArrayExcel;
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
/**
*
* @author Administrator
*/
public class TrustArraySet {
public long time;
public int transaction;/*, gfb, bfb, grb, brb, gab, bab, glb, blb;*/
public float trustFP, /*trustLP,*/ trustPR, overall;
public int source, target;
public TrustArraySet(int source, int target) {
this.source = source;
this.target = target;
}
public void addTrustValues(int transaction, long time, float trustFP, /* float trustLP,*/ float trustPR, float overall) {
this.transaction = transaction;
this.time = time;
this.trustFP = trustFP;
// this.trustLP = trustLP;
this.trustPR = trustPR;
this.overall = overall;
}
public void changeTransaction(int transaction){
this.transaction = transaction;
}
}