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