![]() |
aGrUM
0.16.0
|
A DFSTree is used by gspan to sort lexicographically patterns discovered in an interface graph. More...
#include <agrum/PRM/gspan/DFSTree.h>
Public Member Functions | |
Constructor and destructor. | |
DFSTree (const InterfaceGraph< GUM_SCALAR > &graph, SearchStrategy< GUM_SCALAR > *strategy=0) | |
Default constructor. More... | |
~DFSTree () | |
Destructor. More... | |
DFSTree getters and setters. | |
const InterfaceGraph< GUM_SCALAR > & | graph () const |
Returns the list of root patterns in this DFSTree. More... | |
std::list< NodeId > & | roots () |
Returns the list of root patterns in this DFSTree. More... | |
const std::list< NodeId > & | roots () const |
Returns the list of root patterns in this DFSTree. More... | |
Pattern & | parent (const Pattern &p) |
Returns the parent of p in this DFSTree. More... | |
const Pattern & | parent (const Pattern &p) const |
Returns the parent of p in this DFSTree. More... | |
std::list< NodeId > & | children (const Pattern &p) |
Returns the list of p children in this DFSTree. More... | |
const std::list< NodeId > & | children (const Pattern &p) const |
Returns the list of p children in this DFSTree. More... | |
Pattern & | pattern (NodeId id) |
Returns the pattern represented by id in this DFSTree. More... | |
const Pattern & | pattern (NodeId id) const |
Returns the pattern represented by id in this DFSTree. More... | |
void | addRoot (LabelData &data) |
Add a one edge Pattern in this DFSTree. More... | |
Pattern & | growPattern (Pattern &p, EdgeGrowth< GUM_SCALAR > &edge_growth, Size min_freq) |
Add a one edge growth of p as one of its child. More... | |
Isomorphisms for patterns in this DFSTree. | |
UndiGraph & | iso_graph (const Pattern &p) |
Returns the isomorphism graph of p in the interface graph. More... | |
Sequence< PRMInstance< GUM_SCALAR > *> & | iso_map (const Pattern &p, NodeId node) |
Given a pattern and a node in its isomorphism graph, this methods returns the sequence of instance matching p in the interface graph. More... | |
Set< NodeId > & | max_indep_set (const Pattern &p) |
Returns the maximal independent set of p isomorphism graph. More... | |
double | frequency (const Pattern &p) const |
Returns the frequency of p respecting it's maximal independent set. More... | |
PatternData & | data (const Pattern &p) |
const PatternData & | data (const Pattern &p) const |
SearchStrategy< GUM_SCALAR > & | strategy () |
strategy getter More... | |
const SearchStrategy< GUM_SCALAR > & | strategy () const |
strategy getter More... | |
Classes | |
class | NeighborDegreeSort |
This is used to generate the max_indep_set of a Pattern. More... | |
struct | PatternData |
A DFSTree is used by gspan to sort lexicographically patterns discovered in an interface graph.
|
inherited |
Definition at line 81 of file arcGraphPart.h.
|
inherited |
types for STL compliance
Definition at line 261 of file nodeGraphPart.h.
|
inherited |
types for STL compliance
Definition at line 263 of file nodeGraphPart.h.
|
inherited |
types for STL compliance
Definition at line 260 of file nodeGraphPart.h.
|
inherited |
types for STL compliance
Definition at line 262 of file nodeGraphPart.h.
|
inherited |
Definition at line 270 of file nodeGraphPart.h.
|
inherited |
Definition at line 272 of file nodeGraphPart.h.
|
inherited |
Definition at line 269 of file nodeGraphPart.h.
|
inherited |
Definition at line 271 of file nodeGraphPart.h.
INLINE gum::prm::gspan::DFSTree< GUM_SCALAR >::DFSTree | ( | const InterfaceGraph< GUM_SCALAR > & | graph, |
gspan::SearchStrategy< GUM_SCALAR > * | strategy = 0 |
||
) |
Default constructor.
Definition at line 375 of file DFSTree_tpl.h.
References gum::prm::gspan::DFSTree< GUM_SCALAR >::__strategy.
gum::prm::gspan::DFSTree< GUM_SCALAR >::~DFSTree | ( | ) |
Destructor.
Definition at line 37 of file DFSTree_tpl.h.
|
private |
Add a child to this DFSTree.
Definition at line 161 of file DFSTree_tpl.h.
References gum::NodeGraphPart::addNode(), and gum::prm::gspan::Pattern::code().
|
private |
Raise different exceptions if child is invalid or illegal.
Definition at line 188 of file DFSTree_tpl.h.
References gum::prm::gspan::Pattern::addArc(), gum::prm::gspan::Pattern::addNodeWithLabel(), gum::prm::gspan::Pattern::code(), gum::prm::gspan::DFSCode::codes, gum::prm::gspan::EdgeGrowth< GUM_SCALAR >::edge, gum::prm::gspan::Pattern::edgeCode(), GUM_ERROR, gum::prm::gspan::EdgeCode::isBackward(), gum::prm::gspan::Pattern::isMinimal(), gum::prm::gspan::EdgeGrowth< GUM_SCALAR >::l_v, gum::prm::gspan::EdgeGrowth< GUM_SCALAR >::u, and gum::prm::gspan::EdgeGrowth< GUM_SCALAR >::v.
|
private |
This initialize the DSFTree with a new root.
p | A Pattern. |
seq | A sequence of EdgeData<GUM_SCALAR>. |
Definition at line 93 of file DFSTree_tpl.h.
References gum::UndiGraph::addEdge(), gum::NodeGraphPart::addNode(), gum::SequenceImplementation< Key, Alloc, std::is_scalar< Key >::value >::exists(), gum::Set< Key, Alloc >::insert(), gum::SequenceImplementation< Key, Alloc, std::is_scalar< Key >::value >::insert(), gum::prm::gspan::DFSTree< GUM_SCALAR >::PatternData::iso_graph, gum::prm::gspan::DFSTree< GUM_SCALAR >::PatternData::iso_map, gum::prm::gspan::DFSTree< GUM_SCALAR >::PatternData::max_indep_set, and gum::EdgeGraphPart::neighbours().
|
private |
Check if an instance match is redundant.
Definition at line 142 of file DFSTree_tpl.h.
|
private |
Definition at line 342 of file DFSTree_tpl.h.
|
protectedinherited |
a (virtualized) function to remove a given set of arcs
Definition at line 91 of file arcGraphPart_inl.h.
References gum::ArcGraphPart::eraseArc().
|
protectedinherited |
similar to _eraseSetOfArcs except that it is unvirtualized
Definition at line 124 of file arcGraphPart_inl.h.
References gum::ArcGraphPart::eraseArc().
insert a new arc into the directed graph
tail | the id of the tail of the new inserted arc |
head | the id of the head of the new inserted arc |
InvalidNode | if head or tail does not belong to the graph nodes |
Reimplemented from gum::ArcGraphPart.
Reimplemented in gum::DAG.
Definition at line 35 of file diGraph_inl.h.
References gum::ArcGraphPart::addArc(), gum::NodeGraphPart::exists(), and GUM_ERROR.
Referenced by gum::EssentialGraph::__buildEssentialGraph(), gum::MarkovBlanket::__buildMarkovBlanket(), gum::learning::Miic::_orientation_3off2(), gum::learning::Miic::_orientation_latents(), gum::learning::Miic::_orientation_miic(), gum::learning::Miic::_propagatesHead(), gum::prm::gspan::Pattern::addArc(), gum::DAG::addArc(), and gum::DAGCycleDetector::addArc().
|
virtualinherited |
insert a new node and return its id
Reimplemented in gum::CliqueGraph.
Definition at line 253 of file nodeGraphPart_inl.h.
References GUM_EMIT1.
Referenced by gum::prm::gspan::DFSTree< GUM_SCALAR >::__addChild(), gum::prm::StructuredInference< GUM_SCALAR >::__addEdgesInReducedGraph(), gum::prm::o3prm::O3InterfaceFactory< GUM_SCALAR >::__addInterface2Dag(), gum::prm::ClassDependencyGraph< GUM_SCALAR >::__addNode(), gum::prm::o3prm::O3TypeFactory< GUM_SCALAR >::__addTypes2Dag(), gum::prm::gspan::StrictSearch< GUM_SCALAR >::__buildPatternGraph(), gum::prm::StructuredInference< GUM_SCALAR >::__buildPatternGraph(), gum::prm::o3prm::O3ClassFactory< GUM_SCALAR >::__checkAndAddNodesToDag(), gum::prm::LayerGenerator< GUM_SCALAR >::__generateClassDag(), gum::prm::ClusteredLayerGenerator< GUM_SCALAR >::__generateClassDag(), gum::prm::gspan::DFSTree< GUM_SCALAR >::__initialiaze_root(), gum::IncrementalGraphLearner< AttributeSelection, isScalar >::_insertNode(), gum::prm::gspan::DFSTree< GUM_SCALAR >::addRoot(), gum::prm::gspan::DFSTree< GUM_SCALAR >::growPattern(), gum::IncrementalGraphLearner< AttributeSelection, isScalar >::IncrementalGraphLearner(), gum::prm::gspan::EdgeGrowth< GUM_SCALAR >::insert(), and gum::LeafAggregator::update().
insert n nodes
n | the number of nodes to add |
Definition at line 271 of file nodeGraphPart_inl.h.
|
virtualinherited |
try to insert a node with the given id
DuplicateElement | exception if the id already exists |
Definition at line 132 of file nodeGraphPart.cpp.
References gum::NodeGraphPart::__boundVal, gum::NodeGraphPart::__eraseHole(), gum::NodeGraphPart::__holes, gum::NodeGraphPart::__holes_resize_policy, gum::NodeGraphPart::__holes_size, gum::NodeGraphPart::__inHoles(), gum::NodeGraphPart::__updateEndIteratorSafe(), GUM_EMIT1, GUM_ERROR, gum::Set< Key, Alloc >::insert(), and gum::NodeGraphPart::onNodeAdded.
Referenced by gum::EssentialGraph::__buildEssentialGraph(), gum::MarkovBlanket::__buildMarkovBlanket(), gum::SpanningForestPrim::__computeInAComponent(), gum::learning::genericBNLearner::__learnDAG(), gum::learning::genericBNLearner::__prepare_miic_3off2(), gum::prm::GSpan< GUM_SCALAR >::__sortPatterns(), gum::InfluenceDiagram< GUM_SCALAR >::_addNode(), gum::InfluenceDiagram< GUM_SCALAR >::_moralGraph(), gum::prm::gspan::Pattern::addNodeWithLabel(), gum::prm::StructuredInference< GUM_SCALAR >::CData::CData(), gum::InfluenceDiagram< GUM_SCALAR >::getDecisionGraph(), gum::BayesNetFragment< GUM_SCALAR >::installNode(), gum::prm::gspan::InterfaceGraph< GUM_SCALAR >::InterfaceGraph(), gum::learning::Miic::learnStructure(), gum::UndiGraph::partialUndiGraph(), gum::EssentialGraph::skeleton(), and gum::learning::StructuralConstraintDAG::StructuralConstraintDAG().
void gum::prm::gspan::DFSTree< GUM_SCALAR >::addRoot | ( | LabelData & | data | ) |
Add a one edge Pattern in this DFSTree.
data | Data over the edge used to create a root of this DFSTree. |
Definition at line 49 of file DFSTree_tpl.h.
References gum::prm::gspan::Pattern::addArc(), gum::NodeGraphPart::addNode(), gum::prm::gspan::Pattern::addNodeWithLabel(), and gum::HashTable< Key, Val, Alloc >::insert().
|
inherited |
returns the set of arcs stored within the ArcGraphPart
Definition at line 39 of file arcGraphPart_inl.h.
References gum::ArcGraphPart::__arcs.
Referenced by gum::MarkovBlanket::arcs(), gum::EssentialGraph::arcs(), gum::DAGmodel::arcs(), gum::prm::gspan::Pattern::arcs(), gum::learning::DAG2BNLearner< ALLOC >::createBN(), gum::DAG::moralGraph(), and gum::DiGraph::toDot().
|
inherited |
a method to create a hashMap of VAL from a set of arcs (using for every arc, say x, the VAL f(x))
f | a function assigning a VAL to any arc |
size | an optional parameter enabling to fine-tune the returned Property. Roughly speaking, it is a good practice to have a size equal to half the number of arcs. If you do not specify this parameter, the method will assign it for you. |
|
inherited |
a method to create a hashMap of VAL from a set of arcs (using for every arc, say x, the VAL a)
a | the default value assigned to each arc in the returned Property |
size | an optional parameter enabling to fine-tune the returned Property. Roughly speaking, it is a good practice to have a size equal to half the number of arcs. If you do not specify this parameter, the method will assign it for you. |
|
inherited |
returns a copy of the set of nodes represented by the NodeGraphPart
Definition at line 361 of file nodeGraphPart_inl.h.
References gum::Set< Key, Alloc >::insert().
Referenced by gum::InfluenceDiagram< GUM_SCALAR >::getPartialTemporalOrder().
|
noexceptinherited |
a begin iterator to parse the set of nodes contained in the NodeGraphPart
Definition at line 333 of file nodeGraphPart_inl.h.
References gum::NodeGraphPartIterator::_validate().
Referenced by gum::prm::gspan::DFSTree< GUM_SCALAR >::parent().
|
inherited |
a begin iterator to parse the set of nodes contained in the NodeGraphPart
Definition at line 319 of file nodeGraphPart_inl.h.
References gum::NodeGraphPartIterator::_validate().
|
inherited |
returns a number n such that all node ids are strictly lower than n
Definition at line 308 of file nodeGraphPart_inl.h.
Referenced by gum::NodeGraphPart::__clearNodes(), gum::StaticTriangulation::__computeEliminationTree(), gum::NodeGraphPartIterator::_setPos(), and gum::NodeGraphPartIterator::_validate().
INLINE std::list< NodeId > & gum::prm::gspan::DFSTree< GUM_SCALAR >::children | ( | const Pattern & | p | ) |
Returns the list of p children in this DFSTree.
Definition at line 429 of file DFSTree_tpl.h.
References gum::prm::gspan::DFSTree< GUM_SCALAR >::__data, and GUM_ERROR.
Referenced by gum::prm::gspan::DFSTree< GUM_SCALAR >::children().
INLINE const std::list< NodeId > & gum::prm::gspan::DFSTree< GUM_SCALAR >::children | ( | const Pattern & | p | ) | const |
Returns the list of p children in this DFSTree.
Definition at line 439 of file DFSTree_tpl.h.
References gum::prm::gspan::DFSTree< GUM_SCALAR >::__data, gum::prm::gspan::DFSTree< GUM_SCALAR >::children(), and GUM_ERROR.
returns the set of nodes with arc outgoing from a given node
Note that the set of arcs returned may be empty if no arc within the ArcGraphPart is outgoing from the given node.
id | the node which is the tail of the arcs returned |
Definition at line 62 of file arcGraphPart_inl.h.
References gum::ArcGraphPart::__checkChildren(), and gum::ArcGraphPart::__children.
Referenced by gum::MCBayesNetGenerator< GUM_SCALAR, ICPTGenerator, ICPTDisturber >::__AR(), gum::EssentialGraph::__buildEssentialGraph(), gum::MCBayesNetGenerator< GUM_SCALAR, ICPTGenerator, ICPTDisturber >::__connect(), gum::MCBayesNetGenerator< GUM_SCALAR, ICPTGenerator, ICPTDisturber >::__directedPath(), gum::prm::gspan::Pattern::__expandCodeIsMinimal(), gum::prm::gspan::Pattern::__not_rec(), gum::prm::gspan::Pattern::__rec(), gum::InfluenceDiagram< GUM_SCALAR >::_getChildrenDecision(), gum::credal::CNLoopyPropagation< GUM_SCALAR >::_initialize(), gum::credal::CNLoopyPropagation< GUM_SCALAR >::_makeInferenceNodeToNeighbours(), gum::ArcGraphPart::ArcGraphPart(), gum::MarkovBlanket::children(), gum::EssentialGraph::children(), gum::DAGmodel::children(), gum::ArcGraphPart::directedUnorientedPath(), gum::InfluenceDiagram< GUM_SCALAR >::erase(), gum::ArcGraphPart::eraseChildren(), gum::InfluenceDiagram< GUM_SCALAR >::existsPathBetween(), gum::DiGraph::hasDirectedPath(), gum::prm::gspan::Pattern::isMinimal(), gum::MixedGraph::mixedUnorientedPath(), gum::BayesBall::relevantPotentials(), gum::dSeparation::relevantPotentials(), gum::prm::gspan::Pattern::remove(), gum::BayesBall::requisiteNodes(), gum::dSeparation::requisiteNodes(), gum::MarkovBlanket::toDot(), gum::EssentialGraph::toDot(), gum::InfluenceDiagram< GUM_SCALAR >::toDot(), gum::MixedGraph::toDot(), and gum::ArcGraphPart::unvirtualizedEraseChildren().
|
virtualinherited |
removes all the nodes and arcs from the graph
Reimplemented from gum::NodeGraphPart.
Reimplemented in gum::MixedGraph.
Definition at line 43 of file diGraph_inl.h.
References gum::ArcGraphPart::clearArcs(), and gum::NodeGraphPart::clearNodes().
Referenced by gum::DiGraph::operator=().
|
inherited |
removes all the arcs from the ArcGraphPart
Definition at line 79 of file arcGraphPart.cpp.
References gum::ArcGraphPart::__arcs, gum::ArcGraphPart::__children, gum::ArcGraphPart::__parents, gum::Set< Key, Alloc >::clear(), GUM_EMIT2, and gum::ArcGraphPart::onArcDeleted.
Referenced by gum::DiGraph::clear(), gum::MixedGraph::clear(), gum::ArcGraphPart::operator=(), gum::MixedGraph::operator=(), and gum::ArcGraphPart::~ArcGraphPart().
|
virtualinherited |
remove all the nodes from the NodeGraphPart
Definition at line 310 of file nodeGraphPart_inl.h.
Referenced by gum::DiGraph::clear(), gum::UndiGraph::clear(), gum::MixedGraph::clear(), and gum::MixedGraph::operator=().
INLINE DFSTree< GUM_SCALAR >::PatternData & gum::prm::gspan::DFSTree< GUM_SCALAR >::data | ( | const Pattern & | p | ) |
p | The pattern |
Definition at line 519 of file DFSTree_tpl.h.
References gum::prm::gspan::DFSTree< GUM_SCALAR >::__data.
INLINE const DFSTree< GUM_SCALAR >::PatternData & gum::prm::gspan::DFSTree< GUM_SCALAR >::data | ( | const Pattern & | p | ) | const |
p | The pattern |
Definition at line 525 of file DFSTree_tpl.h.
References gum::prm::gspan::DFSTree< GUM_SCALAR >::__data.
|
inherited |
returns a directed path from node1 to node2 belonging to the set of arcs
node1 | the id from which the path begins |
node2 | the id to which the path ends |
NotFound | exception is raised if no path can be found between the two nodes |
Definition at line 155 of file arcGraphPart.cpp.
References gum::List< Val, Alloc >::empty(), gum::HashTable< Key, Val, Alloc >::exists(), gum::List< Val, Alloc >::front(), GUM_ERROR, gum::HashTable< Key, Val, Alloc >::insert(), gum::ArcGraphPart::parents(), gum::List< Val, Alloc >::popFront(), and gum::List< Val, Alloc >::pushBack().
Referenced by gum::learning::Miic::_orientation_latents().
|
inherited |
returns an unoriented (directed) path from node1 to node2 in the arc set
node1 | the id from which the path begins |
node2 | the id to which the path ends |
NotFound | exception is raised if no path can be found between the two nodes |
Definition at line 198 of file arcGraphPart.cpp.
References gum::ArcGraphPart::children(), gum::List< Val, Alloc >::empty(), gum::HashTable< Key, Val, Alloc >::exists(), gum::List< Val, Alloc >::front(), GUM_ERROR, gum::HashTable< Key, Val, Alloc >::insert(), gum::ArcGraphPart::parents(), gum::List< Val, Alloc >::popFront(), and gum::List< Val, Alloc >::pushBack().
|
inherited |
alias for emptyNodes
Definition at line 306 of file nodeGraphPart_inl.h.
Referenced by gum::prm::gspan::Pattern::remove().
|
inherited |
indicates wether the ArcGraphPart contains any arc
Definition at line 35 of file arcGraphPart_inl.h.
References gum::ArcGraphPart::__arcs, and gum::Set< Key, Alloc >::empty().
|
inherited |
indicates whether there exists nodes in the NodeGraphPart
Definition at line 304 of file nodeGraphPart_inl.h.
|
noexceptinherited |
the end iterator to parse the set of nodes contained in the NodeGraphPart
Definition at line 339 of file nodeGraphPart_inl.h.
|
noexceptinherited |
the end iterator to parse the set of nodes contained in the NodeGraphPart
Definition at line 329 of file nodeGraphPart_inl.h.
|
virtualinherited |
removes an arc from the ArcGraphPart
arc | the arc to be removed |
Definition at line 79 of file arcGraphPart_inl.h.
References gum::ArcGraphPart::__arcs, gum::ArcGraphPart::__children, gum::ArcGraphPart::__parents, gum::Set< Key, Alloc >::erase(), gum::ArcGraphPart::existsArc(), GUM_EMIT2, gum::Arc::head(), gum::ArcGraphPart::onArcDeleted, and gum::Arc::tail().
Referenced by gum::EssentialGraph::__buildEssentialGraph(), gum::prm::LayerGenerator< GUM_SCALAR >::__generateClassDag(), gum::prm::ClusteredLayerGenerator< GUM_SCALAR >::__generateClassDag(), gum::learning::genericBNLearner::__learnDAG(), gum::ArcGraphPart::_eraseSetOfArcs(), gum::learning::Miic::_orientation_3off2(), gum::learning::Miic::_orientation_latents(), gum::learning::Miic::_orientation_miic(), gum::BayesNetFragment< GUM_SCALAR >::_uninstallArc(), gum::ArcGraphPart::_unvirtualizedEraseSetOfArcs(), gum::DAGCycleDetector::eraseArc(), gum::InfluenceDiagram< GUM_SCALAR >::eraseArc(), gum::ArcGraphPart::eraseChildren(), gum::ArcGraphPart::eraseParents(), gum::learning::GreedyHillClimbing::learnStructure(), gum::learning::LocalSearchWithTabuList::learnStructure(), gum::prm::gspan::Pattern::pop_back(), gum::BayesNet< double >::reverseArc(), gum::ArcGraphPart::unvirtualizedEraseChildren(), and gum::ArcGraphPart::unvirtualizedEraseParents().
|
inherited |
removes all the children of a given node
id | the node all the children of which will be removed |
Definition at line 110 of file arcGraphPart_inl.h.
References gum::ArcGraphPart::__children, gum::Set< Key, Alloc >::beginSafe(), gum::ArcGraphPart::children(), gum::Set< Key, Alloc >::endSafe(), and gum::ArcGraphPart::eraseArc().
|
virtualinherited |
remove a node and its adjacent arcs from the graph
id | the id of the node to be removed |
Reimplemented from gum::NodeGraphPart.
Reimplemented in gum::MixedGraph.
Definition at line 69 of file diGraph_inl.h.
References gum::NodeGraphPart::eraseNode(), gum::ArcGraphPart::unvirtualizedEraseChildren(), and gum::ArcGraphPart::unvirtualizedEraseParents().
Referenced by gum::BarrenNodesFinder::barrenNodes(), gum::InfluenceDiagram< GUM_SCALAR >::erase(), gum::prm::gspan::Pattern::pop_back(), gum::prm::gspan::Pattern::remove(), and gum::BayesNetFragment< GUM_SCALAR >::uninstallNode().
|
inherited |
erase all the parents of a given node
id | the node all the parents of which will be removed |
Definition at line 96 of file arcGraphPart_inl.h.
References gum::ArcGraphPart::__parents, gum::Set< Key, Alloc >::beginSafe(), gum::Set< Key, Alloc >::endSafe(), gum::ArcGraphPart::eraseArc(), and gum::ArcGraphPart::parents().
alias for existsNode
Definition at line 292 of file nodeGraphPart_inl.h.
Referenced by gum::MarkovBlanket::__buildMarkovBlanket(), gum::prm::ClassBayesNet< GUM_SCALAR >::__get(), gum::learning::genericBNLearner::__learnDAG(), gum::prm::StructuredInference< GUM_SCALAR >::__removeNode(), gum::NodeGraphPartIterator::_setPos(), gum::prm::gspan::Pattern::addArc(), gum::DiGraph::addArc(), gum::UndiGraph::addEdge(), gum::prm::gspan::Pattern::exists(), and gum::DiGraph::hasDirectedPath().
indicates whether a given arc exists
arc | the arc we test whether or not it belongs to the ArcGraphPart |
Definition at line 41 of file arcGraphPart_inl.h.
References gum::ArcGraphPart::__arcs, and gum::Set< Key, Alloc >::contains().
Referenced by gum::MCBayesNetGenerator< GUM_SCALAR, ICPTGenerator, ICPTDisturber >::__AorR(), gum::MCBayesNetGenerator< GUM_SCALAR, ICPTGenerator, ICPTDisturber >::__AR(), gum::MarkovBlanket::__buildMarkovBlanket(), gum::MCBayesNetGenerator< GUM_SCALAR, ICPTGenerator, ICPTDisturber >::__connect(), gum::MCBayesNetGenerator< GUM_SCALAR, ICPTGenerator, ICPTDisturber >::__directedPath(), gum::learning::Miic::__existsDirectedPath(), gum::prm::LayerGenerator< GUM_SCALAR >::__generateClassDag(), gum::prm::ClusteredLayerGenerator< GUM_SCALAR >::__generateClassDag(), gum::MCBayesNetGenerator< GUM_SCALAR, ICPTGenerator, ICPTDisturber >::__jump_multi(), gum::MCBayesNetGenerator< GUM_SCALAR, ICPTGenerator, ICPTDisturber >::__jump_poly(), gum::prm::gspan::Pattern::__not_rec(), gum::prm::gspan::Pattern::__rec(), gum::learning::Miic::_orientation_3off2(), gum::learning::Miic::_orientation_latents(), gum::learning::Miic::_orientation_miic(), gum::learning::Miic::_updateProbaTriples(), gum::DAGCycleDetector::addArc(), gum::ArcGraphPart::eraseArc(), gum::DAGCycleDetector::eraseArc(), gum::InfluenceDiagram< GUM_SCALAR >::eraseArc(), and gum::prm::gspan::Pattern::exists().
indicates whether a given arc exists
tail | the tail of the arc we test the existence in the ArcGraphPart |
head | the head of the arc we test the existence in the ArcGraphPart |
Definition at line 45 of file arcGraphPart_inl.h.
References gum::ArcGraphPart::__parents.
returns true iff the NodeGraphPart contains the given nodeId
Definition at line 286 of file nodeGraphPart_inl.h.
Referenced by gum::MarkovBlanket::__buildMarkovBlanket(), gum::SpanningForestPrim::__compute(), gum::SpanningForestPrim::__computeInAComponent(), gum::SpanningForestPrim::__exploreNode(), gum::OrderedEliminationSequenceStrategy::__isOrderNeeded(), gum::PartialOrderedEliminationSequenceStrategy::_isPartialOrderNeeded(), gum::OrderedEliminationSequenceStrategy::eliminationUpdate(), gum::DefaultPartialOrderedEliminationSequenceStrategy::eliminationUpdate(), gum::InfluenceDiagram< GUM_SCALAR >::getDecisionGraph(), gum::BayesNetFragment< GUM_SCALAR >::isInstalledNode(), gum::UndiGraph::partialUndiGraph(), gum::OrderedEliminationSequenceStrategy::setOrder(), and gum::PartialOrderedEliminationSequenceStrategy::setPartialOrder().
INLINE double gum::prm::gspan::DFSTree< GUM_SCALAR >::frequency | ( | const Pattern & | p | ) | const |
Returns the frequency of p respecting it's maximal independent set.
p | The pattern |
Definition at line 513 of file DFSTree_tpl.h.
References gum::prm::gspan::DFSTree< GUM_SCALAR >::__data, gum::prm::gspan::DFSTree< GUM_SCALAR >::max_indep_set(), and gum::Set< Key, Alloc >::size().
INLINE const InterfaceGraph< GUM_SCALAR > & gum::prm::gspan::DFSTree< GUM_SCALAR >::graph | ( | ) | const |
Returns the list of root patterns in this DFSTree.
Definition at line 500 of file DFSTree_tpl.h.
References gum::prm::gspan::DFSTree< GUM_SCALAR >::__graph.
Pattern & gum::prm::gspan::DFSTree< GUM_SCALAR >::growPattern | ( | Pattern & | p, |
EdgeGrowth< GUM_SCALAR > & | edge_growth, | ||
Size | min_freq | ||
) |
Add a one edge growth of p as one of its child.
The child is inserted lexicographically among the children of p. However if the child is found to be not minimal an OperationNotAllowed is raised.
p | The Pattern from which a one edge growth is spawned. |
edge_growth | The data about the edge growth of p. |
min_freq | minimum number of occurrence to be used as a pattern |
FatalError | Raised if the grow is an illegal backedge growth. |
OperationNotAllowed | Raised if the grow is found to be not minimal. |
Definition at line 228 of file DFSTree_tpl.h.
References gum::UndiGraph::addEdge(), gum::NodeGraphPart::addNode(), gum::prm::gspan::Pattern::code(), gum::prm::gspan::DFSCode::codes, GUM_ERROR, gum::Set< Key, Alloc >::insert(), gum::SequenceImplementation< Key, Alloc, std::is_scalar< Key >::value >::insert(), gum::prm::gspan::DFSTree< GUM_SCALAR >::PatternData::iso_graph, gum::prm::gspan::DFSTree< GUM_SCALAR >::PatternData::iso_map, gum::prm::gspan::EdgeGrowth< GUM_SCALAR >::matches, gum::prm::gspan::DFSTree< GUM_SCALAR >::PatternData::max_indep_set, gum::EdgeGraphPart::neighbours(), gum::NodeGraphPart::nodes(), and gum::NodeGraphPart::size().
checks whether there exists a directed path from from to to
If from==to, this function checks if a directed cycle containing from exists.
from | |
to |
Definition at line 137 of file diGraph.cpp.
References gum::ArcGraphPart::children(), gum::Set< Key, Alloc >::contains(), gum::List< Val, Alloc >::empty(), gum::NodeGraphPart::exists(), gum::List< Val, Alloc >::front(), gum::Set< Key, Alloc >::insert(), gum::List< Val, Alloc >::popFront(), and gum::List< Val, Alloc >::pushBack().
Referenced by gum::DAG::addArc().
INLINE UndiGraph & gum::prm::gspan::DFSTree< GUM_SCALAR >::iso_graph | ( | const Pattern & | p | ) |
Returns the isomorphism graph of p in the interface graph.
The isomorphism graph is a undirected graph in which each node represents a set of PRMInstance<GUM_SCALAR> matching p in the interface graph.
If there exists an edge between two nodes in the isomorphism graph, then the two respective set of instances are not disjoint.
p | The pattern for which we want the isomorphism graph. |
Definition at line 466 of file DFSTree_tpl.h.
References gum::prm::gspan::DFSTree< GUM_SCALAR >::__data, and GUM_ERROR.
INLINE Sequence< PRMInstance< GUM_SCALAR > *> & gum::prm::gspan::DFSTree< GUM_SCALAR >::iso_map | ( | const Pattern & | p, |
NodeId | node | ||
) |
Given a pattern and a node in its isomorphism graph, this methods returns the sequence of instance matching p in the interface graph.
The sequence of instances respect DSF subscripting. Each node in the pattern's graph have a DSF subscript from 1 to n, where n is the number of nodes in the pattern's graph.
If for a given match you want the k-th instance repecting p's DFS subscripting, then it will be the (k - 1)th element in the sequence.
p | The pattern for which we want a match in the interface graph. |
node | The node in p isomorphism graph for which we want the matching set if instances. |
NotFound | Raised if p or node does not exists. |
Definition at line 476 of file DFSTree_tpl.h.
References gum::prm::gspan::DFSTree< GUM_SCALAR >::__data, and GUM_ERROR.
|
inherited |
a method to create a list of VAL from a set of arcs (using for every arc, say x, the VAL f(x))
f | a function assigning a VAL to any arc |
|
inherited |
a method to create a list of VAL from a set of nodes (using for every nodee, say x, the VAL f(x))
f | a function assigning a VAL to any node |
INLINE Set< NodeId > & gum::prm::gspan::DFSTree< GUM_SCALAR >::max_indep_set | ( | const Pattern & | p | ) |
Returns the maximal independent set of p isomorphism graph.
p | The pattern for which we want its maximal independent set. |
Definition at line 490 of file DFSTree_tpl.h.
References gum::prm::gspan::DFSTree< GUM_SCALAR >::__data, and GUM_ERROR.
Referenced by gum::prm::gspan::DFSTree< GUM_SCALAR >::frequency().
|
inherited |
returns a new node id, not yet used by any node
Definition at line 226 of file nodeGraphPart_inl.h.
Referenced by gum::InfluenceDiagram< GUM_SCALAR >::_addNode().
|
inherited |
return *this as a NodeGraphPart
Definition at line 373 of file nodeGraphPart_inl.h.
Referenced by gum::MarkovBlanket::__buildMarkovBlanket(), gum::SpanningForestPrim::__compute(), gum::StaticTriangulation::__computeMaxPrimeJunctionTree(), gum::prm::LayerGenerator< GUM_SCALAR >::__generateClassDag(), gum::prm::ClusteredLayerGenerator< GUM_SCALAR >::__generateClassDag(), gum::prm::GSpan< GUM_SCALAR >::__sortPatterns(), gum::credal::CNMonteCarloSampling< GUM_SCALAR, BNInferenceEngine >::__threadUpdate(), gum::InfluenceDiagram< GUM_SCALAR >::_moralGraph(), gum::InfluenceDiagram< GUM_SCALAR >::_removeTables(), gum::prm::StructuredInference< GUM_SCALAR >::CData::CData(), gum::StaticTriangulation::fillIns(), gum::InfluenceDiagram< GUM_SCALAR >::getDecisionGraph(), gum::prm::gspan::DFSTree< GUM_SCALAR >::growPattern(), gum::UndiGraph::hasUndirectedCycle(), gum::DAG::moralGraph(), gum::MarkovBlanket::nodes(), gum::EssentialGraph::nodes(), gum::prm::gspan::Pattern::nodes(), gum::MarkovBlanket::toDot(), gum::EssentialGraph::toDot(), gum::InfluenceDiagram< GUM_SCALAR >::toDot(), gum::UndiGraph::toDot(), gum::DiGraph::toDot(), and gum::MixedGraph::toDot().
|
inherited |
a method to create a HashTable with key:NodeId and value:VAL
VAL are computed from the nodes using for all node x, VAL f(x). This method is a wrapper of the same method in HashTable.
f | a function assigning a VAL to any node |
size | an optional parameter enabling to fine-tune the returned Property. Roughly speaking, it is a good practice to have a size equal to half the number of nodes. If you do not specify this parameter, the method will assign it for you. |
Referenced by gum::InfluenceDiagram< GUM_SCALAR >::_getChildrenDecision(), gum::BarrenNodesFinder::barrenNodes(), gum::BinaryJoinTreeConverterDefault::convert(), gum::InfluenceDiagram< GUM_SCALAR >::existsPathBetween(), and gum::UndiGraph::hasUndirectedCycle().
|
inherited |
a method to create a hashMap with key:NodeId and value:VAL
for all nodes, the value stored is a. This method is a wrapper of the same method in HashTable.
a | the default value assigned to each edge in the returned Property |
size | an optional parameter enabling to fine-tune the returned Property. Roughly speaking, it is a good practice to have a size equal to half the number of nodes. If you do not specify this parameter, the method will assign it for you. |
|
inherited |
tests whether two ArcGraphParts contain different arcs
p | the ArcGraphPart that we compare with this |
Definition at line 157 of file arcGraphPart_inl.h.
References gum::ArcGraphPart::__arcs.
tests whether two DiGraphs are different
g | the DiGraph with which "this" is compared |
Definition at line 83 of file diGraph_inl.h.
References gum::DiGraph::operator==().
|
inherited |
check whether two NodeGraphParts contain different nodes
p | the NodeGraphPart to be compared with "this" |
Definition at line 357 of file nodeGraphPart_inl.h.
References gum::NodeGraphPartIterator::operator==().
|
inherited |
tests whether two ArcGraphParts contain the same arcs
p | the ArcGraphPart that we compare with this |
Definition at line 153 of file arcGraphPart_inl.h.
References gum::ArcGraphPart::__arcs.
Referenced by gum::DiGraph::operator==(), and gum::MixedGraph::operator==().
tests whether two DiGraphs are identical (same nodes, same arcs)
g | the DiGraph with which "this" is compared |
Definition at line 79 of file diGraph_inl.h.
References gum::ArcGraphPart::operator==(), and gum::NodeGraphPart::operator==().
Referenced by gum::DiGraph::operator!=().
|
inherited |
check whether two NodeGraphParts contain the same nodes
p | the NodeGraphPart to be compared with "this" |
Definition at line 343 of file nodeGraphPart_inl.h.
References gum::NodeGraphPart::__boundVal, and gum::NodeGraphPart::__holes.
Referenced by gum::UndiGraph::operator==(), gum::DiGraph::operator==(), and gum::MixedGraph::operator==().
INLINE Pattern & gum::prm::gspan::DFSTree< GUM_SCALAR >::parent | ( | const Pattern & | p | ) |
Returns the parent of p in this DFSTree.
Definition at line 398 of file DFSTree_tpl.h.
References gum::prm::gspan::DFSTree< GUM_SCALAR >::__node_map, gum::NodeGraphPart::begin(), GUM_ERROR, and gum::ArcGraphPart::parents().
INLINE const Pattern & gum::prm::gspan::DFSTree< GUM_SCALAR >::parent | ( | const Pattern & | p | ) | const |
Returns the parent of p in this DFSTree.
Definition at line 413 of file DFSTree_tpl.h.
References gum::prm::gspan::DFSTree< GUM_SCALAR >::__node_map, gum::NodeGraphPart::begin(), GUM_ERROR, and gum::ArcGraphPart::parents().
returns the set of nodes with arc ingoing to a given node
Note that the set of arcs returned may be empty if no arc within the ArcGraphPart is ingoing into the given node.
id | the node toward which the arcs returned are pointing |
Definition at line 57 of file arcGraphPart_inl.h.
References gum::ArcGraphPart::__checkParents(), and gum::ArcGraphPart::__parents.
Referenced by gum::MCBayesNetGenerator< GUM_SCALAR, ICPTGenerator, ICPTDisturber >::__AR(), gum::MCBayesNetGenerator< GUM_SCALAR, ICPTGenerator, ICPTDisturber >::__connect(), gum::learning::Miic::__existsDirectedPath(), gum::prm::gspan::Pattern::__expandCodeIsMinimal(), gum::prm::ClusteredLayerGenerator< GUM_SCALAR >::__generateClass(), gum::prm::LayerGenerator< GUM_SCALAR >::__generateClassDag(), gum::prm::ClusteredLayerGenerator< GUM_SCALAR >::__generateClassDag(), gum::prm::LayerGenerator< GUM_SCALAR >::__generateClasses(), gum::prm::ClusteredLayerGenerator< GUM_SCALAR >::__generateCluster(), gum::prm::gspan::Pattern::__not_rec(), gum::prm::gspan::Pattern::__rec(), gum::EssentialGraph::__strongly_protected(), gum::InfluenceDiagram< GUM_SCALAR >::_copyTables(), gum::credal::CNLoopyPropagation< GUM_SCALAR >::_initialize(), gum::credal::CNLoopyPropagation< GUM_SCALAR >::_makeInferenceNodeToNeighbours(), gum::InfluenceDiagram< GUM_SCALAR >::_moralGraph(), gum::learning::Miic::_orientation_miic(), gum::learning::Miic::_propagatesHead(), gum::BarrenNodesFinder::barrenNodes(), gum::ArcGraphPart::directedPath(), gum::ArcGraphPart::directedUnorientedPath(), gum::learning::BNDatabaseGenerator< GUM_SCALAR >::drawSamples(), gum::ArcGraphPart::eraseParents(), gum::InfluenceDiagram< GUM_SCALAR >::getPartialTemporalOrder(), gum::prm::gspan::Pattern::isMinimal(), gum::learning::Miic::learnStructure(), gum::MixedGraph::mixedOrientedPath(), gum::MixedGraph::mixedUnorientedPath(), gum::DAG::moralGraph(), gum::prm::gspan::DFSTree< GUM_SCALAR >::parent(), gum::MarkovBlanket::parents(), gum::EssentialGraph::parents(), gum::DAGmodel::parents(), gum::BayesBall::relevantPotentials(), gum::dSeparation::relevantPotentials(), gum::prm::gspan::Pattern::remove(), gum::BayesBall::requisiteNodes(), gum::dSeparation::requisiteNodes(), gum::prm::gspan::Pattern::rightmostPath(), and gum::ArcGraphPart::unvirtualizedEraseParents().
INLINE Pattern & gum::prm::gspan::DFSTree< GUM_SCALAR >::pattern | ( | NodeId | id | ) |
Returns the pattern represented by id in this DFSTree.
Definition at line 448 of file DFSTree_tpl.h.
References gum::prm::gspan::DFSTree< GUM_SCALAR >::__node_map, and GUM_ERROR.
INLINE const Pattern & gum::prm::gspan::DFSTree< GUM_SCALAR >::pattern | ( | NodeId | id | ) | const |
Returns the pattern represented by id in this DFSTree.
Definition at line 457 of file DFSTree_tpl.h.
References gum::prm::gspan::DFSTree< GUM_SCALAR >::__node_map, and GUM_ERROR.
|
inherited |
populateNodes clears *this and fills it with the same nodes as "s"
populateNodes should basically be the preferred way to insert nodes with IDs not selected by the internal idFactory.
s | the NodeGraphPart to be copied |
Definition at line 64 of file nodeGraphPart.cpp.
References gum::NodeGraphPart::__boundVal, gum::NodeGraphPart::__holes, gum::NodeGraphPart::__holes_resize_policy, gum::NodeGraphPart::__holes_size, gum::NodeGraphPart::__updateEndIteratorSafe(), and gum::NodeGraphPart::clear().
Referenced by gum::DAGmodel::__moralGraph(), and gum::DAG::moralGraph().
|
inherited |
populateNodesFromProperty clears *this and fills it with the keys of "h"
populateNodes should basically be the preferred way to insert nodes with IDs not selected by the internal idFactory.
INLINE std::list< NodeId > & gum::prm::gspan::DFSTree< GUM_SCALAR >::roots | ( | ) |
Returns the list of root patterns in this DFSTree.
Definition at line 388 of file DFSTree_tpl.h.
References gum::prm::gspan::DFSTree< GUM_SCALAR >::__roots.
INLINE const std::list< NodeId > & gum::prm::gspan::DFSTree< GUM_SCALAR >::roots | ( | ) | const |
Returns the list of root patterns in this DFSTree.
Definition at line 393 of file DFSTree_tpl.h.
References gum::prm::gspan::DFSTree< GUM_SCALAR >::__roots.
|
inherited |
alias for sizeNodes
Definition at line 284 of file nodeGraphPart_inl.h.
Referenced by gum::StaticTriangulation::__computeMaxPrimeJunctionTree(), gum::StaticTriangulation::__computeRecursiveThinning(), gum::OrderedEliminationSequenceStrategy::__isOrderNeeded(), gum::DiGraph::__topologicalOrder(), gum::StaticTriangulation::__triangulate(), gum::PartialOrderedEliminationSequenceStrategy::_isPartialOrderNeeded(), gum::BarrenNodesFinder::barrenNodes(), gum::prm::gspan::DFSTree< GUM_SCALAR >::growPattern(), gum::learning::GreedyHillClimbing::learnStructure(), gum::learning::LocalSearchWithTabuList::learnStructure(), gum::BayesBall::relevantPotentials(), gum::dSeparation::relevantPotentials(), gum::BayesBall::requisiteNodes(), gum::dSeparation::requisiteNodes(), gum::StaticTriangulation::setGraph(), gum::MarkovBlanket::size(), gum::EssentialGraph::size(), gum::DAGmodel::size(), gum::prm::gspan::Pattern::size(), gum::StaticTriangulation::StaticTriangulation(), and gum::UndiGraph::toDot().
|
inherited |
indicates the number of arcs stored within the ArcGraphPart
Definition at line 37 of file arcGraphPart_inl.h.
References gum::ArcGraphPart::__arcs, and gum::Set< Key, Alloc >::size().
Referenced by gum::MarkovBlanket::sizeArcs(), gum::EssentialGraph::sizeArcs(), gum::DAGmodel::sizeArcs(), gum::prm::gspan::Pattern::sizeArcs(), and gum::InfluenceDiagram< GUM_SCALAR >::toString().
|
inherited |
returns the number of nodes in the NodeGraphPart
Definition at line 280 of file nodeGraphPart_inl.h.
Referenced by gum::BinaryJoinTreeConverterDefault::__markConnectedComponent(), gum::BarrenNodesFinder::barrenNodes(), gum::BinaryJoinTreeConverterDefault::convert(), gum::EliminationSequenceStrategy::setGraph(), gum::MarkovBlanket::sizeNodes(), and gum::EssentialGraph::sizeNodes().
INLINE SearchStrategy< GUM_SCALAR > & gum::prm::gspan::DFSTree< GUM_SCALAR >::strategy | ( | ) |
strategy getter
Definition at line 530 of file DFSTree_tpl.h.
References gum::prm::gspan::DFSTree< GUM_SCALAR >::__strategy.
INLINE const SearchStrategy< GUM_SCALAR > & gum::prm::gspan::DFSTree< GUM_SCALAR >::strategy | ( | ) | const |
strategy getter
Definition at line 536 of file DFSTree_tpl.h.
References gum::prm::gspan::DFSTree< GUM_SCALAR >::__strategy.
|
virtualinherited |
to friendly display the content of the graph in the DOT syntax
name | The graph name in the dot syntax. Default is G. |
Reimplemented in gum::MixedGraph.
Definition at line 68 of file diGraph.cpp.
References gum::ArcGraphPart::arcs(), and gum::NodeGraphPart::nodes().
The topological order stays the same as long as no variable or arcs are added or erased src the topology.
clear | If false returns the previously created topology. |
InvalidDirectedCycle | Raised if this DiGraph contains cycles. |
Definition at line 91 of file diGraph.cpp.
References gum::DiGraph::__mutableTopologicalOrder, gum::DiGraph::__topologicalOrder(), and gum::SequenceImplementation< Key, Alloc, Gen >::clear().
Referenced by gum::prm::o3prm::O3ClassFactory< GUM_SCALAR >::__setO3ClassCreationOrder(), gum::prm::o3prm::O3InterfaceFactory< GUM_SCALAR >::__setO3InterfaceCreationOrder(), gum::prm::o3prm::O3TypeFactory< GUM_SCALAR >::__setO3TypeCreationOrder(), gum::learning::Miic::learnStructure(), and gum::DAGmodel::topologicalOrder().
|
virtualinherited |
to friendly display the content of the graph
Reimplemented in gum::MixedGraph.
Definition at line 61 of file diGraph.cpp.
References gum::ArcGraphPart::toString(), and gum::NodeGraphPart::toString().
Referenced by gum::operator<<().
|
inherited |
same function as eraseChildren but without any virtual call to an erase
id | the node whose outgoing arcs will be removed |
Definition at line 141 of file arcGraphPart_inl.h.
References gum::ArcGraphPart::__children, gum::Set< Key, Alloc >::beginSafe(), gum::ArcGraphPart::children(), gum::Set< Key, Alloc >::endSafe(), and gum::ArcGraphPart::eraseArc().
Referenced by gum::DiGraph::eraseNode(), and gum::MixedGraph::eraseNode().
|
inherited |
same function as eraseParents but without any virtual call to an erase
id | the node whose ingoing arcs will be removed |
Definition at line 129 of file arcGraphPart_inl.h.
References gum::ArcGraphPart::__parents, gum::Set< Key, Alloc >::beginSafe(), gum::Set< Key, Alloc >::endSafe(), gum::ArcGraphPart::eraseArc(), and gum::ArcGraphPart::parents().
Referenced by gum::DiGraph::eraseNode(), and gum::MixedGraph::eraseNode().
|
private |
Data about patterns in this DFSTree.
Definition at line 274 of file DFSTree.h.
Referenced by gum::prm::gspan::DFSTree< GUM_SCALAR >::children(), gum::prm::gspan::DFSTree< GUM_SCALAR >::data(), gum::prm::gspan::DFSTree< GUM_SCALAR >::frequency(), gum::prm::gspan::DFSTree< GUM_SCALAR >::iso_graph(), gum::prm::gspan::DFSTree< GUM_SCALAR >::iso_map(), and gum::prm::gspan::DFSTree< GUM_SCALAR >::max_indep_set().
|
private |
The interface graph on which this DFSTree applies.
Definition at line 264 of file DFSTree.h.
Referenced by gum::prm::gspan::DFSTree< GUM_SCALAR >::graph().
|
private |
The mapping between nodes in this DFSTree and the patterns they represents.
Definition at line 271 of file DFSTree.h.
Referenced by gum::prm::gspan::DFSTree< GUM_SCALAR >::parent(), and gum::prm::gspan::DFSTree< GUM_SCALAR >::pattern().
|
private |
The list of root patterns in this DFSTree.
Definition at line 267 of file DFSTree.h.
Referenced by gum::prm::gspan::DFSTree< GUM_SCALAR >::roots().
|
private |
The strategy used to prune the search tree.
Definition at line 277 of file DFSTree.h.
Referenced by gum::prm::gspan::DFSTree< GUM_SCALAR >::DFSTree(), and gum::prm::gspan::DFSTree< GUM_SCALAR >::strategy().
Definition at line 83 of file arcGraphPart.h.
Referenced by gum::ArcGraphPart::addArc(), gum::ArcGraphPart::ArcGraphPart(), and gum::ArcGraphPart::operator=().
Definition at line 84 of file arcGraphPart.h.
Referenced by gum::ArcGraphPart::clearArcs(), and gum::ArcGraphPart::eraseArc().
|
inherited |
Definition at line 274 of file nodeGraphPart.h.
Referenced by gum::NodeGraphPart::addNodeWithId().
|
inherited |
Definition at line 275 of file nodeGraphPart.h.
Referenced by gum::NodeGraphPart::__clearNodes().