Runtime monitoring is an established technique to enforce a wide range of program safety and security properties. We present a formalization of monitoring and monitor inlining, for the Java Virtual Machine. Monitors are security automata given in a special-purpose monitor specification language, ConSpec. The automata operate on finite or infinite strings of calls to a fixed API, allowing local dependencies on parameter values and heap content. We use a two-level class file annotation scheme to characterize two key properties: (i) that the program is correct with respect to the monitor as a constraint on allowed program behavior, and (ii) that the program has a copy of the given monitor embedded into it. As the main application of these results we sketch a simple inlining algorithm and show how the two-level annotations can be completed to produce a fully annotated program which is valid in the standard sense of Floyd/Hoare logic. This establishes the mediation property that inlined programs are guaranteed to adhere to the intended policy. Furthermore, validity can be checked efficiently using a weakest precondition based annotation checker, thus preparing the ground for on-device checking of policy adherence in a proof-carrying code setting. 相似文献
Persistent calls come from within the graduate medical education community and from external sources for regulating the resident duty hours in order to meet the obligations about the quality of resident education, the well-being of residents themselves, and the quality of patient care services. The report of the Accreditation Council for Graduate Medical Education (ACGME) proposes common program requirements for resident hours. In this paper, we first develop a mixed-integer programming model for scheduling residents’ duty hours considering the on-call night, day-off, rest period, and total work-hour ACGME regulations as well as the demand coverage requirements of the residency program. Subsequently, we propose a column generation model that consists of a master problem and an auxiliary problem. The master problem finds a configuration of individual schedules that minimizes the sum of deviations from the desired service levels for the day and night periods. The formulation of this problem is possible by representing the feasible schedules using column variables, whereas the auxiliary problem finds the whole set of feasible schedules using constraint programming. The proposed approach has been tested on a series of problems using real data obtained from a hospital. The results indicate that high-quality schedules can be obtained within a few seconds. 相似文献
An open-source software including an easy-to-use graphical user interface (GUI) has been developed for processing, modeling and mapping of gravity and magnetic data. The program, called Potensoft, is a set of functions written in MATLAB. The most common application of Potensoft is spatial and frequency domain filtering of gravity and magnetic data. The GUI helps the user easily change all the required parameters. One of the major advantages of the program is to display the input and processed maps in a preview window, thereby allowing the user to track the results during the ongoing process. Source codes can be modified depending on the users' goals. This paper discusses the main features of the program and its capabilities are demonstrated by means of illustrative examples. The main objective is to introduce and ensure usage of the developed package for academic, teaching and professional purposes. 相似文献
Exhaust gas reforming of propane to a hydrogen-rich mixture in a single, heat-exchange integrated, adiabatic, catalytic microchannel is modeled and simulated at different exhaust gas compositions from conventional gasoline and diesel fueled engines. Propane is considered as the model hydrocarbon for the complex fuels such as gasoline and diesel. The single microchannel is considered to be the characteristic unit of the catalytic exhaust gas reformer involving identical channels located parallel to each other. Steady-state simulations, carried out by the finite volume method, involve parametric variations of the total feed flow rate, and the amounts of propane and steam injected externally into the exhaust gas (reformer feed) stream. The results show that effective heat transfer and uniform temperature distribution, which are critical for the successful operation of the exhaust gas reformer, can be obtained in the microchannel configuration even at low gas hourly space velocities (GHSVs) at which the conventional packed-bed reformers usually lead to remarkable hot-spot formation. Production of H2 and CO is favored by the addition of higher amounts of propane and steam into the reformer feed. Increasing the total feed flow rate, hence the GHSV is found to improve heat distribution along the microchannel at the expense of reduced product yields due to insufficient contact time. 相似文献
Complex conceptual system design trade studies traditionally consider risk after a conceptual design has been created. Further, one person is often tasked with collecting risk information and managing it from each subsystem. This paper proposes a method to explicitly consider and trade risk on the same level as other important system-level variables during the creation of conceptual designs in trade studies. The proposed risk trading method advocates putting each subsystem engineer in control of risk for each subsystem. A risk vector is proposed that organizes many different risk metrics for communication between subsystems. A method of coupling risk models to dynamic subsystem models is presented. Several risk visualization techniques are discussed. A trade study example is presented based upon a simplified spacecraft model. Results from introducing the risk trading methodology into a simulated Collaborative Design Center are presented. The risk trading method offers an approach to more thoroughly consider risk during the creation of conceptual designs in trade studies. 相似文献
Objectives: The aim of this in vitro study was to evaluate the effect of different desensitizers’ application on the microleakage of previously restored Class V composite resin restorations.
Materials and methods: Class V cavities were prepared on the buccal surfaces of 40 extracted human third molars. Forty box-shaped cavities were divided into four groups, based on the desensitizers used (n = 10). All teeth were restored with the same bonding agent and composite material. No desensitizer was applied in the control group. In the experimental groups, BisBlock, Gluma and Universal bonding agents were the desensitizers. The desensitizers were applied after completion of composite restorations according to manufacturers’ instructions. All specimens were then thermocycled at 5–55 °C, with a 10-s dwell time for 500 cycles. The samples were then immersed in 0.5% methylene blue dye for 24 h, sectioned into two equal halves, evaluated for microleakage using a stereomicroscope at 30× magnification and scored on a scale of 0–3. The data were analysed using the Kruskal–Wallis test at the significance level p < 0.05.
Results: There were no significant differences in microleakage after desensitizer application (p > 0.05). However, based on the obtained numerical values in our study, while the BisBlock and bonding groups showed lower microleakage at the occlusal margin, BisBlock, Gluma and bonding group showed lower microleakage at the gingival margin compared to the control group.
Conclusions: The application of desensitizers as a post-treatment option could be considered an advisable procedure to minimize microleakage. 相似文献
Fertility-promoting effects of treatment of lactating dairy cattle with human chorionic gonadotropin (hCG) after artificial insemination (AI) have been variable. Here, we tested whether fertility response to hCG in lactating Holstein cows interacts with genotype and parity. Primiparous (n = 538) and multiparous (n = 613) cows were treated with hCG (3,300 IU) or vehicle 5 d after AI. Pregnancy was diagnosed on d 32 and 60 after AI. A subset of cows (n = 593–701) was genotyped for 4 single nucleotide polymorphisms (SNP) previously associated with fertility. Treatment with hCG increased progesterone concentration on d 12 after AI regardless of genotype or parity. Pregnancy per AI was improved by hCG in primiparous cows but not in multiparous cows. Moreover, hCG treatment interacted with a SNP in coenzyme Q9 (COQ9) to affect fertility. Fertility of cows treated with vehicle was greatest for the AA allele, whereas fertility was lowest for the same genotype among cows treated with hCG. Pregnancy per AI was also affected by genotype for heat shock protein A1-like (HSPA1L) and progesterone receptor (PGR), but no interactions were observed with treatment. Genotype for a SNP in prostate androgen-regulated mucin-like protein 1 (PARM1) was not associated with fertility. Overall, results show that variation in response to hCG treatment on fertility depends on parity and interacts with a SNP in COQ9. 相似文献
In this study the origin of ferromagnetism in ZnO-based bulk systems has been investigated using Ni-doped ZnO samples, Zn1−xNixO with 0.25≤x≤0.50, prepared by solid-state reactions. The structural characterizations indicated that the Ni2+ ions almost uniformly distributed in all the samples, and the samples have hexagonal wurtzite structure; however, when x is increased toward 0.50, a new NiO phase is formed. A ferromagnetism (FM) has been observed for all the samples at and below
the room temperature. In other words, the room temperature results of (M–H) curves show that the FM observed is intrinsic for all the Ni-doped ZnO samples. However, the saturated magnetizations decrease
gradually with increasing Ni concentration. This indicates that, in addition to FM, the excessive doping of Ni in ZnO also
causes an antiferromagnetic (AFM) contribution which increases with increasing Ni amount. This result is also supported by
the magnetization against temperature measurements. Furthermore, the trend of the ac-susceptibility (χ) versus temperature curves, measured under an ac-magnetic field of 100 Oe, also support our conclusion about the antiferromagnetic
contribution to ferromagnetism in our samples. 相似文献