![]() |
aGrUM 2.3.2
a C++ library for (probabilistic) graphical models
|
Class for node sets in graph. More...
#include <nodeGraphPart.h>
Public Types | |
| using | NodeIterator = NodeGraphPartIterator |
| using | NodeConstIterator = NodeGraphPartIterator |
| using | NodeIteratorSafe = NodeGraphPartIteratorSafe |
| using | NodeConstIteratorSafe = NodeGraphPartIteratorSafe |
| using | node_iterator = NodeGraphPartIterator |
| types for STL compliance | |
| using | node_const_iterator = NodeGraphPartIterator |
| types for STL compliance | |
| using | node_iterator_safe = NodeGraphPartIteratorSafe |
| types for STL compliance | |
| using | node_const_iterator_safe = NodeGraphPartIteratorSafe |
| types for STL compliance | |
Public Member Functions | |
Constructors / Destructors | |
| NodeGraphPart (Size holes_size=HashTableConst::default_size, bool holes_resize_policy=true) | |
| default constructor | |
| NodeGraphPart (const NodeGraphPart &s) | |
| copy constructor | |
| virtual | ~NodeGraphPart () |
| destructor | |
Operators | |
| NodeGraphPart & | operator= (const NodeGraphPart &p) |
| copy operator | |
| bool | operator== (const NodeGraphPart &p) const |
| check whether two NodeGraphParts contain the same nodes | |
| bool | operator!= (const NodeGraphPart &p) const |
| check whether two NodeGraphParts contain different nodes | |
Accessors/Modifiers | |
| void | populateNodes (const NodeGraphPart &s) |
| populateNodes clears *this and fills it with the same nodes as "s" | |
| template<typename T> | |
| void | populateNodesFromProperty (const NodeProperty< T > &h) |
| populateNodesFromProperty clears *this and fills it with the keys of "h" | |
| NodeId | nextNodeId () const |
| returns a new node id, not yet used by any node | |
| virtual NodeId | addNode () |
| insert a new node and return its id | |
| std::vector< NodeId > | addNodes (Size n) |
| insert n nodes | |
| virtual void | addNodeWithId (const NodeId id) |
| try to insert a node with the given id | |
| virtual void | eraseNode (const NodeId id) |
| erase the node with the given id | |
| bool | existsNode (const NodeId id) const |
| returns true iff the NodeGraphPart contains the given nodeId | |
| bool | exists (const NodeId id) const |
| alias for existsNode | |
| bool | emptyNodes () const |
| indicates whether there exists nodes in the NodeGraphPart | |
| bool | empty () const |
| alias for emptyNodes | |
| virtual void | clearNodes () |
| remove all the nodes from the NodeGraphPart | |
| virtual void | clear () |
| alias for clearNodes | |
| Size | sizeNodes () const |
| returns the number of nodes in the NodeGraphPart | |
| Size | size () const |
| alias for sizeNodes | |
| NodeId | bound () const |
| returns a number n such that all node ids are strictly lower than n | |
| NodeSet | asNodeSet () const |
| returns a copy of the set of nodes represented by the NodeGraphPart | |
| const NodeGraphPart & | nodes () const |
| return *this as a NodeGraphPart | |
| node_iterator_safe | beginSafe () const |
| a begin iterator to parse the set of nodes contained in the NodeGraphPart | |
| const node_iterator_safe & | endSafe () const noexcept |
| the end iterator to parse the set of nodes contained in the NodeGraphPart | |
| node_iterator | begin () const noexcept |
| a begin iterator to parse the set of nodes contained in the NodeGraphPart | |
| const node_iterator & | end () const noexcept |
| the end iterator to parse the set of nodes contained in the NodeGraphPart | |
| virtual std::string | toString () const |
| a function to display the set of nodes | |
| template<typename VAL> | |
| NodeProperty< VAL > | nodesPropertyFromFunction (VAL(*f)(const NodeId &), Size size=0) const |
| a method to create a HashTable with key:NodeId and value:VAL | |
| template<typename VAL> | |
| NodeProperty< VAL > | nodesPropertyFromVal (const VAL &a, Size size=0) const |
| a method to create a hashMap with key:NodeId and value:VAL | |
| template<typename VAL> | |
| List< VAL > | listMapNodes (VAL(*f)(const NodeId &)) const |
| a method to create a list of VAL from a set of nodes (using for every nodee, say x, the VAL f(x)) | |
Public Attributes | |
| Signaler1< NodeId > | onNodeAdded |
| Signaler1< NodeId > | onNodeDeleted |
Private Member Functions | |
| void | _updateEndIteratorSafe_ () |
| updating endIterator (always at max+1) | |
| void | _clearNodes_ () |
| code for clearing nodes (called twice) | |
| void | _eraseHole_ (NodeId id) |
| to delete hole. | |
| void | _addHole_ (NodeId id) |
| to add a hole. | |
Introspection | |
| bool | _inHoles_ (NodeId id) const |
| Size | _sizeHoles_ () const |
Private Attributes | |
| NodeSet * | _holes_ |
| the set of nodes not contained in the NodeGraphPart in the interval 1. | |
| Size | _holes_size_ |
| value for holes configuration | |
| bool | _holes_resize_policy_ |
| value for holes configuration | |
| NodeGraphPartIteratorSafe | _endIteratorSafe_ |
| the end iterator (used to speed-up parsings of the NodeGraphPart) | |
| NodeId | _boundVal_ |
| the id below which NodeIds may belong to the NodeGraphPart | |
Friends | |
| class | NodeGraphPartIterator |
| class | NodeGraphPartIteratorSafe |
| class | gum_tests::NodeGraphPartTestSuite |
| to enable testunits to use check | |
Class for node sets in graph.
NodeGraphPart represents the set of nodes of all the graphs. It is built to be as light as possible and it implements its own NodeId factory. The set of NodeId is 0 ... ( bound-1) minus the NodeIds in holes.
Definition at line 271 of file nodeGraphPart.h.
types for STL compliance
Definition at line 276 of file nodeGraphPart.h.
types for STL compliance
Definition at line 278 of file nodeGraphPart.h.
types for STL compliance
Definition at line 275 of file nodeGraphPart.h.
types for STL compliance
Definition at line 277 of file nodeGraphPart.h.
Definition at line 285 of file nodeGraphPart.h.
Definition at line 287 of file nodeGraphPart.h.
Definition at line 284 of file nodeGraphPart.h.
Definition at line 286 of file nodeGraphPart.h.
|
explicit |
default constructor
A NodeGrphPart does not store all its nodes. To be lighter in terms of memory consumption, it store its maximal NodeId and the set of NodeIds between 0 and this maximum that do not actually belong to the set of its nodes (the so-called set of holes). In practice, it turns out that the set of holes is most often very small.
| holes_size | the size of the hash table used to store all holes |
| holes_resize_policy | the resizing policy of this hash table |
Definition at line 57 of file nodeGraphPart.cpp.
References NodeGraphPart(), _boundVal_, _endIteratorSafe_, _holes_, _holes_resize_policy_, _holes_size_, and _updateEndIteratorSafe_().
Referenced by gum::DiGraph::DiGraph(), gum::DiGraph::DiGraph(), NodeGraphPart(), NodeGraphPart(), gum::UndiGraph::UndiGraph(), gum::UndiGraph::UndiGraph(), ~NodeGraphPart(), nodes(), gum::prm::gspan::Pattern::nodes(), operator!=(), operator=(), operator==(), populateNodes(), and populateNodesFromProperty().
| gum::NodeGraphPart::NodeGraphPart | ( | const NodeGraphPart & | s | ) |
copy constructor
| s | the NodeGraphPart to be copied |
Definition at line 65 of file nodeGraphPart.cpp.
References NodeGraphPart(), _boundVal_, _endIteratorSafe_, _holes_, _holes_resize_policy_, _holes_size_, and _updateEndIteratorSafe_().
|
virtual |
destructor
Definition at line 77 of file nodeGraphPart.cpp.
References NodeGraphPart(), and _holes_.
|
private |
to add a hole.
Definition at line 96 of file nodeGraphPart.cpp.
References _boundVal_, _holes_, _holes_resize_policy_, _holes_size_, and _updateEndIteratorSafe_().
Referenced by eraseNode(), and gum_tests::NodeGraphPartTestSuite.
|
private |
code for clearing nodes (called twice)
Definition at line 174 of file nodeGraphPart.cpp.
References _boundVal_, _holes_, _inHoles_(), _updateEndIteratorSafe_(), bound(), GUM_EMIT1, and onNodeDeleted.
Referenced by clear(), clearNodes(), and gum_tests::NodeGraphPartTestSuite.
|
private |
to delete hole.
Definition at line 244 of file nodeGraphPart_inl.h.
References _holes_.
Referenced by addNode(), addNodeWithId(), and gum_tests::NodeGraphPartTestSuite.
Definition at line 372 of file nodeGraphPart_inl.h.
References _holes_.
Referenced by _clearNodes_(), addNodeWithId(), asNodeSet(), existsNode(), gum_tests::NodeGraphPartTestSuite, and toString().
|
private |
Definition at line 375 of file nodeGraphPart_inl.h.
References _holes_.
Referenced by gum_tests::NodeGraphPartTestSuite.
|
private |
updating endIterator (always at max+1)
Definition at line 327 of file nodeGraphPart_inl.h.
References _boundVal_, and _endIteratorSafe_.
Referenced by NodeGraphPart(), NodeGraphPart(), _addHole_(), _clearNodes_(), addNode(), addNodeWithId(), gum_tests::NodeGraphPartTestSuite, and populateNodes().
|
virtual |
insert a new node and return its id
Reimplemented in gum::CliqueGraph.
Definition at line 258 of file nodeGraphPart_inl.h.
References _boundVal_, _eraseHole_(), _holes_, _updateEndIteratorSafe_(), GUM_EMIT1, and onNodeAdded.
Referenced by gum::prm::gspan::DFSTree< GUM_SCALAR >::_addChild_(), gum::prm::StructuredInference< GUM_SCALAR >::_addEdgesInReducedGraph_(), gum::prm::gspan::StrictSearch< GUM_SCALAR >::_buildPatternGraph_(), gum::prm::StructuredInference< GUM_SCALAR >::_buildPatternGraph_(), gum::prm::ClusteredLayerGenerator< GUM_SCALAR >::_generateClassDag_(), gum::prm::LayerGenerator< GUM_SCALAR >::_generateClassDag_(), and gum::prm::gspan::DFSTree< GUM_SCALAR >::addRoot().
insert n nodes
| n | the number of nodes to add |
Definition at line 276 of file nodeGraphPart_inl.h.
Referenced by gum::DiGraph::completeGraph(), and gum::UndiGraph::completeGraph().
|
virtual |
try to insert a node with the given id
| DuplicateElement | exception if the id already exists |
Reimplemented in gum::CliqueGraph.
Definition at line 151 of file nodeGraphPart.cpp.
References _boundVal_, _eraseHole_(), _holes_, _holes_resize_policy_, _holes_size_, _inHoles_(), _updateEndIteratorSafe_(), GUM_EMIT1, GUM_ERROR, and onNodeAdded.
Referenced by gum::learning::StructuralConstraintDAG::StructuralConstraintDAG(), gum::EssentialGraph::_buildEssentialGraph_(), gum::prm::GSpan< GUM_SCALAR >::_sortPatterns_(), gum::prm::gspan::Pattern::addNodeWithLabel(), gum::learning::IBNLearner::learnDag_(), gum::learning::SimpleMiic::learnStructure(), gum::InfluenceDiagram< GUM_SCALAR >::moralGraph_(), gum::DAG::moralizedAncestralGraph(), gum::PDAG::moralizedAncestralGraph(), gum::UndiGraph::partialUndiGraph(), gum::learning::IBNLearner::prepareMiic_(), gum::MeekRules::propagateToCPDAG(), gum::MeekRules::propagateToDAG(), gum::rec_ancestral(), and gum::EssentialGraph::skeleton().
| INLINE NodeSet gum::NodeGraphPart::asNodeSet | ( | ) | const |
returns a copy of the set of nodes represented by the NodeGraphPart
Definition at line 356 of file nodeGraphPart_inl.h.
References _boundVal_, _inHoles_(), empty(), gum::Set< Key >::insert(), and sizeNodes().
Referenced by gum::MarginalTargetedInference< GUM_SCALAR >::MarginalTargetedInference(), gum::MarginalTargetedMRFInference< GUM_SCALAR >::MarginalTargetedMRFInference(), and gum::ImportanceSampling< GUM_SCALAR >::unsharpenBN_().
|
noexcept |
a begin iterator to parse the set of nodes contained in the NodeGraphPart
Definition at line 333 of file nodeGraphPart_inl.h.
References NodeGraphPartIterator, and gum::NodeGraphPartIterator::validate_().
Referenced by gum::Estimator< GUM_SCALAR >::Estimator(), populateNodesFromProperty(), and gum::Estimator< GUM_SCALAR >::setFromBN().
| INLINE NodeGraphPartIteratorSafe gum::NodeGraphPart::beginSafe | ( | ) | const |
a begin iterator to parse the set of nodes contained in the NodeGraphPart
Definition at line 321 of file nodeGraphPart_inl.h.
References NodeGraphPartIteratorSafe, and gum::NodeGraphPartIterator::validate_().
| INLINE NodeId gum::NodeGraphPart::bound | ( | ) | const |
returns a number n such that all node ids are strictly lower than n
Definition at line 310 of file nodeGraphPart_inl.h.
References _boundVal_.
Referenced by _clearNodes_().
|
virtual |
alias for clearNodes
Reimplemented in gum::CliqueGraph, gum::DiGraph, gum::MixedGraph, and gum::UndiGraph.
Definition at line 319 of file nodeGraphPart_inl.h.
References _clearNodes_().
Referenced by populateNodes().
|
virtual |
remove all the nodes from the NodeGraphPart
Definition at line 312 of file nodeGraphPart_inl.h.
References _clearNodes_().
Referenced by gum::DiGraph::clear(), gum::MixedGraph::clear(), gum::UndiGraph::clear(), and gum::MixedGraph::operator=().
| INLINE bool gum::NodeGraphPart::empty | ( | ) | const |
alias for emptyNodes
Definition at line 308 of file nodeGraphPart_inl.h.
References emptyNodes().
Referenced by asNodeSet(), gum::PDAG::cSeparation(), gum::DAG::dSeparation(), gum::prm::gspan::Pattern::remove(), and gum::PDAG::toDot().
| INLINE bool gum::NodeGraphPart::emptyNodes | ( | ) | const |
indicates whether there exists nodes in the NodeGraphPart
Definition at line 306 of file nodeGraphPart_inl.h.
References sizeNodes().
Referenced by empty().
|
noexcept |
the end iterator to parse the set of nodes contained in the NodeGraphPart
Definition at line 339 of file nodeGraphPart_inl.h.
References _endIteratorSafe_, and NodeGraphPartIterator.
Referenced by gum::Estimator< GUM_SCALAR >::Estimator(), populateNodesFromProperty(), and gum::Estimator< GUM_SCALAR >::setFromBN().
|
noexcept |
the end iterator to parse the set of nodes contained in the NodeGraphPart
Definition at line 329 of file nodeGraphPart_inl.h.
References _endIteratorSafe_, and NodeGraphPartIteratorSafe.
|
virtual |
erase the node with the given id
If the NodeGraphPart does not contain the nodeId, then nothing is done. In particular, no exception is raised. However, the signal onNodeDeleted is fired only if a node is effectively removed.
Reimplemented in gum::CliqueGraph, gum::DiGraph, gum::MixedGraph, and gum::UndiGraph.
Definition at line 298 of file nodeGraphPart_inl.h.
References _addHole_(), existsNode(), GUM_EMIT1, and onNodeDeleted.
Referenced by gum::DiGraph::eraseNode(), gum::MixedGraph::eraseNode(), and gum::UndiGraph::eraseNode().
alias for existsNode
Definition at line 296 of file nodeGraphPart_inl.h.
References existsNode().
Referenced by gum::prm::StructuredInference< GUM_SCALAR >::_removeNode_(), gum::DiGraph::addArc(), gum::prm::gspan::Pattern::addArc(), gum::UndiGraph::addEdge(), gum::prm::gspan::Pattern::exists(), gum::DiGraph::hasDirectedPath(), gum::learning::IBNLearner::learnDag_(), and gum::DAG::moralizedAncestralGraph().
returns true iff the NodeGraphPart contains the given nodeId
Definition at line 290 of file nodeGraphPart_inl.h.
References _boundVal_, and _inHoles_().
Referenced by eraseNode(), exists(), gum::PDAG::moralizedAncestralGraph(), gum::UndiGraph::partialUndiGraph(), and gum::rec_ancestral().
| List< VAL > gum::NodeGraphPart::listMapNodes | ( | VAL(* | f )(const NodeId &) | ) | const |
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 |
References listMapNodes().
Referenced by listMapNodes().
| INLINE NodeId gum::NodeGraphPart::nextNodeId | ( | ) | const |
returns a new node id, not yet used by any node
Definition at line 232 of file nodeGraphPart_inl.h.
References _boundVal_, and _holes_.
| INLINE const NodeGraphPart & gum::NodeGraphPart::nodes | ( | ) | const |
return *this as a NodeGraphPart
Definition at line 368 of file nodeGraphPart_inl.h.
References NodeGraphPart().
Referenced by gum::MeekRules::_complete_(), gum::prm::ClusteredLayerGenerator< GUM_SCALAR >::_generateClassDag_(), gum::prm::LayerGenerator< GUM_SCALAR >::_generateClassDag_(), gum::prm::ClassBayesNet< GUM_SCALAR >::_init_(), gum::prm::SVE< GUM_SCALAR >::_initElimOrder_(), gum::prm::SVED< GUM_SCALAR >::_initElimOrder_(), gum::prm::SVE< GUM_SCALAR >::_initLiftedNodes_(), gum::MeekRules::_orientDoubleHeadedArcs_(), gum::MeekRules::_propagates_(), gum::prm::GSpan< GUM_SCALAR >::_sortPatterns_(), gum::prm::PRMFactory< GUM_SCALAR >::addAttribute(), gum::UndiGraph::hasUndirectedCycle(), gum::DAG::moralGraph(), gum::PDAG::moralGraph(), gum::DAG::moralizedAncestralGraph(), gum::PDAG::moralizedAncestralGraph(), gum::prm::gspan::Pattern::nodes(), gum::UndiGraph::nodes2ConnectedComponent(), gum::learning::Miic::orientDoubleHeadedArcs_(), gum::UndiGraph::partialUndiGraph(), gum::learning::IBNLearner::prepareMiic_(), gum::MeekRules::propagateToDAG(), gum::DiGraph::toDot(), gum::MixedGraph::toDot(), gum::PDAG::toDot(), and gum::UndiGraph::toDot().
| NodeProperty< VAL > gum::NodeGraphPart::nodesPropertyFromFunction | ( | VAL(* | f )(const NodeId &), |
| Size | size = 0 ) const |
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. |
References nodesPropertyFromFunction(), and size().
Referenced by nodesPropertyFromFunction().
| NodeProperty< VAL > gum::NodeGraphPart::nodesPropertyFromVal | ( | const VAL & | a, |
| Size | size = 0 ) const |
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. |
References nodesPropertyFromVal(), and size().
Referenced by gum::BinaryJoinTreeConverterDefault::convert(), gum::UndiGraph::hasUndirectedCycle(), and nodesPropertyFromVal().
| INLINE bool gum::NodeGraphPart::operator!= | ( | const NodeGraphPart & | p | ) | const |
check whether two NodeGraphParts contain different nodes
| p | the NodeGraphPart to be compared with "this" |
Definition at line 354 of file nodeGraphPart_inl.h.
References NodeGraphPart(), and operator==().
| INLINE NodeGraphPart & gum::NodeGraphPart::operator= | ( | const NodeGraphPart & | p | ) |
copy operator
| p | the NodeGraphPart to be copied |
Definition at line 225 of file nodeGraphPart_inl.h.
References NodeGraphPart(), and populateNodes().
Referenced by gum::DiGraph::operator=(), gum::MixedGraph::operator=(), and gum::UndiGraph::operator=().
| INLINE bool gum::NodeGraphPart::operator== | ( | const NodeGraphPart & | p | ) | const |
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 NodeGraphPart(), _boundVal_, and _holes_.
Referenced by operator!=(), gum::DiGraph::operator==(), gum::MixedGraph::operator==(), and gum::UndiGraph::operator==().
| void gum::NodeGraphPart::populateNodes | ( | const NodeGraphPart & | s | ) |
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 83 of file nodeGraphPart.cpp.
References NodeGraphPart(), _boundVal_, _holes_, _holes_resize_policy_, _holes_size_, _updateEndIteratorSafe_(), and clear().
Referenced by gum::DAG::moralGraph(), gum::PDAG::moralGraph(), and operator=().
| void gum::NodeGraphPart::populateNodesFromProperty | ( | const NodeProperty< T > & | h | ) |
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.
References NodeGraphPart(), begin(), end(), and toString().
| INLINE Size gum::NodeGraphPart::size | ( | ) | const |
alias for sizeNodes
Definition at line 288 of file nodeGraphPart_inl.h.
References sizeNodes().
Referenced by gum::StaticTriangulation::StaticTriangulation(), gum::prm::gspan::DFSTree< GUM_SCALAR >::_addChild_(), gum::StaticTriangulation::_triangulate_(), gum::learning::GreedyHillClimbing::learnStructure(), gum::learning::LocalSearchWithTabuList::learnStructure(), nodesPropertyFromFunction(), nodesPropertyFromVal(), gum::BayesBall::relevantTensors(), gum::dSeparationAlgorithm::relevantTensors(), gum::BayesBall::requisiteNodes(), gum::dSeparationAlgorithm::requisiteNodes(), gum::StaticTriangulation::setGraph(), gum::DAGmodel::size(), gum::prm::gspan::Pattern::size(), gum::UGmodel::size(), and gum::UndiGraph::toDot().
| INLINE Size gum::NodeGraphPart::sizeNodes | ( | ) | const |
returns the number of nodes in the NodeGraphPart
Definition at line 284 of file nodeGraphPart_inl.h.
References _boundVal_, and _holes_.
Referenced by gum::BinaryJoinTreeConverterDefault::_markConnectedComponent_(), asNodeSet(), gum::BinaryJoinTreeConverterDefault::convert(), emptyNodes(), and size().
|
virtual |
a function to display the set of nodes
Reimplemented in gum::CliqueGraph, gum::DiGraph, gum::MixedGraph, and gum::UndiGraph.
Definition at line 124 of file nodeGraphPart.cpp.
References _boundVal_, and _inHoles_().
Referenced by gum::operator<<(), populateNodesFromProperty(), gum::DiGraph::toString(), gum::MixedGraph::toString(), and gum::UndiGraph::toString().
|
friend |
to enable testunits to use check
Definition at line 484 of file nodeGraphPart.h.
References _addHole_(), _clearNodes_(), _eraseHole_(), _inHoles_(), _sizeHoles_(), _updateEndIteratorSafe_(), and gum_tests::NodeGraphPartTestSuite.
Referenced by gum_tests::NodeGraphPartTestSuite.
|
friend |
Definition at line 479 of file nodeGraphPart.h.
References NodeGraphPartIterator.
Referenced by begin(), end(), and NodeGraphPartIterator.
|
friend |
Definition at line 480 of file nodeGraphPart.h.
References NodeGraphPartIteratorSafe.
Referenced by beginSafe(), endSafe(), and NodeGraphPartIteratorSafe.
|
private |
the id below which NodeIds may belong to the NodeGraphPart
Definition at line 528 of file nodeGraphPart.h.
Referenced by NodeGraphPart(), NodeGraphPart(), _addHole_(), _clearNodes_(), _updateEndIteratorSafe_(), addNode(), addNodeWithId(), asNodeSet(), bound(), existsNode(), nextNodeId(), operator==(), populateNodes(), sizeNodes(), and toString().
|
private |
the end iterator (used to speed-up parsings of the NodeGraphPart)
Definition at line 525 of file nodeGraphPart.h.
Referenced by NodeGraphPart(), NodeGraphPart(), _updateEndIteratorSafe_(), end(), and endSafe().
|
private |
the set of nodes not contained in the NodeGraphPart in the interval 1.
. max
Definition at line 516 of file nodeGraphPart.h.
Referenced by NodeGraphPart(), NodeGraphPart(), ~NodeGraphPart(), _addHole_(), _clearNodes_(), _eraseHole_(), _inHoles_(), _sizeHoles_(), addNode(), addNodeWithId(), nextNodeId(), operator==(), populateNodes(), and sizeNodes().
|
private |
value for holes configuration
Definition at line 522 of file nodeGraphPart.h.
Referenced by NodeGraphPart(), NodeGraphPart(), _addHole_(), addNodeWithId(), and populateNodes().
|
private |
value for holes configuration
Definition at line 519 of file nodeGraphPart.h.
Referenced by NodeGraphPart(), NodeGraphPart(), _addHole_(), addNodeWithId(), and populateNodes().
| Signaler1< NodeId > gum::NodeGraphPart::onNodeAdded |
Definition at line 289 of file nodeGraphPart.h.
Referenced by addNode(), and addNodeWithId().
| Signaler1< NodeId > gum::NodeGraphPart::onNodeDeleted |
Definition at line 290 of file nodeGraphPart.h.
Referenced by _clearNodes_(), and eraseNode().