INGOR
Loading...
Searching...
No Matches
ytBS.h
1/*
2 net/ytBS.{h,c} : Compiling bootstrapped 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
9#ifndef __YTLIB_BS_H
10#define __YTLIB_BS_H
11
12#include "util/ytStrArray.h"
13#include "io/ytIO.h"
14
15typedef struct ytBS_t ytBS;
16
17ytBS * ytBS_new(int nodes);
18ytStrArray * ytBS_generateFiles(const char * prefix, const char * suffix,
19 int digits, int bg, int ed);
20ytNetwork * ytBS_firstNetwork(ytStrArray * fileNames, ytKeyValues * args,
21 ytIO_reader reader);
22void ytBS_setNetwork(ytBS * this, ytNetwork * network);
23void ytBS_setDaMode(ytBS * this, int mode);
24void ytBS_setVerbose(ytBS * this, int level);
25int ytBS_processFiles(ytBS * this, ytIO_reader reader, ytStrArray * files,
26 ytKeyValues * fileArgs,
27 const char * freqKey, const char * totalKey);
28
29ytNetwork * ytBS_compile(ytBS * this, double th, int total, int cmp, int dynamic);
30
31#endif /* __YTLIB_BS_H */
Compiling bootstrapped networks.
key-value pairs.
Network abstraction.
Expandable array.
Definition ytBS.c:25