Class NetworkData¶
Data class for Networks. More...
#include <network.hpp>
Public Attributes¶
| Type | Name |
|---|---|
| bool | directed = [**true**](classCell.md) |
| std::vector< std::vector< double > > | vertex_attr |
Public Functions¶
| Type | Name |
|---|---|
| NetworkData () |
|
| NetworkData (std::vector< double > vertex_attr_, bool directed_=true) Constructor using a single attribute. |
|
| NetworkData (std::vector< std::vector< double > > vertex_attr_, bool directed_=true) Constructor using multiple attributes. |
|
| ~NetworkData () |
Detailed Description¶
Details on the available counters for NetworkData can be found in the Network counters section.
This holds information about whether the graph is directed or not, and, if defined, vectors of node (vertex) attributes (vertex_attr).
Public Attributes Documentation¶
variable directed¶
variable vertex_attr¶
Public Functions Documentation¶
function NetworkData [1/3]¶
function NetworkData [2/3]¶
Constructor using a single attribute.
Parameters:
vertex_attr_Double vector of length equal to the number of vertices in the data.directed_Whentruethe graph as treated as directed.
function NetworkData [3/3]¶
Constructor using multiple attributes.
inline NetworkData::NetworkData (
std::vector < std::vector < double > > vertex_attr_,
bool directed_=true
)
Parameters:
vertex_attr_Vector of double vectors. The size equals to the number of attributes to be created. Each individual vector should be of length equal to the number of vertices.directed_Whentruethe graph as treated as directed.
function ~NetworkData¶
The documentation for this class was generated from the following file include/barry/counters/network.hpp