![]() |
Awali
Another Weighted Automata library
|
Data Structures | |
| class | equal_to |
| This is useful to make hashes with labels or weights as keys without using non-default constructors; to be used along with utils::hash. More... | |
| class | hash |
| This is useful to make hashes with labels or weights as keys without using non-default constructors; to be used along with utils::equal_to. More... | |
| struct | min_heap |
Functions | |
| ATTRIBUTE_CONST unsigned int | gcd (unsigned int a, unsigned int b) |
| template<typename F , typename S > | |
| std::size_t | hash_value (const std::pair< F, S > &p) |
| template<class T > | |
| std::size_t | hash_value (const T &v) |
| ATTRIBUTE_CONST unsigned int | lcm (unsigned int a, unsigned int b) |
| ATTRIBUTE_CONST int | max (int a, int b) |
| ATTRIBUTE_CONST int | min (int a, int b) |
| ATTRIBUTE_CONST unsigned int awali::utils::gcd | ( | unsigned int | a, |
| unsigned int | b | ||
| ) |
| std::size_t awali::utils::hash_value | ( | const std::pair< F, S > & | p | ) |
| std::size_t awali::utils::hash_value | ( | const T & | v | ) |
| ATTRIBUTE_CONST unsigned int awali::utils::lcm | ( | unsigned int | a, |
| unsigned int | b | ||
| ) |
| ATTRIBUTE_CONST int awali::utils::max | ( | int | a, |
| int | b | ||
| ) |
| ATTRIBUTE_CONST int awali::utils::min | ( | int | a, |
| int | b | ||
| ) |