0002-Add-BayesNetworkEvidence-proto.patch

BayesNetworkEvidence describing a network observation. - V. Richter, 11/20/2015 12:12 PM

Download (1.95 KB)

View differences:

proto/sandbox/rst/graph/BayesNetworkEvidence.proto
1
package rst.graph;
2

  
3
import "rst/timing/Timestamp.proto";
4
import "rst/graph/BayesNetwork.proto";
5

  
6
option java_outer_classname = "BayesNetworkEvidenceType";
7

  
8
/**
9
 * The BayesNetworkEvidence holds a the states of all observed variables of
10
 * a BayesNetwork at one timepoint. The Corresponding network can be attached to.
11
 *
12
 * @author Viktor Richter <vrichter@techfak.uni-bielefeld.de>
13
 */
14
message BayesNetworkEvidence {
15

  
16
    /**
17
     * A VariableState is one observation of one BayesVariable.
18
     */
19
    message VariableState {
20

  
21
        /**
22
         * The name of the observed BayesVariable.
23
         */
24
        required string variable = 1;
25

  
26
        /**
27
         * The observed state of the BayesVariable.
28
         */
29
        required string state = 2;
30

  
31
    }
32

  
33
    /**
34
     * The corresponding BayesNetwork.
35
     */
36
    optional BayesNetwork network = 1;
37

  
38
    /**
39
     * The time of this observation.
40
     */
41
    optional timing.Timestamp time = 2;
42

  
43
    /**
44
     * Number of microseconds this evidence was observed..
45
     */
46
    // @unit(microsecond)
47
    optional uint64 duration_microseconds = 4;
48

  
49
    /**
50
     * A set of observed VariableStates.
51
     */
52
    repeated VariableState observations = 3;
53

  
54
}
0
-