0001-Add-a-ClassificationResultMap-holding-Classification.patch
proto/sandbox/rst/classification/ClassificationResultMap.proto | ||
---|---|---|
1 |
package rst.classification; |
|
2 | ||
3 |
import "rst/classification/ClassificationResult.proto"; |
|
4 | ||
5 |
option java_outer_classname = "ClassificationResultMapType"; |
|
6 | ||
7 |
/** |
|
8 |
* A map of classifications. |
|
9 |
* |
|
10 |
* @author Viktor Richter <vrichter@techfak.uni-bielefeld.de> |
|
11 |
*/ |
|
12 |
message ClassificationResultMap { |
|
13 | ||
14 |
/** |
|
15 |
* An Entry describes a classification of a discrete |
|
16 |
* aspect of world. |
|
17 |
*/ |
|
18 |
message Entry { |
|
19 | ||
20 |
/** |
|
21 |
* The name of the classified aspect. |
|
22 |
*/ |
|
23 |
required string name = 1; |
|
24 | ||
25 |
/** |
|
26 |
* The classification of the aspect. |
|
27 |
*/ |
|
28 |
required ClassificationResult result = 2; |
|
29 |
} |
|
30 | ||
31 |
/** |
|
32 |
* The current set of classified aspects with their results. |
|
33 |
*/ |
|
34 |
repeated Entry aspects = 1; |
|
35 |
} |
|
0 |
- |