aGrUM
0.17.2
a C++ library for (probabilistic) graphical models
structuralConstraintPattern4UndiGraphHeader.h
Go to the documentation of this file.
1
23
// this file should be included at the end of all the StructuralConstraints
24
// header
25
// files (see StructuralConstraintUndiGraph to see how it should be included).
26
27
#ifdef GUM_CONSTRAINT_CLASS_NAME
28
29
// ##########################################################################
31
// ##########################################################################
33
35
void
setGraph(
const
UndiGraph& graph);
36
38
40
void
modifyGraph(
const
EdgeAddition& change);
41
43
45
void
modifyGraph(
const
EdgeDeletion& change);
46
48
50
void
modifyGraph(
const
GraphChange& change);
51
53
63
bool
isAlwaysInvalid(
const
GraphChange& change)
const
;
64
66
bool
checkEdgeAddition(
NodeId
x,
NodeId
y)
const
;
67
69
bool
checkEdgeDeletion(
NodeId
x,
NodeId
y)
const
;
70
72
bool
checkModification(
const
EdgeAddition& change)
const
;
73
75
bool
checkModification(
const
EdgeDeletion& change)
const
;
76
78
bool
checkModification(
const
GraphChange& change)
const
;
79
81
82
#endif
/* GUM_CONSTRAINT_CLASS_NAME */
gum::NodeId
Size NodeId
Type for node ids.
Definition:
graphElements.h:98