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
All rights reserved.
5
6
See LICENSE.txt for details of the licensing agreement.
7
*/
8
9
#ifndef __YTLIB_DBN_GRAPH_H
10
#define __YTLIB_DBN_GRAPH_H
11
12
#include "ytGraph.h"
13
14
typedef
struct
ytDBNGraph_t
ytDBNGraph
;
15
ytDBNGraph
* ytDBNGraph_new(
int
p,
int
T,
ytGraph
* g);
16
int
ytDBNGraph_numNodes(
const
ytDBNGraph
*
this
);
17
int
ytDBNGraph_numEdges(
const
ytDBNGraph
*
this
);
18
int
ytDBNGraph_checkEdge(
const
ytDBNGraph
*
this
,
int
src,
int
dst);
19
int
ytDBNGraph_numParents(
const
ytDBNGraph
*
this
,
int
j);
20
const
int
* ytDBNGraph_getParents(
const
ytDBNGraph
*
this
,
int
j);
21
void
ytDBNGraph_setHybrid(
ytDBNGraph
*
this
,
int
hybrid);
22
23
#endif
/* __YTLIB_DBN_GRAPH_H */
ytDBNGraph
ytGraph
Interface class for handling graph structure.
Generated by
1.9.8