27 #ifndef GUM_EDGE_GROWTH_H 28 #define GUM_EDGE_GROWTH_H 50 template <
typename GUM_SCALAR >
59 template <
typename GUM_SCALAR >
100 template <
typename GUM_SCALAR >
105 #ifndef GUM_NO_EXTERN_TEMPLATE_CLASS
Set< NodeId > max_indep_set
The max indep set of matches.
This class is used to define an edge growth of a pattern in this DFSTree.
Base classes for oriented graphs.
LabelData * l_v
The LabelData over the node of this edge growth.
std::ostream & operator<<(std::ostream &out, const DFSCode &code)
Print code in out.
Header file of gum::Sequence, a class for storing (ordered) sequences of objects. ...
Inner class to handle data about labels in this interface graph.
An PRMInstance is a Bayesian Network fragment defined by a Class and used in a PRMSystem.
NodeProperty< std::pair< PRMInstance< GUM_SCALAR > *, PRMInstance< GUM_SCALAR > *> > matches
The mapping between the u and v for each match in the interface graph.
gum is the global namespace for all aGrUM entities
LabelData * edge
The LabelData over the edge of this edge growth.
std::vector< NodeId > * degree_list
Vector used for computation.
The class for generic Hash Tables.
NodeId u
The id of the node from which we grow an edge.
A DFSTree is used by gspan to sort lexicographically patterns discovered in an interface graph...
NodeId v
If the growth is backward you must assigned the subscript of v, otherwise 0 is assigned (recall that ...
Inline implementation of the DFSTree class.
class for graph triangulations for which we enforce a given partial ordering on the nodes elimination...
std::string toString()
Return a string representation of this.
Base class for undirected graphs.
Headers of InterfaceGraph.
UndiGraph iso_graph
The iso graph for computing the maximum independent set of matches.
Headers of the Pattern class.
Size NodeId
Type for node ids.
Set of pairs of elements with fast search for both elements.
void insert(PRMInstance< GUM_SCALAR > *u, PRMInstance< GUM_SCALAR > *v)
Add the pair (u,v) as a match for the current growth.
EdgeGrowth(NodeId a_u, LabelData *an_edge, LabelData *a_l_v, NodeId a_v=0)
Constructor.