#include <stdlib.h>
#include <math.h>
Go to the source code of this file.
Functions | |
double | binomial (int n, int k) |
double | log_binomial (int n, int k) |
double | nb_iter (int n, int k, int w, int p, int l) |
double | cout_iter (int n, int k, int p, int l) |
double | memory_compl (int n, int k, int p, int l) |
double | cout_total (int n, int k, int w, int p, int l) |
double | best_wf (int n, int k, int w, int p, int *lmin, double *mem) |
double | workfactor (int n, int k, int t) |
double best_wf | ( | int | n, | |
int | k, | |||
int | w, | |||
int | p, | |||
int * | lmin, | |||
double * | mem | |||
) |
Definition at line 96 of file workfactor.c.
References cout_total(), memory_compl(), and min.
Referenced by workfactor().
double binomial | ( | int | n, | |
int | k | |||
) |
double cout_iter | ( | int | n, | |
int | k, | |||
int | p, | |||
int | l | |||
) |
Definition at line 58 of file workfactor.c.
References binomial().
Referenced by cout_total().
double cout_total | ( | int | n, | |
int | k, | |||
int | w, | |||
int | p, | |||
int | l | |||
) |
Definition at line 88 of file workfactor.c.
References cout_iter(), and nb_iter().
Referenced by best_wf(), and workfactor().
double log_binomial | ( | int | n, | |
int | k | |||
) |
double memory_compl | ( | int | n, | |
int | k, | |||
int | p, | |||
int | l | |||
) |
Definition at line 78 of file workfactor.c.
References aux, and binomial().
Referenced by best_wf().
double nb_iter | ( | int | n, | |
int | k, | |||
int | w, | |||
int | p, | |||
int | l | |||
) |
Definition at line 48 of file workfactor.c.
References log_binomial().
Referenced by cout_total().
double workfactor | ( | int | n, | |
int | k, | |||
int | t | |||
) |
Definition at line 137 of file workfactor.c.
References best_wf(), cout_total(), and min.
Referenced by main().