2,500 research outputs found
Measuring Coverage of Prolog Programs Using Mutation Testing
Testing is an important aspect in professional software development, both to
avoid and identify bugs as well as to increase maintainability. However,
increasing the number of tests beyond a reasonable amount hinders development
progress. To decide on the completeness of a test suite, many approaches to
assert test coverage have been suggested. Yet, frameworks for logic programs
remain scarce.
In this paper, we introduce a framework for Prolog programs measuring test
coverage using mutations. We elaborate the main ideas of mutation testing and
transfer them to logic programs. To do so, we discuss the usefulness of
different mutations in the context of Prolog and empirically evaluate them in a
new mutation testing framework on different examples.Comment: 16 pages, Accepted for presentation in WFLP 201
Multiferroicity in the generic easy-plane triangular lattice antiferromagnet RbFe(MoO4)2
RbFe(MoO4)2 is a quasi-two-dimensional (quasi-2D) triangular lattice
antiferromagnet (TLA) that displays a zero-field magnetically-driven
multiferroic phase with a chiral spin structure. By inelastic neutron
scattering, we determine quantitatively the spin Hamiltonian. We show that the
easy-plane anisotropy is nearly 1/3 of the dominant spin exchange, making
RbFe(MoO4)2 an excellent system for studying the physics of the model 2D
easy-plane TLA. Our measurements demonstrate magnetic-field induced
fluctuations in this material to stabilize the generic finite-field phases of
the 2D XY TLA. We further explain how Dzyaloshinskii-Moriya interactions can
generate ferroelectricity only in the zero field phase. Our conclusion is that
multiferroicity in RbFe(MoO4)2, and its absence at high fields, results from
the generic properties of the 2D XY TLA.Comment: 5 pages, 5 figures, accepted in PRB as a Rapid Communicatio
Double Fe-impurity charge state in the topological insulator BiSe
The influence of individual impurities of Fe on the electronic properties of
topological insulator BiSe is studied by Scanning Tunneling Microscopy.
The microscope tip is used in order to remotely charge/discharge Fe impurities.
The charging process is shown to depend on the impurity location in the
crystallographic unit cell, on the presence of other Fe impurities in the close
vicinity, as well as on the overall doping level of the crystal. We present a
qualitative explanation of the observed phenomena in terms of tip-induced local
band bending. Our observations evidence that the specific impurity neighborhood
and the position of the Fermi energy with respect to the Dirac point and bulk
bands have both to be taken into account when considering the electron
scattering on the disorder in topological insulators.Comment: 10 pages, accepted for publication in Applied Physics Letters, minor
bugs were correcte
Controlling light-with-light without nonlinearity
According to Huygens' superposition principle, light beams traveling in a
linear medium will pass though one another without mutual disturbance. Indeed,
it is widely held that controlling light signals with light requires intense
laser fields to facilitate beam interactions in nonlinear media, where the
superposition principle can be broken. We demonstrate here that two coherent
beams of light of arbitrarily low intensity can interact on a metamaterial
layer of nanoscale thickness in such a way that one beam modulates the
intensity of the other. We show that the interference of beams can eliminate
the plasmonic Joule losses of light energy in the metamaterial or, in contrast,
can lead to almost total absorbtion of light. Applications of this phenomenon
may lie in ultrafast all-optical pulse-recovery devices, coherence filters and
THz-bandwidth light-by-light modulators
Relativistic Structure, Stability and Gravitational Collapse of Charged Neutron Stars
Charged stars have the potential of becoming charged black holes or even
naked singularities. It is presented a set of numerical solutions of the
Tolman-Oppenheimer-Volkov equations that represents spherical charged compact
stars in hydrostatic equilibrium. The stellar models obtained are evolved
forward in time integrating the Einstein-Maxwell field equations. It is assumed
an equation of state of a neutron gas at zero temperature. The charge
distribution is taken as been proportional to the rest mass density
distribution. The set of solutions present an unstable branch, even with charge
to mass ratios arbitrarily close to the extremum case. It is performed a direct
check of the stability of the solutions under strong perturbations, and for
different values of the charge to mass ratio. The stars that are in the stable
branch oscillates and do not collapse, while models in the unstable branch
collapse directly to form black holes. Stars with a charge greater or equal
than the extreme value explode. When a charged star is suddenly discharged, it
don't necessarily collapse to form a black hole. A non-linear effect that gives
rise to the formation of an external shell of matter (see Ghezzi and Letelier
2005), is negligible in the present simulations. The results are in agreement
with the third law of black hole thermodynamics and with the cosmic censorship
conjecture.Comment: 27 pages, 14 figures, 4 tables, paper accepte
Chern-Simons like term generation in an extended model of QED under external conditions
The possibility of a Chern-Simons like term generation in an extended model
of QED, in which a Lorentz and CPT non-covariant interaction term for fermions
is present, has been investigated at finite temperature and in the presence of
a background color magnetic field. To this end, the photon polarization
operator in an external constant axial-vector field has been considered.
One-loop contributions to its antisymmetric component due to fermions in the
linear order of the axial-vector field have been obtained. Moreover, the first
nontrivial correction to the induced CS term due to the presence of a weak
constant homogeneous color magnetic field has been derived.Comment: RevTex, 10 pages with 3 figure
Experimental Vacuum Squeezing in Rubidium Vapor via Self-Rotation
We report the generation of optical squeezed vacuum states by means of
polarization self-rotation in rubidium vapor following a proposal by Matsko et
al. [Phys. Rev. A 66, 043815 (2002)]. The experimental setup, involving in
essence just a diode laser and a heated rubidium gas cell, is simple and easily
scalable. A squeezing of 0.85+-0.05 dB was achieved
Dynamics of an anisotropic Haldane antiferromagnet in strong magnetic field
We report the results of elastic and inelastic neutron scattering experiments
on the Haldane gap quantum antiferromagnet Ni(C5D14N2)2N3(PF6) performed at mK
temperatures in a wide range of magnetic field applied parallel to the S = 1
spin chains. Even though this geometry is closest to an ideal axially symmetric
configuration, the Haldane gap closes at the critical field Hc~4T, but reopens
again at higher fields. The field dependence of the two lowest magnon modes is
experimentally studied and the results are compared with the predictions of
several theoretical models. We conclude that of several existing theories, only
the recently proposed model [Zheludev et al., cond-mat/0301424 ] is able to
reproduce all the features observed experimentally for different field
orientations.Comment: 11 pages 8 figures submitted to Phys. Rev.
- …