Page MenuHomePhorge

Lookuptable.h
No OneTemporary

Size
778 B
Referenced Files
None
Subscribers
None

Lookuptable.h

#ifndef LOOKUPTABLE_HEADERFILE
#define LOOKUPTABLE_HEADERFILE
#include "Module.h"
#include "Range.h"
#define MAX_NUM_OF_RANGES 10
#define INCLUDED true
#define EXCLUDED false
class Lookuptable : public Module {
private:
bool lookuptable_is_correct_and_active;
unsigned int num_of_ranges;
Range list_of_ranges[MAX_NUM_OF_RANGES];
public:
Lookuptable();
Lookuptable(char* name);
bool add_range_to_lookuptable(int score, float lower_boundary, bool flag_lower_boundary_included, float upper_boundary, bool flag_upper_boundary_included);
bool check_sort_and_activate();
bool get_lookuptable_is_correct_and_active();
int get_score(float input);
//testing/debugging functions
void printf_ranges();
};
#endif

File Metadata

Mime Type
text/x-c++
Expires
Sun, Mar 1, 10:24 PM (21 h, 23 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
281262
Default Alt Text
Lookuptable.h (778 B)

Event Timeline