31 lines
1.2 KiB
C++
31 lines
1.2 KiB
C++
#ifndef FED_H
|
|
#define FED_H
|
|
|
|
//******************************************************************************
|
|
//******************************************************************************
|
|
|
|
// Includes
|
|
#include <iostream>
|
|
#include <stdlib.h>
|
|
#include <stdio.h>
|
|
#include <cstdlib>
|
|
#include <math.h>
|
|
#include <vector>
|
|
|
|
//*************************************************************************************
|
|
//*************************************************************************************
|
|
|
|
// Declaration of functions
|
|
int fed_tau_by_process_time(const float& T, const int& M, const float& tau_max,
|
|
const bool& reordering, std::vector<float>& tau);
|
|
int fed_tau_by_cycle_time(const float& t, const float& tau_max,
|
|
const bool& reordering, std::vector<float> &tau) ;
|
|
int fed_tau_internal(const int& n, const float& scale, const float& tau_max,
|
|
const bool& reordering, std::vector<float> &tau);
|
|
bool fed_is_prime_internal(const int& number);
|
|
|
|
//*************************************************************************************
|
|
//*************************************************************************************
|
|
|
|
#endif // FED_H
|