SearcharxivSearch

arXiv subjects

Rafael Martins

Publications and source records attributed to Rafael Martins.

2 recordsLinked to original sources

EZASP - Facilitating the Usage of ASP

Answer Set Programming (ASP) is a declarative programming language used for modeling and solving complex combinatorial problems. It has been successfully applied to a number of different real-world problems. However, learning its usage can prove challenging as the declarative language, from a conceptual perspective, differs substantially from imperative programming, and programs are not required to adhere to any particular structure, offering arguably almost too much freedom for a beginner. Recently, a new methodology called Easy Answer Set Programming (Easy ASP) has been introduced that aims to aid in this learning process by focussing on a well-defined fragment of the ASP language and introducing additional structure to the programs. However, while this methodology can indeed be employed, to the best of our knowledge, no tool integrates its features currently. In this paper, we present EZASP, a Visual Studio Code extension designed to support the development of ASP programs following the Easy ASP methodology. It covers and extends the language fragment of Easy ASP and provides the user with warnings in the case of deviations from the methodology as well as the possibility to automatically reorder the program. Complementarily, it also adds syntax error highlighting, including detection of non-safe variables directly while editing, and configurability, as all features can be optionally disabled. A small user study in the context of university teaching suggests that these features are benefitial for both new and experienced users.

cs.SE

Nano-optical investigation of grain boundaries, strain and edges in CVD grown MoS$_{2}$ monolayers

The role of defects in two-dimensional semiconductors and how they affect the intrinsic properties of these materials have been a wide researched topic over the past decades. Optical characterization such as photoluminescence and Raman spectroscopies are important tools to probe their physical properties and the impact of defects. However, conventional optical techniques present a spatial resolution limitation lying in a $μ$m-scale, which can be overcomed by the use of near-field optical measurements. Here, we use tip-enhanced photoluminescence and Raman spectroscopies to unveil nanoscale optical heterogeneities at grain boundaries, local strain fields and edges in grown MoS$_{2}$ monolayers. A noticeable enhancement of the exciton peak intensity corresponding to a trion emission quenching is observed at narrow regions down to 47 nm of width at grain boundaries related to doping effects. Besides, localized strain fields inside the sample lead to non-uniformities in the intensity and energy position of photoluminescence peaks. Finally, distinct samples present different nano-optical responses at their edges due to strain and passivation defects. The passivated defective edges show a photoluminescence intensity enhancement and energy blueshift as well as a frequency blueshift of the 2LA Raman mode. On the other hand, the strained edges display a photoluminescence energy redshift and frequency redshifts for E$_{2g}$ and 2LA Raman modes. Our work shows that different defect features can be only probed by using optical spectroscopies with a nanometric resolution, thus revealing hindered local impact of different nanoscale defects in two-dimensional materials.

cond-mat.mtrl-sci