![]() |
Documentation of UrbanFireXDT
Documentation of UrbanFireXDT
|
#include "helper.h"#include <list>#include <memory>#include <string>#include <utility>#include <vector>
Functions | |
| list< list< pair< string, float > > > * | cartesian_product_internal (vector< pair< string, shared_ptr< vector< float > > > > &input, size_t start_index) |
| list< list< pair< string, float > > > * | cartesian_product (vector< pair< string, shared_ptr< vector< float > > > > &input) |
| int | compare_struct_tm (struct tm *a, struct tm *b) |
| float | round_float_n (float x, unsigned int decimal_places) |
| float | round_float_5 (double x) |
| float | round_float_5 (float x) |
| void | to_lowercase (std::string &s) |
| list< list< pair< string, float > > > * cartesian_product | ( | vector< pair< string, shared_ptr< vector< float > > > > & | input | ) |
| list< list< pair< string, float > > > * cartesian_product_internal | ( | vector< pair< string, shared_ptr< vector< float > > > > & | input, |
| size_t | start_index | ||
| ) |
| int compare_struct_tm | ( | struct tm * | a, |
| struct tm * | b | ||
| ) |
| float round_float_5 | ( | double | x | ) |
Rounds a double on 5 decimal places and returns it as a float
| float round_float_5 | ( | float | x | ) |
Rounds a float on 5 decimal places
| float round_float_n | ( | float | x, |
| unsigned int | decimal_places | ||
| ) |
Rounds a float on n decimal places
| void to_lowercase | ( | std::string & | s | ) |
Transform a std::string (only showing ASCII text) to a lower-case string. This is an example from https://en.cppreference.com/w/cpp/string/byte/tolower