Edge class for goFactorGraph.
More...
#include <gofactorgraph.h>
|
| goFGEdge (goFGNode< T, Tfloat > *n1=0, goFGNode< T, Tfloat > *n2=0) |
|
MessageType & | getInMsg (const goFGNode< T, Tfloat > *askingNode) |
| Get message coming in to askingNode . More...
|
|
MessageType & | getOutMsg (const goFGNode< T, Tfloat > *askingNode) |
| Get message going out from askingNode . More...
|
|
MessageType & | getMsg12 () |
|
MessageType & | getMsg21 () |
|
void | setNodes (goFGNode< T, Tfloat > *n1, goFGNode< T, Tfloat > *n2) |
|
goFGNode< T, Tfloat > * | getOtherNode (const goFGNode< T, Tfloat > *askingNode) |
|
goIndex_t | getIndex (const goFGNode< T, Tfloat > *askingNode) |
| Get index of this edge in adj array. More...
|
|
void | setIndex (goIndex_t i1, goIndex_t i2) |
| Set index of this edge in adj elements of nodes. More...
|
|
|
| goGraphEdge (goFGNode< T, Tfloat > *n1=0, goFGNode< T, Tfloat > *n2=0) |
|
goFGNode< T, Tfloat > * | myNode1 |
|
goFGNode< T, Tfloat > * | myNode2 |
|
goIndex_t | myIndex1 |
|
goIndex_t | myIndex2 |
|
template<class T, class Tfloat>
class goFGEdge< T, Tfloat >
Edge class for goFactorGraph.
◆ getInMsg()
template<class T, class Tfloat>
Get message coming in to askingNode
.
- Parameters
-
askingNode | Must be one of the nodes this edge is connected to. |
- Returns
- The incoming message for
askingNode
.
◆ getOutMsg()
template<class T, class Tfloat>
Get message going out from askingNode
.
- Parameters
-
askingNode | Must be one of the nodes this edge is connected to. |
- Returns
- The outgoing message from
askingNode
.
The documentation for this class was generated from the following file: