Open Access. Powered by Scholars. Published by Universities.®

Programming Languages and Compilers Commons

Open Access. Powered by Scholars. Published by Universities.®

1,839 Full-Text Articles 3,354 Authors 748,922 Downloads 137 Institutions

All Articles in Programming Languages and Compilers

Faceted Search

1,839 full-text articles. Page 77 of 79.

Solving The Teacher Assignment Problem By Two Metaheuristics, Aldy GUNAWAN, Kien Ming NG 2011 Singapore Management University

Solving The Teacher Assignment Problem By Two Metaheuristics, Aldy Gunawan, Kien Ming Ng

Research Collection School Of Computing and Information Systems

The timetabling problem arising from a university in Indonesia is addressed in this paper.It involves the assignment of teachers to the courses and course sections. We formulate theproblem as a mathematical programming model. Two different algorithms, mainly basedon simulated annealing (SA) and tabu search (TS) algorithms, are proposed for solving theproblem. The proposed algorithms consist of two phases. The first phase involves allocatingthe teachers to the courses and determining the number of courses to be assigned to eachteacher. The second phase involves assigning the teachers to the course sections in order tobalance the teachers’ load. The performance of the proposed …


Two-Language, Two-Paradigm Introductory Computing Curriculum Model And Its Implementation, Vladimir Zanev, Atanas Radenski 2011 Columbus State University

Two-Language, Two-Paradigm Introductory Computing Curriculum Model And Its Implementation, Vladimir Zanev, Atanas Radenski

Mathematics, Physics, and Computer Science Faculty Articles and Research

This paper analyzes difficulties with the introduction of object-oriented concepts in introductory computing education and then proposes a two-language, two-paradigm curriculum model that alleviates such difficulties. Our two-language, two-paradigm curriculum model begins with teaching imperative programming using Python programming language, continues with teaching object-oriented computing using Java, and concludes with teaching object-oriented data structures with Java.


Bingroup: A Package For Group Testing, Christopher R. Bilder, Boan Zhang, Frank Schaarschmidt, Joshua M. Tebbs 2010 University of Nebraska-Lincoln

Bingroup: A Package For Group Testing, Christopher R. Bilder, Boan Zhang, Frank Schaarschmidt, Joshua M. Tebbs

The R Journal

When the prevalence of a disease or of some other binary characteristic is small, group testing (also known as pooled testing) is frequently used to estimate the prevalence and/or to identify individuals as positive or negative. We have developed the binGroup package as the first package designed to address the estimation problem in group testing. We present functions to estimate an overall prevalence for a homogeneous population. Also, for this set ting, we have functions to aid in the very important choice of the group size. When individuals come from a heterogeneous population, our group testing regression functions can be …


Mapping And Measuring Country Shapes, Nils B. Weidmann, Kristian Skrede Gleditsch 2010 Princeton University

Mapping And Measuring Country Shapes, Nils B. Weidmann, Kristian Skrede Gleditsch

The R Journal

The article introduces the cshapes R package, which includes our CShapes dataset of contemporary and historical country boundaries, as well as computational tools for computing geographical measures from these maps. We provide an overview of the need for considering spatial dependence in comparative re search, how this requires appropriate historical maps, and detail how the cshapes associated R package cshapes can contribute to these ends. We illustrate the use of the package for drawing maps, computing spatial variables for countries, and generating weights matrices for spatial statistics.


Spikeslab: Prediction And Variable Selection Using Spike And Slab Regression, Hemant Ishwaran, Udaya B. Kogalur, J. Sunil Rao 2010 Cleveland Clinic

Spikeslab: Prediction And Variable Selection Using Spike And Slab Regression, Hemant Ishwaran, Udaya B. Kogalur, J. Sunil Rao

The R Journal

Weighted generalized ridge regression offers unique advantages in correlated high dimensional problems. Such estimators can be efficiently computed using Bayesian spike and slab models and are effective for prediction. For sparse variable selection, a generalization of the elastic net can be used in tandem with these Bayesian estimates. In this article, we de scribe the R-software package spikeslab for implementing this new spike and slab prediction and variable selection methodology.


Bayesian Estimation Of The Garch(1,1) Model With Student-T Innovations, David Ardia, Lennart F. Hoogerheide 2010 University of Fribourg

Bayesian Estimation Of The Garch(1,1) Model With Student-T Innovations, David Ardia, Lennart F. Hoogerheide

The R Journal

This note presents the R package bayesGARCH which provides functions for the Bayesian estimation of the parsimonious and effective GARCH(1,1) model with Student-t innovations. The estimation procedure is fully automatic and thus avoids the tedious task of tuning an MCMC sampling algorithm. The usage of the package is shown in an empirical application to exchange rate log-returns


Stringr: Modern, Consistent String Processing, Hadley Wickham 2010 Rice University

Stringr: Modern, Consistent String Processing, Hadley Wickham

The R Journal

String processing is not glamorous, but it is frequently used in data cleaning and preparation. The existing string functions in R are powerful, but not friendly. To remedy this, the stringr package provides string functions that are simpler and more consistent, and also fixes some functionality that R is missing compared to other programming languages.


Dclone: Data Cloning In R, Péter Sólymos 2010 University of Alberta

Dclone: Data Cloning In R, Péter Sólymos

The R Journal

The dclone R package contains low level functions for implementing maximum likelihood estimating procedures for complex models using data cloning and Bayesian Markov Chain Monte Carlo methods with support for JAGS, WinBUGS and OpenBUGS.


Cudabayesreg: Bayesian Computation In Cuda, Adelino Ferreira da Silva 2010 Universidade Nova de Lisboa

Cudabayesreg: Bayesian Computation In Cuda, Adelino Ferreira Da Silva

The R Journal

Graphical processing units are rapidly gaining maturity as powerful general parallel computing devices. The package cudaBayesreg uses GPU–oriented procedures to improve the performance of Bayesian computations. The paper motivates the need for devising high performance computing strategies in the con text of fMRI data analysis. Some features of the package for Bayesian analysis of brain fMRI data are illustrated. Comparative computing performance figures between sequential and parallel implementations are presented as well.


Source References, Duncan Murdoch 2010 University of Western Ontario

Source References, Duncan Murdoch

The R Journal

Since version 2.10.0, R includes expanded support for source references in R code and ‘.Rd’ files. This paper describes the origin and purposes of source references, and current and future support for them.


Solving Differential Equations In R, Karline Soetaert, Thomas Petzoldt, R. Woodrow Setzer 2010 Netherlands Institute of Ecology

Solving Differential Equations In R, Karline Soetaert, Thomas Petzoldt, R. Woodrow Setzer

The R Journal

Although R is still predominantly applied for statistical analysis and graphical representation, it is rapidly becoming more suitable for mathematical computing. One of the fields where considerable progress has been made recently is the solution of differential equations. Here we give a brief overview of differential equations that can now be solved by R.


The R Journal (December 2010) 2(2): Complete Issue, The R Foundation 2010 University of Nebraska - Lincoln

The R Journal (December 2010) 2(2): Complete Issue, The R Foundation

The R Journal

Contributed Research Articles

Solving Differential Equations in R, Karline Soetaert, Thomas Petzoldt and R. Woodrow Setzer

Source References, Duncan Murdoch

hglm: A Package for Fitting Hierarchical Generalized Linear Models, Lars Rönnegård, Xia Shen and Moudud Alam

dclone: Data Cloning in R, Péter Sólymos

stringr: Modern, Consistent String Processing, Hadley Wickham

Bayesian Estimation of the GARCH(1,1) Model with Student-t Innovations, David Ardia and Lennart F. Hoogerheide

cudaBayesreg: Bayesian Computation in CUDA, Adelino Ferreira da Silva

binGroup: A Package for Group Testing, Christopher R. Bilder, Boan Zhang, Frank Schaarschmidt, and Joshua M. Tebbs

The RecordLinkage Package: Detecting Errors in Data, Murat Sariyar …


The Recordlinkage Package: Detecting Errors In Data, Murat Sariyar, Andreas Borg 2010 Institute of Medical Biostatistics, Epidemiology and Informatics

The Recordlinkage Package: Detecting Errors In Data, Murat Sariyar, Andreas Borg

The R Journal

Record linkage deals with detecting homonyms and mainly synonyms in data. The package RecordLinkage provides means to per form and evaluate different record linkage methods. A stochastic framework is implemented which calculates weights through an EM algorithm. The determination of the necessary thresholds in this model can be achieved by tools of extreme value theory. Furthermore, machine learning methods are utilized, including decision trees (rpart), bootstrap aggregating (bagging), ada boost (ada), neural nets (nnet) and support vector machines (svm). The generation of record pairs and comparison patterns from single data …


Hglm: A Package For Fitting Hierarchical Generalized Linear Models, Lars Rönnegård, Xia Shen, Moudud Alam 2010 Dalarna University, Swedish University of Agricultural Sciences

Hglm: A Package For Fitting Hierarchical Generalized Linear Models, Lars Rönnegård, Xia Shen, Moudud Alam

The R Journal

We present the hglm package for fit ting hierarchical generalized linear models. It can be used for linear mixed models and generalized linear mixed models with random effects for a variety of links and a variety of distributions for both the outcomes and the random effects. Fixed effects can also be fitted in the dispersion part of the model.


Online Reproducible Research: An Application To Multivariate Analysis Of Bacterial Dna Fingerprint Data, Jean Thioulouse, Claire Valiente-Moro, Lionel Zenner 2010 Université de Lyon

Online Reproducible Research: An Application To Multivariate Analysis Of Bacterial Dna Fingerprint Data, Jean Thioulouse, Claire Valiente-Moro, Lionel Zenner

The R Journal

This paper presents an example of online reproducible multivariate data analysis. This example is based on a web page providing an online computing facility on a server. HTML forms contain editable R code snippets that can be executed in any web browser thanks to the Rweb software. The example is based on the multivariate analysis of DNA fingerprints of the internal bacterial flora of the poultry red mite Dermanyssus gallinae. Several multivariate data analysis methods from the ade4 package are used to compare the fingerprints of mite pools coming from various poultry farms. All the computations and graphical displays …


Automatic Execution Path Finding Tool, Fan Yang 2010 San Jose State University

Automatic Execution Path Finding Tool, Fan Yang

Master's Projects

Today, there are many hackers trying to break software using reverse engineering tech- niques. To better protect software, we need to understand reverse engineering methods. This project presents a tool that automatically analyzes executable code in a manner simi- lar to the way an attack might analyze code.

Using reverse engineering techniques, executables can be disassembled to yield an as- sembly code representation of the program. Assembly code is much more human reada- ble than binary code. With assembly code, an attacker can attempt to modify the program to do something other than what was intended by the developer.

The …


Functional Reactive Musical Performers, Justin M. Phillips 2010 California Polytechnic State University, San Luis Obispo

Functional Reactive Musical Performers, Justin M. Phillips

Master's Theses

Computers have been assisting in recording, sound synthesis and other fields of music production for quite some time. The actual performance of music continues to be an area in which human players are chosen over computer performers. Musical performance is an area in which personalization is more important than consistency. Human players play with each other, reacting to phrases and ideas created by the players that they are playing with. Computer performers lack the ability to react to the changes in the performance that humans perceive naturally, giving the human players an advantage over the computer performers.

This thesis creates …


Xpath-Based Template Language For Describing The Placement Of Metadata Within A Document, Vijay Kumar Musham 2010 Old Dominion University

Xpath-Based Template Language For Describing The Placement Of Metadata Within A Document, Vijay Kumar Musham

Computer Science Theses & Dissertations

In the recent years, there has been a tremendous growth in Internet and online resources that had previously been restricted to paper archives. OCR (Optical Character Recognition) tools can be used for digitalizing an existing corpus and making it available online. A number of federal agencies, universities, laboratories, and companies are placing their collections online and making them searchable via metadata fields such as author, title, and publishing organization. Manually creating metadata for a large collection is an extremely time-consuming task, and is difficult to automate, particularly for collections consisting of documents with diverse layout and structure. The Extract project …


Model Checking Hierarchical Probabilistic Systems, Jun SUN, Songzheng SONG, Yang LIU 2010 Singapore Management University

Model Checking Hierarchical Probabilistic Systems, Jun Sun, Songzheng Song, Yang Liu

Research Collection School Of Computing and Information Systems

Probabilistic modeling is important for random distributed algorithms, bio-systems or decision processes. Probabilistic model checking is a systematic way of analyzing finite-state probabilistic models. Existing probabilistic model checkers have been designed for simple systems without hierarchy. In this paper, we extend the PAT toolkit to support probabilistic model checking of hierarchical complex systems. We propose to use PCSP#, a combination of Hoare’s CSP with data and probability, to model such systems. In addition to temporal logic, we allow complex safety properties to be specified by non-probabilistic PCSP# model. Validity of the properties (with probability) is established by refinement checking. Furthermore, …


Model Checking A Model Checker: A Code Contract Combined Approach, Jun SUN, Yang LIU, Bin CHENG 2010 Singapore Management University

Model Checking A Model Checker: A Code Contract Combined Approach, Jun Sun, Yang Liu, Bin Cheng

Research Collection School Of Computing and Information Systems

Model checkers, like any complex software, are subject to bugs. Unlike ordinary software, model checkers are often used to verify safety critical systems. Their correctness is thus vital. Verifying model checkers is extremely challenging because they are always complicated in logic and highly optimized. In this work, we propose a code contract combined approach for checking model checkers and apply it to a home-grown model checker PAT. In this approach, we firstly embed programming contracts (i.e., pre/post-conditions and invariants) into its source code, which can capture correctness of model checking algorithms, underlying data structures, consistency between different model checking parameters, …


Digital Commons powered by bepress