libgsjj  1
Deterministic finite automata learning library
Namespaces | Functions
binary.h File Reference

This file declares the function to convert a number in its decimal form to its binary form and vice-versa. More...

#include <vector>
Include dependency graph for binary.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 gsjj
 The namespace of the library.
 

Functions

std::vector< bool > gsjj::decimal_to_binary (unsigned int dec_number, unsigned int size)
 Converts a number in decimal form to binary form. More...
 
unsigned int gsjj::binary_to_decimal (const std::vector< bool > &binary_number)
 Converts a number in binary form to decimal form. More...
 

Detailed Description

This file declares the function to convert a number in its decimal form to its binary form and vice-versa.

Definition in file binary.h.