-
Notifications
You must be signed in to change notification settings - Fork 0
/
lib.h
37 lines (28 loc) · 1.36 KB
/
lib.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
/*
* Authors: Joanna Masel, Alex Lancaster, Kun Xiong
* Copyright (c) 2018 Arizona Board of Regents on behalf of the University of Arizona
* This file is part of network-evolution-simulator.
* network-evolution-simulator is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
* network-evolution-simulator is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
* You should have received a copy of the GNU Affero General Public License
* along with network-evolution-simulator. If not, see <https://www.gnu.org/licenses/>.
*/
#ifndef LIB_H
#define LIB_H
#include <stdio.h>
#include "netsim.h"
#include "cellular_activity.h"
#include "netsim.h"
int add_fixed_event(int, float, FixedEvent **, FixedEvent **);
void delete_fixed_event(int, int, FixedEvent **, FixedEvent **);
void delete_fixed_event_from_head(FixedEvent **, FixedEvent **);
int check_concurrence(CellState *, float);
void free_fixedevent(CellState *);
void release_memory(Genotype*, Genotype *, RngStream *, RngStream[N_THREADS]);
#endif