In this paper we present a simple calculus (called CJE) in ourder to fully investigate the exception mechanism of java, and in particular its interaction with inheritance, which turns out to be non trivial. Moreover, ...
详细信息
ISBN:
(纸本)1581133359
In this paper we present a simple calculus (called CJE) in ourder to fully investigate the exception mechanism of java, and in particular its interaction with inheritance, which turns out to be non trivial. Moreover, we show that the type system for the calculus directly dirven by the javalanguage specification (called FULL) uses too many types, in the sense that there are different types which rpovide exactly the same information. Hence, we obtain from FULL a simplified type system called MIN where equivalent types have been identified. We show that is useful both for type-checking optimization and for clarifying the static semantics of the language. The two type systems are proved to satisfy the subject reduction property
It is important for the ship automation management to implement the ship condition monitoring and real-time fault early warning. In order to improve the efficiency of data collection and intelligence of ship monitorin...
详细信息
ISBN:
(数字)9781728161068
ISBN:
(纸本)9781728161075
It is important for the ship automation management to implement the ship condition monitoring and real-time fault early warning. In order to improve the efficiency of data collection and intelligence of ship monitoring, a ship monitoring ontology model is proposed by using Web Ontology language (OWL) and a reason manager is designed by using Semantic Web Rule language (SWRL). Besides, java Expert Shell System (JESS) based reason machine is implemented to integrate the ship condition monitoring ontology and inference rules. A test bed is developed to verify the performance of the middleware system with real-time sensor data. The results show that the proposed middleware can improve the accuracy and decrease the warning delay compared with existed traditional monitoring system.
Big data processing is no longer restricted to specially-trained engineers. Instead, domain experts, data scientists and data users all want to benefit from applying data mining and machine learning algorithms at scal...
详细信息
ISBN:
(纸本)9781509020218
Big data processing is no longer restricted to specially-trained engineers. Instead, domain experts, data scientists and data users all want to benefit from applying data mining and machine learning algorithms at scale. A considerable obstacle towards this "democratisation of big data" are programming models: current scalable big data processing platforms such as Spark, Naiad and Flink require users to learn custom functional or declarative programming models, which differ fundamentally from popular languages such as java, Matlab, Python or C++. An open challenge is how to provide a big data programming model for users that are not familiar with functional programming, while maintaining performance, scalability and fault tolerance. We describe java2SDG, a compiler that translates annotated java programs to stateful dataflow graphs (SDGs) that can execute on a compute cluster in a data-parallel and fault-tolerant fashion. Compared to existing distributed dataflow models, a distinguishing feature of SDGs is that their computational tasks can access distributed mutable state, thus allowing SDGs to capture the semantics of stateful java programs. As part of the demonstration, we provide examples of machine learning programs in java, including collaborative filtering and logistic regression, and we explain how they are translated to SDGs and executed on a large set of machines.
This paper presents PiDES, a formalism for discrete event simulation based on Pi-calculus. PiDES provides a rigorous semantics of behavior modeling and coordination for simulation federates. The capability of PiDES is...
详细信息
ISBN:
(纸本)9781424427086
This paper presents PiDES, a formalism for discrete event simulation based on Pi-calculus. PiDES provides a rigorous semantics of behavior modeling and coordination for simulation federates. The capability of PiDES is demonstrated by translating a generalized semi-Markov process formalism into PiDES specification. The usage of PiDES is illustrated through a case study of a flexible manufacturing system consisting of two machines, two parts, and a robot. The major advantages of PiDES are discussed, which include: a) a complete set of semantics for both modeling and execution;b) supporting parallel and distributed simulation;c) adaptive modeling;d) rich coordination semantics for developing large simulation systems;and finally e) a formalism that can be used for agent-based simulation. An implementation of PiDES using java programming language is also provided.
Dynamic taint tracking is the process of assigning label to variables in a program and then tracking the flow of the labels as the program executes. Dynamic taint tracking for java applications is achieved by instrume...
详细信息
Background: Since Google introduced Kotlin as an official programminglanguage for developing Android apps in 2017, Kotlin has gained widespread adoption in Android development. The interoperability of java and Kotlin...
详细信息
During software maintenance, code comments help developers comprehend programs and reduce additional time spent on reading and navigating source code. Unfortunately, these comments are often mismatched, missing or out...
详细信息
ISBN:
(数字)9781450357142
ISBN:
(纸本)9781538661697
During software maintenance, code comments help developers comprehend programs and reduce additional time spent on reading and navigating source code. Unfortunately, these comments are often mismatched, missing or outdated in the software projects. Developers have to infer the functionality from the source code. This paper proposes a new approach named DeepCom to automatically generate code comments for java methods. The generated comments aim to help developers understand the functionality of java methods. DeepCom applies Natural language Processing (NLP) techniques to learn from a large code corpus and generates comments from learned features. We use a deep neural network that analyzes structural information of java methods for better comments generation. We conduct experiments on a large-scale java corpus built from 9,714 open source projects from GitHub. We evaluate the experimental results on a machine translation metric. Experimental results demonstrate that our method DeepCom outperforms the state-of-the-art by a substantial margin.
This paper describes a design and implementation of APP based on the early adopters of Android platform,the system uses the java programming language,based on the development of Android *** server uses the Tomcat+Ecli...
详细信息
This paper describes a design and implementation of APP based on the early adopters of Android platform,the system uses the java programming language,based on the development of Android *** server uses the Tomcat+Eclipse+Struts2 architecture and combines the MYSQL database to build *** can use the APP scan code to experience the product trial,and also can feedback the trial products,and provide a good platform for enterprises to understand their products.
Cyber-physical networking systems (CPNSs) closely bridge cyberspace and the physical world. Cyberspace includes not only the Internet, but also telephone networks and short-range communications. CPNSs arise in many ap...
详细信息
ISBN:
(纸本)9781457702495
Cyber-physical networking systems (CPNSs) closely bridge cyberspace and the physical world. Cyberspace includes not only the Internet, but also telephone networks and short-range communications. CPNSs arise in many application domains, including social networking. Social CPNSs connect people embodied in the physical world with cyber social networking services to facilitate social interactions, including friendship formation. These services can be characterized by their dependence on Internet connections to operate. An important class of social CPNSs are mobile phone based ones. However, there is a lack of friendship verification in mobile phone based social CPNSs that allow miscreants to masquerade as friends. In this paper, we present D-Card, a mobile phone based social CPNS that provides friendship verification. D-Card provides an electronic name card that encodes relationship information for a person with his contact information. The name card includes a public key and digital signature. Comparing this public key with one from a trusted source enables identity verification. D-Card leverages a Bluetooth SDP toolkit to exchange information without requiring connection establishment. D-Card is a purely distributed CPNS that requires no Internet access or infrastructure. We implement the D-Card CPNS in java ME and Bluetooth. Our experiments with real-world mobile phones illustrate its potential for friendship verification in mobile phone based social CPNSs. To the best of our knowledge, D-Card is the first such CPNS designed for this purpose.
暂无评论