aGrUM
0.17.2
a C++ library for (probabilistic) graphical models
structuralConstraintPatternHeader.h
Go to the documentation of this file.
1
23
// this file should be included at the end of all the StructuralConstraints
24
// header files (see StructuralConstraintDAG to see how it should be included).
25
26
#ifdef GUM_CONSTRAINT_CLASS_NAME
27
28
// ##########################################################################
30
// ##########################################################################
32
34
void
setGraph(
const
DiGraph& graph);
35
37
39
void
modifyGraph(
const
ArcAddition& change);
40
42
44
void
modifyGraph(
const
ArcDeletion& change);
45
47
49
void
modifyGraph(
const
ArcReversal& change);
50
52
54
void
modifyGraph(
const
GraphChange& change);
55
57
68
bool
isAlwaysInvalid(
const
GraphChange& change)
const
;
69
71
bool
checkArcAddition(
NodeId
x,
NodeId
y)
const
;
72
74
bool
checkArcDeletion(
NodeId
x,
NodeId
y)
const
;
75
77
bool
checkArcReversal(
NodeId
x,
NodeId
y)
const
;
78
80
bool
checkModification(
const
ArcAddition& change)
const
;
81
83
bool
checkModification(
const
ArcDeletion& change)
const
;
84
86
bool
checkModification(
const
ArcReversal& change)
const
;
87
89
bool
checkModification(
const
GraphChange& change)
const
;
90
92
93
#endif
/* GUM_CONSTRAINT_CLASS_NAME */
gum::NodeId
Size NodeId
Type for node ids.
Definition:
graphElements.h:98