|
using | NodeRef = typename Graph< T, U... >::NodeRef |
|
using | EdgeRef = typename Graph< T, U... >::EdgeRef |
|
using | Callback = std::function< void(Node< T, U... > *)> |
|
|
| Node (T &&data) |
| Create a node with data.
|
|
| Node () |
| Create an empty node.
|
|
| Node (Node &&)=default |
|
| Node (const Node &)=delete |
|
Node & | operator= (const Node &)=delete |
|
void | addInEdge (EdgeRef e) |
| Adds an edge by reference to known in-edges. More...
|
|
void | addOutEdge (EdgeRef e) |
| Adds an edge by reference to known out-edges. More...
|
|
void | removeInEdge (EdgeRef e) |
| Removes an edge by reference to known in-edges. More...
|
|
void | removeOutEdge (EdgeRef e) |
| Removes an edge by reference to known out-edges. More...
|
|
const std::vector< EdgeRef > & | getOutEdges () const |
|
const std::vector< EdgeRef > & | getInEdges () const |
|
void | setInEdges (std::vector< EdgeRef > edges) |
|
void | setOutEdges (std::vector< EdgeRef > edges) |
|
| StorageType (T &&data) |
|
| StorageType (const T &data)=delete |
|
const T & | data () const |
|
T * | mutableData () |
|
void | resetData (T &&data) |
|
Callback * | registerDestructorCallback (Callback fn) |
|
Callback * | registerNotificationCallback (Callback fn) |
|
void | deleteCallback (std::list< Callback > &callbackList, Callback *toDelete) |
|
void | deleteDestructorCallback (Callback *c) |
|
void | deleteNotificationCallback (Callback *c) |
|
void | notify () |
| Notifies all listeners (registerNotificationCallback users) of an update. More...
|
|
template<typename T, typename... U>
class nom::Node< T, U >
Definition at line 32 of file Graph.h.
template<typename T , typename... U>
Adds an edge by reference to known in-edges.
e
A reference to an edge that will be added as an in-edge.
Definition at line 94 of file Graph.h.
template<typename T , typename... U>
Adds an edge by reference to known out-edges.
e
A reference to an edge that will be added as an out-edge.
Definition at line 100 of file Graph.h.
template<typename T , typename... U>
Removes an edge by reference to known in-edges.
e
A reference to an edge that will be removed from in-edges.
Definition at line 106 of file Graph.h.
template<typename T , typename... U>
void nom::Node< T, U >::removeOutEdge |
( |
EdgeRef |
e | ) |
|
|
inline |
Removes an edge by reference to known out-edges.
e
A reference to an edge that will be removed from out-edges.
Definition at line 112 of file Graph.h.
The documentation for this class was generated from the following file:
- caffe2/core/nomnigraph/include/nomnigraph/Graph/Graph.h