barry: Your go-to motif accountant
0.0-1
Full enumeration of sample space and fast count of sufficient statistics for binary arrays
|
Data class for Networks. More...
#include <network.hpp>
Public Member Functions | |
NetworkData () | |
NetworkData (std::vector< double > vertex_attr_, bool directed_=true) | |
Constructor using a single attribute. More... | |
NetworkData (std::vector< std::vector< double > > vertex_attr_, bool directed_=true) | |
Constructor using multiple attributes. More... | |
~NetworkData () | |
Public Attributes | |
bool | directed = true |
std::vector< std::vector< double > > | vertex_attr |
Data class for Networks.
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
).
Definition at line 19 of file network.hpp.
|
inline |
Definition at line 25 of file network.hpp.
|
inline |
Constructor using a single attribute.
vertex_attr_ | Double vector of length equal to the number of vertices in the data. |
directed_ | When true the graph as treated as directed. |
Definition at line 33 of file network.hpp.
|
inline |
Constructor using multiple attributes.
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_ | When true the graph as treated as directed. |
Definition at line 45 of file network.hpp.
|
inline |
Definition at line 51 of file network.hpp.
bool NetworkData::directed = true |
Definition at line 22 of file network.hpp.
std::vector< std::vector< double > > NetworkData::vertex_attr |
Definition at line 23 of file network.hpp.