INGOR
Public Member Functions | List of all members
ytBS Class Reference

Compiling bootstrapped networks. More...

#include <net/ytBS.h>

Public Member Functions

ytBSytBS_new (int nodes)
 Generates a new ytBS instance.
 
void ytBS_setNetwork (ytBS *this, ytNetwork *network)
 
ytStrArrayytBS_generateFiles (const char *prefix, const char *suffix, int digits, int bg, int ed)
 Generates the file names to be processed. More...
 
ytNetworkytBS_firstNetwork (ytStrArray *fileNames, ytKeyValues *args, ytIO_reader reader)
 Reads the first network.
 
int ytBS_processFiles (ytBS *this, ytIO_reader reader, ytStrArray *files, ytKeyValues *fileArgs, const char *freqKey, const char *totalKey)
 Processes network files.
 
ytNetworkytBS_compile (ytBS *this, double th, int total, int cmp, int dynamic)
 Compiles processed networks.
 

Detailed Description

Compiling bootstrapped networks.

See also
ytNetwork

Member Function Documentation

◆ ytBS_generateFiles()

ytStrArray * ytBS_generateFiles ( const char *  prefix,
const char *  suffix,
int  digits,
int  bg,
int  ed 
)

Generates the file names to be processed.

This routine simply generates a set of file names to be processed from the file prefix and numbering information such as the number of suffix digits, the initial number and the last number.

The generated file names are returned as a string array (ytStrArray), and can be used as an input for ytBS_firstNetwork() and ytBS_processFiles().

Parameters
prefixFile prefix
suffix
digitsThe number of digits of the suffix.
bg
ed
Returns
File names.

The documentation for this class was generated from the following file: