Fair enumeration combinators

Author(s):  
MAX S. NEW ◽  
BURKE FETSCHER ◽  
ROBERT BRUCE FINDLER ◽  
JAY MCCARTHY

AbstractEnumerations represented as bijections between the natural numbers and elements of some given type have recently garnered interest in property-based testing because of their efficiency and flexibility. There are, however, many ways of defining these bijections, some of which are better than others. This paper offers a new property of enumeration combinators called fairness that identifies enumeration combinators that are better suited to property-based testing. Intuitively, the result of a fair combinator indexes into its argument enumerations equally when constructing its result. For example, extracting the nth element from our enumeration of three-tuples indexes about $\sqrt[3]{n}$ elements into each of its components instead of, say, indexing $\sqrt[2]{n}$ into one and $\sqrt[4]{n}$ into the other two, as you would if a three-tuple were built out of nested pairs. Similarly, extracting the nth element from our enumeration of a three-way union returns an element that is $\frac{n}{3}$ into one of the argument enumerators. The paper presents a semantics of enumeration combinators, a theory of fairness, proofs establishing fairness of our new combinators and that some combinations of fair combinators are not fair. We also report on an evaluation of fairness for the purpose of finding bugs in programming-language models. We show that fair enumeration combinators have complementary strengths to an existing, well-tuned ad hoc random generator (better on short time scales and worse on long time scales) and that using unfair combinators is worse across the board.

1984 ◽  
Vol 16 (3-4) ◽  
pp. 623-633
Author(s):  
M Loxham ◽  
F Weststrate

It is generally agreed that both the landfill option, or the civil techniques option for the final disposal of contaminated harbour sludge involves the isolation of the sludge from the environment. For short time scales, engineered barriers such as a bentonite screen, plastic sheets, pumping strategies etc. can be used. However for long time scales the effectiveness of such measures cannot be counted upon. It is thus necessary to be able to predict the long term environmenttal spread of contaminants from a mature landfill. A model is presented that considers diffusion and adsorption in the landfill site and convection and adsorption in the underlaying aquifer. From a parameter analysis starting form practical values it is shown that the adsorption behaviour and the molecular diffusion coefficient of the sludge, are the key parameters involved in the near field. The dilution effects of the far field migration patterns are also illustrated.


2017 ◽  
Vol 123 (2) ◽  
pp. 344-351 ◽  
Author(s):  
Luiz Eduardo Virgilio Silva ◽  
Renata Maria Lataro ◽  
Jaci Airton Castania ◽  
Carlos Alberto Aguiar Silva ◽  
Helio Cesar Salgado ◽  
...  

Heart rate variability (HRV) has been extensively explored by traditional linear approaches (e.g., spectral analysis); however, several studies have pointed to the presence of nonlinear features in HRV, suggesting that linear tools might fail to account for the complexity of the HRV dynamics. Even though the prevalent notion is that HRV is nonlinear, the actual presence of nonlinear features is rarely verified. In this study, the presence of nonlinear dynamics was checked as a function of time scales in three experimental models of rats with different impairment of the cardiac control: namely, rats with heart failure (HF), spontaneously hypertensive rats (SHRs), and sinoaortic denervated (SAD) rats. Multiscale entropy (MSE) and refined MSE (RMSE) were chosen as the discriminating statistic for the surrogate test utilized to detect nonlinearity. Nonlinear dynamics is less present in HF animals at both short and long time scales compared with controls. A similar finding was found in SHR only at short time scales. SAD increased the presence of nonlinear dynamics exclusively at short time scales. Those findings suggest that a working baroreflex contributes to linearize HRV and to reduce the likelihood to observe nonlinear components of the cardiac control at short time scales. In addition, an increased sympathetic modulation seems to be a source of nonlinear dynamics at long time scales. Testing nonlinear dynamics as a function of the time scales can provide a characterization of the cardiac control complementary to more traditional markers in time, frequency, and information domains. NEW & NOTEWORTHY Although heart rate variability (HRV) dynamics is widely assumed to be nonlinear, nonlinearity tests are rarely used to check this hypothesis. By adopting multiscale entropy (MSE) and refined MSE (RMSE) as the discriminating statistic for the nonlinearity test, we show that nonlinear dynamics varies with time scale and the type of cardiac dysfunction. Moreover, as complexity metrics and nonlinearities provide complementary information, we strongly recommend using the test for nonlinearity as an additional index to characterize HRV.


Author(s):  
Hiroyuki Kobayashi ◽  
Osamu Urabe ◽  
Takushi Fujino

Operational small leakage is occasionally observed in a nuclear power plant, and the leak forces an operator to decide whether to shut down the plant or not. Even if the leakage is just a little, it might draw the considerable attention in the society, so that the operator sometimes gets into the situation to judge more severely than technical judgment. Furthermore, at the time of plant restart and the system leak test just after maintenance, even the operator doesn’t accept any leakage considering the long management for the leakage up to the next outage. On the other hand, once the operator shut down the plant, it sometimes takes long time to restart again because of the difficulty to obtain new pipes and valves in short time. The temporary repair techniques referred to the JSME code might be able to be applied to maintain the plant operation, however some difficulties exist in a practical process. One of the authors has faced with many cases in which the operational small leakage had to be dealt at Tsuruga nuclear power station. This paper shows some cases of them and discusses lessons which are related to the codes and standards.


2019 ◽  
Vol 76 (5) ◽  
pp. 1265-1287 ◽  
Author(s):  
Arjun Jagannathan ◽  
Kraig Winters ◽  
Laurence Armi

Abstract Uniformly stratified flows approaching long and dynamically tall ridges develop two distinct flow components over disparate time scales. The fluid upstream and below a “blocking level” is stagnant in the limit of an infinite ridge and flows around the sides when the ridge extent is finite. The streamwise half-width of the obstacle at the blocking level arises as a natural inner length scale for the flow, while the excursion time over this half-width is an associated short time scale for the streamwise flow evolution. Over a longer time scale, low-level horizontal flow splitting leads to the establishment of an upstream layerwise potential flow beneath the blocking level. We demonstrate through numerical experiments that for sufficiently long ridges, crest control and streamwise asymmetry are seen on both the short and long time scales. On the short time scale, upstream blocking is established quickly and the flow is well described as a purely infinite-ridge overflow. Over the long time scale associated with flow splitting, low-level flow escapes around the sides, but the overflow continues to be hydraulically controlled and streamwise asymmetric in the neighborhood of the crest. We quantify this late-time overflow by estimating its volumetric transport and then briefly demonstrate how this approach can be extended to predict the overflow across nonuniform ridge shapes.


2012 ◽  
Vol 30 (2) ◽  
pp. 357-369 ◽  
Author(s):  
V. M. Vasyliūnas

Abstract. The conventional equations of ionospheric electrodynamics, highly succesful in modeling observed phenomena on sufficiently long time scales, can be derived rigorously from the complete plasma and Maxwell's equations, provided that appropriate limits and approximations are assumed. Under the assumption that a quasi-steady-state equilibrium (neglecting local dynamical terms and considering only slow time variations of external or aeronomic-process origin) exists, the conventional equations specify how the various quantities must be related numerically. Questions about how the quantities are related causally or how the stress equilibrium is established and on what time scales are not anwered by the conventional equations but require the complete plasma and Maxwell's equations, and these lead to a picture of the underlying physical processes that can be rather different from the commonly presented intuitive or ad hoc explanations. Particular instances include the nature of the ionospheric electric current, the relation between electric field and plasma bulk flow, and the interrelationships among various quantities of neutral-wind dynamo.


2012 ◽  
Vol 4 (2-3) ◽  
pp. 96-105
Author(s):  
Vitaly Fyodorovich Poznin

The article investigates one of the aspects of psychology of art, namely, the role of different types of human memory — sensory, long-time, short-time — in the forming of an artistic image in the perception of an audiovisual entity. The audience’s perception of such specific cinematic methods as pan shot and dolly shot, as well as different types of parallel, associative and distance montage rests on the peculiarities of our short-time and long-time memory. On the other hand, the complex polyphonic combination of various visual chronotopes in modern films is based on the imitation of memory typical for our dreams.


Compiler ◽  
2014 ◽  
Vol 3 (1) ◽  
Author(s):  
Pradana Nur Prasetya ◽  
Hero Wintolo ◽  
Nurcahyani Dewi Retnowati

One way of written communication is to send a message to the others. With the current technological developments, written communication can be supported by the computer and internet media so that messages sent can be delivered to target internet users in a short time and geographical distance is no longer a barrier of communication. In communicating between countries is often used in English, but that will be an obstacle when the language used to write the message was not understood by the other person and vice versa. Seeing this condition, then there needs to be an alternative media to overcome these obstacles. One of them is to design a bilingual (Indonesian-English) chat translator application. The system was created using Delphi 7 as a programming language and Oracle as Indonesian and English vocabulary storage database. Through this system, users can send messages using Indonesian or English and receive messages according to language used. The result from the design of this application indicates that the application is able to translate the text that is sent into the appropriate language which is controlled by interlocutors. So it can be a solution to communicate although with different language. However, the ability of the translator is very dependent on the current record in the dictionary table, so the translation can be developed in subsequent research to be more complete and better.


Author(s):  
H. C. Wu ◽  
R. W. P. Luk ◽  
K. F. Wong ◽  
J. Y. Nie

Model construction is a kind of knowledge engineering, and building retrieval models is critical to the success of search engines. This article proposes a new (retrieval) language model, called binary independence language model (BILM). It integrates two document-context based language models together into one by the log-odds ratio where these two are language models applied to describe document-contexts of query terms. One model is based on relevance information while the other is based on the non-relevance information. Each model incorporates link dependencies and multiple query term dependencies. The probabilities are interpolated between the relative frequency and the background probabilities. In a simulated relevance feedback environment of top 20 judged documents, our BILM performed statistically significantly better than the other highly effective retrieval models at 95% confidence level across four TREC collections using fixed parameter values for the mean average precision. For the less stable performance measure (i.e. precision at the top 10), no statistical significance is shown between the different models for the individual test collections although numerically our BILM is better than two other models with a confidence level of 95% based on a paired sign test across the test collections of both relevance feedback and retrospective experiments.


AATCC Review ◽  
2020 ◽  
Vol 20 (1) ◽  
pp. 36-43
Author(s):  
Belinda Carp

Interestingly, the French word for sustainability is durabilité. And, of course, durability is at the heart of sustainability—isn't it? If a product is durable, it will last for a long time and this means that it won't be discarded quickly, which keeps it out of the land-fill longer. If it doesn't need to be replaced often, the product's total environmental impact is reduced across its lifecycle. On the other hand, if something is designed to last for a long time, does that mean that it won't break down for a long time after it has been discarded—and if so, how can that be viewed as sustainable? Take plastic bags, for example. In the case of a product that is designed to be thrown away after relatively few uses, biodegradability is better than durability. So maybe it all depends on context.


1969 ◽  
Vol 28 (2) ◽  
pp. 269-283 ◽  
Author(s):  
C. M. Naim

In September 1965, there occurred between the armies of India and Pakistan a fierce clash which each side attributed to the aggressive designs of the other. This undeclared war lasted only a short time; first a ceasefire ordered by the United Nations, and later the pact signed at Tashkent, brought the hostilities to a formal close. It was by no means a spontaneous or unexpected flareup, the hatred and antagonism that caused it had been festering for a long time. Similarly, its effects have not been short-lived; neither have they been restricted to the area of military logistics and high diplomacy. In this paper I intend to review the consequences of that conflict for Urdu language and literature. I shall proceed by showing why it was necessary for Urdu writers, especially the poets, to respond to this war, and what sort of attitudes were displayed in the poetry written exclusively in response to it. I shall then discuss certain subsequent developments in the general area of Urdu language and literature and end by presenting my own conclusions with regard to the future.


Sign in / Sign up

Export Citation Format

Share Document