Fixed Vertex ID ti be a list
Extracted State and made it an optional part of the BayesNet object
@@ -7,13 +7,13 @@ option java_outer_classname = "KeanuSavedBayesNet";
message BayesianNetwork {
repeated Vertex vertices = 1;
+ repeated VertexValue defaultState = 2;
}
message Vertex {
- int64 id = 1;
+ repeated int64 id = 1;
string label = 2;
string vertexType = 3;
- VertexValue value = 4;
repeated NamedParent parents = 5;
}
@@ -25,6 +25,9 @@ message VertexValue {
string stringVal = 4;
bytes genericVal = 5;
}
+
+ string vertexLabel = 6;
+ repeated int64 id = 7;
}
message NamedParent {
