2,343 research outputs found
Evolutionary improvement of programs
Most applications of genetic programming (GP) involve the creation of an entirely new function, program or expression to solve a specific problem. In this paper, we propose a new approach that applies GP to improve existing software by optimizing its non-functional properties such as execution time, memory usage, or power consumption. In general, satisfying non-functional requirements is a difficult task and often achieved in part by optimizing compilers. However, modern compilers are in general not always able to produce semantically equivalent alternatives that optimize non-functional properties, even if such alternatives are known to exist: this is usually due to the limited local nature of such optimizations. In this paper, we discuss how best to combine and extend the existing evolutionary methods of GP, multiobjective optimization, and coevolution in order to improve existing software. Given as input the implementation of a function, we attempt to evolve a semantically equivalent version, in this case optimized to reduce execution time subject to a given probability distribution of inputs. We demonstrate that our framework is able to produce non-obvious optimizations that compilers are not yet able to generate on eight example functions. We employ a coevolved population of test cases to encourage the preservation of the function's semantics. We exploit the original program both through seeding of the population in order to focus the search, and as an oracle for testing purposes. As well as discussing the issues that arise when attempting to improve software, we employ rigorous experimental method to provide interesting and practical insights to suggest how to address these issues
JVM-hosted languages: They talk the talk, but do they walk the walk?
The rapid adoption of non-Java JVM languages is impressive: major international corporations are staking critical parts of their software infrastructure on components built from languages such as
Scala and Clojure. However with the possible exception of Scala,
there has been little academic consideration and characterization
of these languages to date. In this paper, we examine four nonJava JVM languages and use exploratory data analysis techniques
to investigate differences in their dynamic behavior compared to
Java. We analyse a variety of programs and levels of behavior to
draw distinctions between the different programming languages.
We briefly discuss the implications of our findings for improving
the performance of JIT compilation and garbage collection on the
JVM platform
Searching for invariants using genetic programming and mutation testing
Invariants are concise and useful descriptions of a program's behaviour. As most programs are not annotated with invariants, previous research has attempted to automatically generate them from source code. In this paper, we propose a new approach to invariant generation using search. We reuse the trace generation front-end of existing tool Daikon and integrate it with genetic programming and a mutation testing tool. We demonstrate that our system can find the same invariants through search that Daikon produces via template instantiation, and we also find useful invariants that Daikon does not. We then present a method of ranking invariants such that we can identify those that are most interesting, through a novel application of program mutation
Columnar defects and vortex fluctuations in layered superconductors
We investigate fluctuations of Josephson-coupled pancake vortices in layered
superconductors in the presence of columnar defects. We study the
thermodynamics of a single pancake stack pinned by columnar defects and obtain
the temperature dependence of localization length, pinning energy and critical
current. We study the creep regime and compute the crossover current between
line-like creep and pancake-like creep motion. We find that columnar defects
effectively increase interlayer Josephson coupling by suppressing thermal
fluctuations of pancakes. This leads to an upward shift in the decoupling line
most pronounced around the matching field.Comment: 5 pages, REVTeX, no figure
Very long optical path-length from a compact multi-pass cell
The multiple-pass optical cell is an important tool for laser absorption
spectroscopy and its many applications. For most practical applications, such
as trace-gas detection, a compact and robust design is essential. Here we
report an investigation into a multi-pass cell design based on a pair of
cylindrical mirrors, with a particular focus on achieving very long optical
paths. We demonstrate a path-length of 50.31 m in a cell with 40 mm diameter
mirrors spaced 88.9 mm apart - a 3-fold increase over the previously reported
longest path-length obtained with this type of cell configuration. We
characterize the mechanical stability of the cell and describe the practical
conditions necessary to achieve very long path-lengths
Feasibility Study for a Correlation Electron Cyclotron Emission Turbulence Diagnostic Based on Nonlinear Gyrokinetic Simulations
Expansion algorithm for the density matrix
A purification algorithm for expanding the single-particle density matrix in
terms of the Hamiltonian operator is proposed. The scheme works with a
predefined occupation and requires less than half the number of matrix-matrix
multiplications compared to existing methods at low (90%)
occupancy. The expansion can be used with a fixed chemical potential in which
case it is an asymmetric generalization of and a substantial improvement over
grand canonical McWeeny purification. It is shown that the computational
complexity, measured as number of matrix multiplications, essentially is
independent of system size even for metallic materials with a vanishing band
gap.Comment: 5 pages, 4 figures, to appear in Phys. Rev.
Electronic and Magnetic Properties of Nanographite Ribbons
Electronic and magnetic properties of ribbon-shaped nanographite systems with
zigzag and armchair edges in a magnetic field are investigated by using a tight
binding model. One of the most remarkable features of these systems is the
appearance of edge states, strongly localized near zigzag edges. The edge state
in magnetic field, generating a rational fraction of the magnetic flux (\phi=
p/q) in each hexagonal plaquette of the graphite plane, behaves like a
zero-field edge state with q internal degrees of freedom. The orbital
diamagnetic susceptibility strongly depends on the edge shapes. The reason is
found in the analysis of the ring currents, which are very sensitive to the
lattice topology near the edge. Moreover, the orbital diamagnetic
susceptibility is scaled as a function of the temperature, Fermi energy and
ribbon width. Because the edge states lead to a sharp peak in the density of
states at the Fermi level, the graphite ribbons with zigzag edges show
Curie-like temperature dependence of the Pauli paramagnetic susceptibility.
Hence, it is shown that the crossover from high-temperature diamagnetic to
low-temperature paramagnetic behavior of the magnetic susceptibility of
nanographite ribbons with zigzag edges.Comment: 13 pages including 19 figures, submitted to Physical Rev
Real-space local polynomial basis for solid-state electronic-structure calculations: A finite-element approach
We present an approach to solid-state electronic-structure calculations based
on the finite-element method. In this method, the basis functions are strictly
local, piecewise polynomials. Because the basis is composed of polynomials, the
method is completely general and its convergence can be controlled
systematically. Because the basis functions are strictly local in real space,
the method allows for variable resolution in real space; produces sparse,
structured matrices, enabling the effective use of iterative solution methods;
and is well suited to parallel implementation. The method thus combines the
significant advantages of both real-space-grid and basis-oriented approaches
and so promises to be particularly well suited for large, accurate ab initio
calculations. We develop the theory of our approach in detail, discuss
advantages and disadvantages, and report initial results, including the first
fully three-dimensional electronic band structures calculated by the method.Comment: replacement: single spaced, included figures, added journal referenc
Quantum-fluctuation-induced collisions and subsequent excitation gap of an elastic string between walls
An elastic string embedded between rigid walls is simulated by means of the
density-matrix renormalization group. The string collides against the walls
owing to the quantum-mechanical zero-point fluctuations. Such ``quantum
entropic'' interaction has come under thorough theoretical investigation in the
context of the stripe phase observed experimentally in doped cuprates. We found
that the excitation gap opens in the form of exponential singularity DeltaE ~
exp(-Ad^sigma) (d: wall spacing) with the exponent sigma =0.6(3), which is
substantially smaller than the meanfield value sigma=2. That is, the excitation
gap is much larger than that anticipated from meanfield, suggesting that the
string is subjected to robust pinning potential due to the quantum collisions.
This feature supports Zaanen's ``order out of disorder'' mechanism which would
be responsible to the stabilization of the stripe phase
- …
