9#ifndef __YTLIB_NETWORK_H
10#define __YTLIB_NETWORK_H
12#include "math/ytGraph.h"
13#include "util/ytArray.h"
14#include "net/ytNode.h"
15#include "net/ytEdge.h"
21void ytNetwork_dump(
ytNetwork *
this, FILE * fp);
22int ytNetwork_numNodes(
const ytNetwork *
this);
23int ytNetwork_numGraphNodes(
const ytNetwork *
this);
29int ytNetwork_degree(
const ytNetwork *
this,
int j);
30int ytNetwork_numParents(
const ytNetwork *
this,
int j);
31int ytNetwork_maxParents(
const ytNetwork *
this);
32int ytNetwork_numChildren(
const ytNetwork *
this,
int j);
33int ytNetwork_numEdges(
const ytNetwork *
this);
34const int * ytNetwork_getParents(
const ytNetwork *
this,
int j);
36int ytNetwork_getParentId(
const ytNetwork *
this,
int j,
int k);
39int ytNetwork_getPropertySize(
const ytNetwork *
this);
40const char * ytNetwork_getPropertyKey(
const ytNetwork *
this,
int i);
42int ytNetwork_findNode(
const ytNetwork *
this,
const char * name);
44void ytNetwork_setNodeProperty(
ytNetwork *
this,
int j,
const char * key,
ytObject * value);
50#include "util/ytMPI.h"
51void ytNetwork_MPI_Bcast(
ytNetwork ** pNetwork,
int root, MPI_Comm comm);
53int ytNetwork_test(
int argc,
char * argv[]);
Interface class for handling graph structure.
Definition ytNetwork.c:21
Network node.
Definition ytNode.h:15