36#ifndef __YTLIB_NETWORK_H
37#define __YTLIB_NETWORK_H
39#include "math/ytGraph.h"
40#include "util/ytArray.h"
41#include "net/ytNode.h"
42#include "net/ytEdge.h"
48void ytNetwork_dump(
ytNetwork *
this, FILE * fp);
49int ytNetwork_numNodes(
const ytNetwork *
this);
50int ytNetwork_numGraphNodes(
const ytNetwork *
this);
56int ytNetwork_degree(
const ytNetwork *
this,
int j);
57int ytNetwork_numParents(
const ytNetwork *
this,
int j);
58int ytNetwork_maxParents(
const ytNetwork *
this);
59int ytNetwork_numChildren(
const ytNetwork *
this,
int j);
60int ytNetwork_numEdges(
const ytNetwork *
this);
61const int * ytNetwork_getParents(
const ytNetwork *
this,
int j);
63int ytNetwork_getParentId(
const ytNetwork *
this,
int j,
int k);
66int ytNetwork_getPropertySize(
const ytNetwork *
this);
67const char * ytNetwork_getPropertyKey(
const ytNetwork *
this,
int i);
69int ytNetwork_findNode(
const ytNetwork *
this,
const char * name);
71void ytNetwork_setNodeProperty(
ytNetwork *
this,
int j,
const char * key,
ytObject * value);
77#include "util/ytMPI.h"
78void ytNetwork_MPI_Bcast(
ytNetwork ** pNetwork,
int root, MPI_Comm comm);
80int ytNetwork_test(
int argc,
char * argv[]);
Interface class for handling graph structure.
Definition ytNetwork.c:48
Network node.
Definition ytNode.h:42