45,258 research outputs found
Introspective Pushdown Analysis of Higher-Order Programs
In the static analysis of functional programs, pushdown flow analysis and
abstract garbage collection skirt just inside the boundaries of soundness and
decidability. Alone, each method reduces analysis times and boosts precision by
orders of magnitude. This work illuminates and conquers the theoretical
challenges that stand in the way of combining the power of these techniques.
The challenge in marrying these techniques is not subtle: computing the
reachable control states of a pushdown system relies on limiting access during
transition to the top of the stack; abstract garbage collection, on the other
hand, needs full access to the entire stack to compute a root set, just as
concrete collection does. \emph{Introspective} pushdown systems resolve this
conflict. Introspective pushdown systems provide enough access to the stack to
allow abstract garbage collection, but they remain restricted enough to compute
control-state reachability, thereby enabling the sound and precise product of
pushdown analysis and abstract garbage collection. Experiments reveal
synergistic interplay between the techniques, and the fusion demonstrates
"better-than-both-worlds" precision.Comment: Proceedings of the 17th ACM SIGPLAN International Conference on
Functional Programming, 2012, AC
Pruning, Pushdown Exception-Flow Analysis
Statically reasoning in the presence of exceptions and about the effects of
exceptions is challenging: exception-flows are mutually determined by
traditional control-flow and points-to analyses. We tackle the challenge of
analyzing exception-flows from two angles. First, from the angle of pruning
control-flows (both normal and exceptional), we derive a pushdown framework for
an object-oriented language with full-featured exceptions. Unlike traditional
analyses, it allows precise matching of throwers to catchers. Second, from the
angle of pruning points-to information, we generalize abstract garbage
collection to object-oriented programs and enhance it with liveness analysis.
We then seamlessly weave the techniques into enhanced reachability computation,
yielding highly precise exception-flow analysis, without becoming intractable,
even for large applications. We evaluate our pruned, pushdown exception-flow
analysis, comparing it with an established analysis on large scale standard
Java benchmarks. The results show that our analysis significantly improves
analysis precision over traditional analysis within a reasonable analysis time.Comment: 14th IEEE International Working Conference on Source Code Analysis
and Manipulatio
The Economics of Residential Solid Waste Management
This paper provides a broad overview of recent trends in solid waste and recycling, related public policy issues, and the economics literature devoted to these topics. Public attention to solid waste and recycling has increased dramatically over the past decade both in the United States and in Europe. In response, economists have developed models to help policy makers choose the efficient mix of policy levers to regulate solid waste and recycling activities. Economists have also employed different kinds of data to estimate the factors that contribute to the generation of residential solid waste and recycling and to estimate the effectiveness of many of the policy options employed.
Who witnesses The Witness? Finding witnesses in The Witness is hard and sometimes impossible
We analyze the computational complexity of the many types of
pencil-and-paper-style puzzles featured in the 2016 puzzle video game The
Witness. In all puzzles, the goal is to draw a simple path in a rectangular
grid graph from a start vertex to a destination vertex. The different puzzle
types place different constraints on the path: preventing some edges from being
visited (broken edges); forcing some edges or vertices to be visited
(hexagons); forcing some cells to have certain numbers of incident path edges
(triangles); or forcing the regions formed by the path to be partially
monochromatic (squares), have exactly two special cells (stars), or be singly
covered by given shapes (polyominoes) and/or negatively counting shapes
(antipolyominoes). We show that any one of these clue types (except the first)
is enough to make path finding NP-complete ("witnesses exist but are hard to
find"), even for rectangular boards. Furthermore, we show that a final clue
type (antibody), which necessarily "cancels" the effect of another clue in the
same region, makes path finding -complete ("witnesses do not exist"),
even with a single antibody (combined with many anti/polyominoes), and the
problem gets no harder with many antibodies. On the positive side, we give a
polynomial-time algorithm for monomino clues, by reducing to hexagon clues on
the boundary of the puzzle, even in the presence of broken edges, and solving
"subset Hamiltonian path" for terminals on the boundary of an embedded planar
graph in polynomial time.Comment: 72 pages, 59 figures. Revised proof of Lemma 3.5. A short version of
this paper appeared at the 9th International Conference on Fun with
Algorithms (FUN 2018
A Spatial Characterization of the Sagittarius Dwarf Galaxy Tidal Tails
We measure the spatial density of F turnoff stars in the Sagittarius dwarf
tidal stream, from Sloan Digital Sky Survey (SDSS) data, using statistical
photometric parallax. We find a set of continuous, consistent parameters that
describe the leading Sgr stream's position, direction, and width for 15 stripes
in the North Galactic Cap, and 3 stripes in the South Galactic Cap. We produce
a catalog of stars that has the density characteristics of the dominant leading
Sgr tidal stream that can be compared with simulations. We find that the width
of the leading (North) tidal tail is consistent with recent triaxial and
axisymmetric halo model simulations. The density along the stream is roughly
consistent common disruption models in the North, but possibly not in the
South. We explore the possibility that one or more of the dominant Sgr streams
has been mis-identified, and that one or more of the `bifurcated' pieces is the
real Sgr tidal tail, but we do not reach definite conclusions. If two dwarf
progenitors are assumed, fits to the planes of the dominant and `bifurcated'
tidal tails favor an association of the Sgr dwarf spheroidal galaxy with the
dominant Southern stream and the `bifurcated' stream in the North. In the North
Galactic Cap, the best fit Hernquist density profile for the smooth component
of the stellar halo is oblate, with a flattening parameter q = 0.53, and a
scale length of r_0 = 6.73. The Southern data for both the tidal debris and the
smooth component of the stellar halo do not match the model fits to the North,
although the stellar halo is still overwhelmingly oblate. Finally, we verify
that we can reproduce the parameter fits on the asynchronous Milkyway@home
volunteer computing platform.Comment: 35 pages, 8 figures, 9 tables. Accepted for publication in The
Astrophysical Journa
An eco-friendly hybrid urban computing network combining community-based wireless LAN access and wireless sensor networking
Computer-enhanced smart environments, distributed environmental monitoring, wireless communication, energy conservation and sustainable technologies, ubiquitous access to Internet-located data and services, user mobility and innovation as a tool for service differentiation are all significant contemporary research subjects and societal developments. This position paper presents the design of a hybrid municipal network infrastructure that, to a lesser or greater degree, incorporates aspects from each of these topics by integrating a community-based Wi-Fi access network with Wireless Sensor Network (WSN) functionality. The former component provides free wireless Internet connectivity by harvesting the Internet subscriptions of city inhabitants. To minimize session interruptions for mobile clients, this subsystem incorporates technology that achieves (near-)seamless handover between Wi-Fi access points. The WSN component on the other hand renders it feasible to sense physical properties and to realize the Internet of Things (IoT) paradigm. This in turn scaffolds the development of value-added end-user applications that are consumable through the community-powered access network. The WSN subsystem invests substantially in ecological considerations by means of a green distributed reasoning framework and sensor middleware that collaboratively aim to minimize the network's global energy consumption. Via the discussion of two illustrative applications that are currently being developed as part of a concrete smart city deployment, we offer a taste of the myriad of innovative digital services in an extensive spectrum of application domains that is unlocked by the proposed platform
- …