MNE-CPP
0.1.9
A Framework for Electrophysiology
|
This class holds an object to describe the node of a network. More...
#include <networknode.h>
Public Types | |
typedef QSharedPointer< NetworkNode > | SPtr |
typedef QSharedPointer< const NetworkNode > | ConstSPtr |
Public Member Functions | |
NetworkNode (qint16 iId, const Eigen::RowVectorXf &vecVert) | |
const QList< QSharedPointer< NetworkEdge > > & | getFullEdges () const |
QList< QSharedPointer< NetworkEdge > > | getThresholdedEdges () const |
QList< QSharedPointer< NetworkEdge > > | getFullEdgesIn () const |
QList< QSharedPointer< NetworkEdge > > | getThresholdedEdgesIn () const |
QList< QSharedPointer< NetworkEdge > > | getFullEdgesOut () const |
QList< QSharedPointer< NetworkEdge > > | getThresholdedEdgesOut () const |
const Eigen::RowVectorXf & | getVert () const |
qint16 | getId () const |
qint16 | getFullDegree () const |
qint16 | getThresholdedDegree () const |
qint16 | getFullIndegree () const |
qint16 | getThresholdedIndegree () const |
qint16 | getFullOutdegree () const |
qint16 | getThresholdedOutdegree () const |
double | getFullStrength () const |
double | getThresholdedStrength () const |
double | getFullInstrength () const |
double | getThresholdedInstrength () const |
double | getFullOutstrength () const |
double | getThresholdedOutstrength () const |
void | setHubStatus (bool bIsHub) |
bool | getHubStatus () const |
void | append (QSharedPointer< NetworkEdge > newEdge) |
Protected Attributes | |
bool | m_bIsHub |
qint16 | m_iId |
Eigen::RowVectorXf | m_vecVert |
QList< QSharedPointer< NetworkEdge > > | m_lEdges |
This class holds an object to describe the node of a network.
This class holds an object to describe the node of a network.
Definition at line 81 of file networknode.h.
typedef QSharedPointer<const NetworkNode> CONNECTIVITYLIB::NetworkNode::ConstSPtr |
Const shared pointer type for NetworkNode.
Definition at line 86 of file networknode.h.
typedef QSharedPointer<NetworkNode> CONNECTIVITYLIB::NetworkNode::SPtr |
Shared pointer type for NetworkNode.
Definition at line 85 of file networknode.h.
|
explicit |
Constructs a NetworkNode object.
[in] | iId | The node's ID. |
[in] | vecVert | The node's 3D position. |
Definition at line 66 of file networknode.cpp.
void NetworkNode::append | ( | QSharedPointer< NetworkEdge > | newEdge | ) |
Appends a network edge to this network node. Automatically decides whether to add to the in or out edges.
[in] | newEdge | The new edge item. |
Definition at line 355 of file networknode.cpp.
qint16 NetworkNode::getFullDegree | ( | ) | const |
Returns node degree corresponding to the full network.
Definition at line 171 of file networknode.cpp.
const QList< QSharedPointer< NetworkEdge > > & NetworkNode::getFullEdges | ( | ) | const |
Returns the ingoing edges corresponding to the full network.
Definition at line 75 of file networknode.cpp.
QList< QSharedPointer< NetworkEdge > > NetworkNode::getFullEdgesIn | ( | ) | const |
Returns the ingoing edges corresponding to the full network.
Definition at line 97 of file networknode.cpp.
QList< QSharedPointer< NetworkEdge > > NetworkNode::getFullEdgesOut | ( | ) | const |
Returns the outgoing edges corresponding to the full network.
Definition at line 127 of file networknode.cpp.
qint16 NetworkNode::getFullIndegree | ( | ) | const |
Returns node indegree corresponding to the full network.
Definition at line 193 of file networknode.cpp.
double NetworkNode::getFullInstrength | ( | ) | const |
Returns node strength of all ingoing edges corresponding to the full network.
Definition at line 281 of file networknode.cpp.
qint16 NetworkNode::getFullOutdegree | ( | ) | const |
Returns node outdegree corresponding to the full network.
Definition at line 223 of file networknode.cpp.
double NetworkNode::getFullOutstrength | ( | ) | const |
Returns node strength of all outgoing edges corresponding to the full network.
Definition at line 311 of file networknode.cpp.
double NetworkNode::getFullStrength | ( | ) | const |
Returns node strength corresponding to the full network.
Definition at line 253 of file networknode.cpp.
bool NetworkNode::getHubStatus | ( | ) | const |
Returns flag describing whether this node is a hub or not.
Definition at line 348 of file networknode.cpp.
qint16 NetworkNode::getId | ( | ) | const |
qint16 NetworkNode::getThresholdedDegree | ( | ) | const |
Returns node degree corresponding to the thresholded network.
Definition at line 178 of file networknode.cpp.
QList< QSharedPointer< NetworkEdge > > NetworkNode::getThresholdedEdges | ( | ) | const |
Returns all edges corresponding to the thresholded network.
Definition at line 82 of file networknode.cpp.
QList< QSharedPointer< NetworkEdge > > NetworkNode::getThresholdedEdgesIn | ( | ) | const |
Returns the ingoing edges corresponding to the thresholded network.
Definition at line 112 of file networknode.cpp.
QList< QSharedPointer< NetworkEdge > > NetworkNode::getThresholdedEdgesOut | ( | ) | const |
Returns the outgoing edges corresponding to the thresholded network.
Definition at line 142 of file networknode.cpp.
qint16 NetworkNode::getThresholdedIndegree | ( | ) | const |
Returns node indegree corresponding to the thresholded network.
Definition at line 208 of file networknode.cpp.
double NetworkNode::getThresholdedInstrength | ( | ) | const |
Returns node strength of all ingoing edges corresponding to the thresholded network.
Definition at line 296 of file networknode.cpp.
qint16 NetworkNode::getThresholdedOutdegree | ( | ) | const |
Returns node outdegree corresponding to the thresholded network.
Definition at line 238 of file networknode.cpp.
double NetworkNode::getThresholdedOutstrength | ( | ) | const |
Returns node strength of all outgoing edges corresponding to the thresholded network.
Definition at line 326 of file networknode.cpp.
double NetworkNode::getThresholdedStrength | ( | ) | const |
Returns node strength corresponding to the thresholded network.
Definition at line 266 of file networknode.cpp.
const RowVectorXf & NetworkNode::getVert | ( | ) | const |
Returns the vertex (position) of the node.
Definition at line 157 of file networknode.cpp.
void NetworkNode::setHubStatus | ( | bool | bIsHub | ) |
Sets the hub status of this node.
[in] | bIsHub | New hub status for this node. |
Definition at line 341 of file networknode.cpp.
|
protected |
Whether this node is a hub.
Definition at line 282 of file networknode.h.
|
protected |
The node's ID.
Definition at line 284 of file networknode.h.
|
protected |
List with all incoming edges of the node.
Definition at line 288 of file networknode.h.
|
protected |
The 3D position of the node.
Definition at line 286 of file networknode.h.