Statistics
| Branch: | Tag: | Revision:

sssimulator / overlay.h @ 72616bda

History | View | Annotate | Download (612 Bytes)

1
/*
2
 * This is SSSim: the Simple & Stupid Simulator
3
 *
4
 *  Copyright (c) 2015 Luca Baldesi
5
 *
6
 *  This is free software; see gpl-3.0.txt
7
 */
8

    
9
#ifndef __OVERLAY_H__
10
#define __OVERLAY_H__ 1
11

    
12
#include <matrix.h>
13

    
14
#include "core.h"
15

    
16
struct peer * overlay_from_parameters(int * npeers, int * neigh_size, int nchunks, int * buffer, int * playout_delay, struct peer * source);
17

    
18
struct peer * overlay_from_edgefile(const char * graphfile, int * npeers, int * neigh_size, int nchunks, int * buffer, int * playout_delay, struct peer * source);
19

    
20
void overlay_matrix_optimize(struct matrix ** A, struct matrix ** x);
21

    
22
#endif