CBMC
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
format_number_range.h
Go to the documentation of this file.
1/*******************************************************************\
2
3Module: Format vector of numbers into a compressed range
4
5Author: Daniel Kroening, kroening@kroening.com
6
7\*******************************************************************/
8
11
12#ifndef CPROVER_UTIL_FORMAT_NUMBER_RANGE_H
13#define CPROVER_UTIL_FORMAT_NUMBER_RANGE_H
14
15#include "mp_arith.h"
16
17#include <string>
18#include <vector>
19
20std::string format_number_range(const std::vector<mp_integer> &);
21
24std::vector<mp_integer> parse_number_range(const std::string &);
25
26#endif // CPROVER_UTIL_FORMAT_NUMBER_RANGE_H
std::string format_number_range(const std::vector< mp_integer > &)
create shorter representation for output
std::vector< mp_integer > parse_number_range(const std::string &)
Parse a compressed range into a vector of numbers, e.g.