Table | Description |
---|---|
Vertices | Each row represents a vertex of the graph. Each vertex represents a variable. Computational cost for each vertex is exponential in terms of in-degree. If any vertex has an in-degree greater than 20, function may be very slow. |
Edges | Each row represents an edge of the graph. If variables are conditionally dependent on each other, their representative vertices are connected by edges. |
ObservationTable | [Optional] Contains vertices (which represent variables) and observations for observed variables. |
Vertices Schema
Column | Data Type | Description |
---|---|---|
vertex_key_column | INTEGER | [Column appears once for each specified vertex_key_column.] All or part of unique vertex key. Cannot be NULL. |
accumulate_column | Any | [Column appears once for each specified accumulate_column.] Column to copy to output table. |
Edges Schema
Column | Data Type | Description |
---|---|---|
source_vertex_key_column | INTEGER | Column appears once for each specified source_vertex_key_column.] All or part of key that identifies source vertex of edge. Must be a vertex_key_column in Vertices table. Cannot be NULL. |
target_vertex_key_column | INTEGER | Column appears once for each specified target_vertex_key_column.] All or part of key that identifies target vertex of edge. Must be a vertex_key_column in Vertices table. Cannot be NULL. |
edge_weight | DOUBLE PRECISION | [Required only for weighted graph.] Edge weight. Function uses only positive edge weights. Sum of edge weights that function uses must be 1. |
ObservationTable Schema
Column | Data Type | Description |
---|---|---|
source_vertex_key_column | INTEGER | Column appears once for each specified source_vertex_key_column.] All or part of key that identifies source vertex of edge. Must be a vertex_key_column in Vertices table. Cannot be NULL. |
observation_column | INTEGER | Observation for variable represented by vertex: true or false for observed variable, NULL for unobserved variable. True can be represented by 'true', 't', 'yes', 'y', or '1'; false by 'false', 'f', 'no', 'n', or '0' (case-insensitive). |