2,339 research outputs found
Additive Volume of Sets Contained in Few Arithmetic Progressions
A conjecture of Freiman gives an exact formula for the largest volume of a
finite set of integers with given cardinality and doubling . The formula is known to hold when , for some small range
over and for families of structured sets called chains. In this paper we
extend the formula to sets of every dimension and prove it for sets composed of
three segments, giving structural results for the extremal case. A weaker
extension to sets composed of a bounded number of segments is also discussed.Comment: 16 page
The Search for the Laws of Automatic Random Testing
Can one estimate the number of remaining faults in a software system? A
credible estimation technique would be immensely useful to project managers as
well as customers. It would also be of theoretical interest, as a general law
of software engineering. We investigate possible answers in the context of
automated random testing, a method that is increasingly accepted as an
effective way to discover faults. Our experimental results, derived from
best-fit analysis of a variety of mathematical functions, based on a large
number of automated tests of library code equipped with automated oracles in
the form of contracts, suggest a poly-logarithmic law. Although further
confirmation remains necessary on different code bases and testing techniques,
we argue that understanding the laws of testing may bring significant benefits
for estimating the number of detectable faults and comparing different projects
and practices.Comment: 20 page
El Terreny fĂsico-quĂmic en la tuberculosi
A la part superior de la portada: Laboratori de BioquĂmica de l'Escola Superior d'AgriculturaBibliografi
C to O-O Translation: Beyond the Easy Stuff
Can we reuse some of the huge code-base developed in C to take advantage of
modern programming language features such as type safety, object-orientation,
and contracts? This paper presents a source-to-source translation of C code
into Eiffel, a modern object-oriented programming language, and the supporting
tool C2Eif. The translation is completely automatic and supports the entire C
language (ANSI, as well as many GNU C Compiler extensions, through CIL) as used
in practice, including its usage of native system libraries and inlined
assembly code. Our experiments show that C2Eif can handle C applications and
libraries of significant size (such as vim and libgsl), as well as challenging
benchmarks such as the GCC torture tests. The produced Eiffel code is
functionally equivalent to the original C code, and takes advantage of some of
Eiffel's object-oriented features to produce safe and easy-to-debug
translations
- âŠ