|
libgsjj
1
Deterministic finite automata learning library
|
The namespace of the library. More...
Namespaces | |
| passive | |
| Defines the passive methods for automatically learning deterministic finite automata. | |
Classes | |
| class | DFA |
| A Deterministic Finite Automaton. More... | |
Functions | |
| std::vector< bool > | decimal_to_binary (unsigned int dec_number, unsigned int size) |
| Converts a number in decimal form to binary form. More... | |
| unsigned int | binary_to_decimal (const std::vector< bool > &binary_number) |
| Converts a number in binary form to decimal form. More... | |
The namespace of the library.
| unsigned int gsjj::binary_to_decimal | ( | const std::vector< bool > & | binary_number | ) |
Converts a number in binary form to decimal form.
| binary_number | The number in its binary form |
Definition at line 37 of file binary.cpp.
| std::vector< bool > gsjj::decimal_to_binary | ( | unsigned int | dec_number, |
| unsigned int | size | ||
| ) |
Converts a number in decimal form to binary form.
The binary form is stored in a vector of boolean values (just like a number written in binary).
| dec_number | The number in its decimal form |
| size | The size of the binary form ( ) |
Definition at line 12 of file binary.cpp.
1.8.13