INGOR
Loading...
Searching...
No Matches
math
ytDBNGraph.h
1
/*
2
math/ytDBNGraph.{h,c} : N-partite graph for dynamic model.
3
Copyright (C) 2021, Yoshinori Tamada <tamada A T ytlab.jp>
4
*/
5
6
#ifndef __YTLIB_DBN_GRAPH_H
7
#define __YTLIB_DBN_GRAPH_H
8
9
#include "ytGraph.h"
10
11
typedef
struct
ytDBNGraph_t
ytDBNGraph
;
12
ytDBNGraph
* ytDBNGraph_new(
int
p,
int
T,
ytGraph
* g);
13
int
ytDBNGraph_numNodes(
const
ytDBNGraph
*
this
);
14
int
ytDBNGraph_numEdges(
const
ytDBNGraph
*
this
);
15
int
ytDBNGraph_checkEdge(
const
ytDBNGraph
*
this
,
int
src,
int
dst);
16
int
ytDBNGraph_numParents(
const
ytDBNGraph
*
this
,
int
j);
17
const
int
* ytDBNGraph_getParents(
const
ytDBNGraph
*
this
,
int
j);
18
void
ytDBNGraph_setHybrid(
ytDBNGraph
*
this
,
int
hybrid);
19
20
#endif
/* __YTLIB_DBN_GRAPH_H */
ytDBNGraph
ytGraph
Interface class for handling graph structure.
Generated by
1.9.8