INGOR
Loading...
Searching...
No Matches
ytNetUtils.h
1/*
2 net/ytNetUtils.{h,c} : Utility functions for networks
3 Copyright (C) 2018, Yoshinori Tamada <tamada A T ytlab.jp>
4 All rights reserved.
5
6 See LICENSE.txt for details of the licensing agreement.
7*/
8#ifndef __YTLIB_NET_UTILS_H
9#define __YTLIB_NET_UTILS_H
10#include "ytNetwork.h"
11#include "util/ytData.h"
12int ytNetUtils_checkConsistency(const ytNetwork * network, const ytData * data,
13 const char * name);
14void ytNetUtils_countParentTypes(const ytNetwork * network, const ytData * data,
15 int * mp, int * mc, int * md);
16void ytNetUtils_countParentType(const ytData * data,
17 int j, const int * parents, int q,
18 int * nc, int * nd);
19int ytNetUtils_dataToNetMap(const ytData * data, const ytNetwork * network, int * map);
20int ytNetUtils_netToDataMap(const ytNetwork * network, const ytData * data, int * map);
21void ytNetUtils_countParentTypes2(const ytNetwork * network, const ytData * data,
22 const int * rmap, int * mp, int * mc, int * md);
23#endif /* __YTLIB_NET_UTILS_H */
Network abstraction.
General data container.
Definition ytData.h:46