Automatic protocol mining is a promising approach for inferring accurate and complete API protocols. However, just as with any data-mining technique, this approach requires sufficient training data(object usage scena...Automatic protocol mining is a promising approach for inferring accurate and complete API protocols. However, just as with any data-mining technique, this approach requires sufficient training data(object usage scenarios). Existing approaches resolve the problem by analyzing more programs, which may cause significant runtime overhead. In this paper, we propose an inheritance-based oversampling approach for object usage scenarios(OUSs). Our technique is based on the inheritance relationship in object-oriented programs. Given an object-oriented program p, generally, the OUSs that can be collected from a run of p are not more than the objects used during the run. With our technique, a maximum of n times more OUSs can be achieved, where n is the average number of super-classes of all general OUSs. To investigate the effect of our technique, we implement it in our previous prototype tool, ISpec Miner, and use the tool to mine protocols from several real-world programs. Experimental results show that our technique can collect 1.95 times more OUSs than general approaches. Additionally, accurate and complete API protocols are more likely to be achieved. Furthermore, our technique can mine API protocols for classes never even used in programs, which are valuable for validating software architectures, program documentation, and understanding. Although our technique will introduce some runtime overhead, it is trivial and acceptable.展开更多
In this paper they deal with the issue of specification and design of parallel communicatingprocesses. A trace-state based model is introduced to describe the behaviour of concurrent programs. They presenta formal sys...In this paper they deal with the issue of specification and design of parallel communicatingprocesses. A trace-state based model is introduced to describe the behaviour of concurrent programs. They presenta formal system based on that model to achieve hierarchical and modular development and verification methods. Anumber of refinement rules are used to decompose the specification into smaller ones and calculate program fromthe展开更多
Teaching materials are the core component in the real-life teaching and learning process in the classroom. Its appropriateness is an absolute demand to achieve the success in obtaining the maximum input of knowledge. ...Teaching materials are the core component in the real-life teaching and learning process in the classroom. Its appropriateness is an absolute demand to achieve the success in obtaining the maximum input of knowledge. Teaching materials which are used in the classroom must meet the learners' needs, but according to the result of preliminary study, the existing materials at Politeknik Negeri Ambon (POLNAM) specifically in accounting program were far from the syllabus' content. That was the reason why the authors did this research. The objective of the research is to design English specific purpose (ESP) for the students in accounting program. This research was research and development model that the authors used was analysis, design, development, implementation, and evaluation (ADDLE) model. The result of ESP for accounting materials was designed for meeting the students in accounting program of POLNAM. There were five units arranged well starting from introduction, main lesson, and reinforcement to maximizing the learners' four language skills. The ESP for accounting program regard as "Very good" in the range of 3.24 to 4.00 with the total mean scores, which was 3.46 given by the experts. Relating to the evaluation for both small and large group try-out, the learners showed their good progress. That was why this learning material was deserved to being used for all students in accounting program at POLNAM.展开更多
基金supported by the Scientific Research Project of the Education Department of Hubei Province,China(No.Q20181508)the Youths Science Foundation of Wuhan Institute of Technology(No.k201622)+5 种基金the Surveying and Mapping Geographic Information Public Welfare Scientific Research Special Industry(No.201412014)the Educational Commission of Hubei Province,China(No.Q20151504)the National Natural Science Foundation of China(Nos.41501505,61502355,61502355,and 61502354)the China Postdoctoral Science Foundation(No.2015M581887)the Key Program of Higher Education Institutions of Henan Province,China(No.17A520040)and the Natural Science Foundation of Henan Province,China(No.162300410177)
文摘Automatic protocol mining is a promising approach for inferring accurate and complete API protocols. However, just as with any data-mining technique, this approach requires sufficient training data(object usage scenarios). Existing approaches resolve the problem by analyzing more programs, which may cause significant runtime overhead. In this paper, we propose an inheritance-based oversampling approach for object usage scenarios(OUSs). Our technique is based on the inheritance relationship in object-oriented programs. Given an object-oriented program p, generally, the OUSs that can be collected from a run of p are not more than the objects used during the run. With our technique, a maximum of n times more OUSs can be achieved, where n is the average number of super-classes of all general OUSs. To investigate the effect of our technique, we implement it in our previous prototype tool, ISpec Miner, and use the tool to mine protocols from several real-world programs. Experimental results show that our technique can collect 1.95 times more OUSs than general approaches. Additionally, accurate and complete API protocols are more likely to be achieved. Furthermore, our technique can mine API protocols for classes never even used in programs, which are valuable for validating software architectures, program documentation, and understanding. Although our technique will introduce some runtime overhead, it is trivial and acceptable.
基金ESPRIT Basic Research ProCoS project 3104 and 7071
文摘In this paper they deal with the issue of specification and design of parallel communicatingprocesses. A trace-state based model is introduced to describe the behaviour of concurrent programs. They presenta formal system based on that model to achieve hierarchical and modular development and verification methods. Anumber of refinement rules are used to decompose the specification into smaller ones and calculate program fromthe
文摘Teaching materials are the core component in the real-life teaching and learning process in the classroom. Its appropriateness is an absolute demand to achieve the success in obtaining the maximum input of knowledge. Teaching materials which are used in the classroom must meet the learners' needs, but according to the result of preliminary study, the existing materials at Politeknik Negeri Ambon (POLNAM) specifically in accounting program were far from the syllabus' content. That was the reason why the authors did this research. The objective of the research is to design English specific purpose (ESP) for the students in accounting program. This research was research and development model that the authors used was analysis, design, development, implementation, and evaluation (ADDLE) model. The result of ESP for accounting materials was designed for meeting the students in accounting program of POLNAM. There were five units arranged well starting from introduction, main lesson, and reinforcement to maximizing the learners' four language skills. The ESP for accounting program regard as "Very good" in the range of 3.24 to 4.00 with the total mean scores, which was 3.46 given by the experts. Relating to the evaluation for both small and large group try-out, the learners showed their good progress. That was why this learning material was deserved to being used for all students in accounting program at POLNAM.