Cache of graph vertices for output nodes, keyed by output source, used to speed up output computation on the graph.
More...
|
| | FMTOutputNodeCache ()=default |
| | Default constructor for FMTOutputNodeCache.
|
| |
| | FMTOutputNodeCache (const FMTOutputNodeCache &rhs)=default |
| | Copy constructor for FMTOutputNodeCache.
|
| |
| FMTOutputNodeCache & | operator= (const FMTOutputNodeCache &rhs)=default |
| | Copy assignment operator for FMTOutputNodeCache.
|
| |
| | ~FMTOutputNodeCache ()=default |
| | Default destructor for FMTOutputNodeCache.
|
| |
| | FMTOutputNodeCache (const std::vector< tvdescriptor > &initialnodes) |
| | Construct a cache from an initial set of nodes.
|
| |
| | FMTOutputNodeCache (const titerator &first, const titerator &last, std::allocator< tvdescriptor > &p_allocator, const size_t &p_reserve) |
| | Construct a cache from a range of nodes, an allocator and a reserve size.
|
| |
| void | eraseNode (const Core::FMTOutputNode &node) |
| | Erase a node from the cache.
|
| |
| bool | contains (const Core::FMTOutputNode &node) const |
| | Return true if the cache contains a node.
|
| |
| unsigned long long | removeLargest () |
| | Remove the largest entry of the cache and return the freed memory.
|
| |
| const std::vector< tvdescriptor > & | getVertices (const Core::FMTOutputNode &targetnode, const std::vector< Core::FMTAction > &actions, const std::vector< Core::FMTTheme > &themes, bool &exactvecticies) const |
| | Return the vertices for a target node, using the cache.
|
| |
| void | setValidVertices (const Core::FMTOutputNode &targetnode, const std::vector< tvdescriptor > &vertices) const |
| | Set the valid vertices for a target node in the cache.
|
| |
| void | clear () |
| | Clear the cache.
|
| |
| void | rebase (const titerator &beginofdevs, const titerator &endofdevs) |
| | Rebase the cache on a new range of developments.
|
| |
| void | insert (const FMTOutputNodeCache &rhs) |
| | Insert the content of another cache into this cache.
|
| |
| void | _pushToVector (std::vector< tvdescriptor > &refvecs) const |
| | Push the nodes of the cache into a vector.
|
| |
template<class tvdescriptor, class titerator>
class Graph::FMTOutputNodeCache< tvdescriptor, titerator >
Cache of graph vertices for output nodes, keyed by output source, used to speed up output computation on the graph.
- Template Parameters
-
| tvdescriptor | the vertex descriptor type. |
| titerator | the iterator type over the vertices. |