0001-Add-a-situation-proto-decribing-a-recognition-result.patch
proto/sandbox/rst/classification/Situation.proto | ||
---|---|---|
1 |
package rst.classification; |
|
2 | ||
3 |
import "rst/classification/ClassificationResult.proto"; |
|
4 | ||
5 |
option java_outer_classname = "SituationType"; |
|
6 | ||
7 |
/** |
|
8 |
* A class representing the result of a situation recognition. |
|
9 |
* |
|
10 |
* Different discrete aspects of the situation can have their |
|
11 |
* own classification. |
|
12 |
* |
|
13 |
* @author Viktor Richter <vrichter@techfak.uni-bielefeld.de> |
|
14 |
*/ |
|
15 |
message Situation { |
|
16 | ||
17 |
/** |
|
18 |
* An AspectClassification describes a classification of a discrete |
|
19 |
* aspect of the situation. |
|
20 |
* |
|
21 |
* The Situation is the whole set of aspects and their current states. |
|
22 |
*/ |
|
23 |
message AspectClassification { |
|
24 | ||
25 |
/** |
|
26 |
* The name of the discrete aspect that is considered. |
|
27 |
*/ |
|
28 |
required string aspect_name = 1; |
|
29 | ||
30 |
/** |
|
31 |
* The ClassificationResult holds the state with the highest probability |
|
32 |
* of this aspect and the complete list of state probabilities. |
|
33 |
*/ |
|
34 |
required ClassificationResult state = 2; |
|
35 |
} |
|
36 | ||
37 |
/** |
|
38 |
* Describes the currens Situation as a combination of its aspects |
|
39 |
* and their states. |
|
40 |
*/ |
|
41 |
repeated AspectClassification aspects = 1; |
|
42 |
} |
|
0 |
- |