A new model of event and message driven Petri network(EMDPN) based on the characteristic of class interaction for messages passing between two objects was extended. Using EMDPN interaction graph, a class hierarchical ...A new model of event and message driven Petri network(EMDPN) based on the characteristic of class interaction for messages passing between two objects was extended. Using EMDPN interaction graph, a class hierarchical test-case generation algorithm with cooperated paths (copaths) was proposed, which can be used to solve the problems resulting from the class inheritance mechanism encountered in object-oriented software testing such as oracle, message transfer errors, and unreachable statement. Finally, the testing sufficiency was analyzed with the ordered sequence testing criterion(OSC). The results indicate that the test cases stemmed from newly proposed automatic algorithm of copaths generation satisfies synchronization message sequences testing criteria, therefore the proposed new algorithm of copaths generation has a good coverage rate.展开更多
UML Class diagram generation from textual requirements is an important task in object-oriented design and programing course.This study proposes a method for automatically generating class diagrams from Chinese textual...UML Class diagram generation from textual requirements is an important task in object-oriented design and programing course.This study proposes a method for automatically generating class diagrams from Chinese textual requirements on the basis of Natural Language Processing(NLP)and mapping rules for sentence pattern matching.First,classes are identified through entity recognition rules and candidate class pruning rules using NLP from requirements.Second,class attributes and relationships between classes are extracted using mapping rules for sentence pattern matching on the basis of NLP.Third,we developed an assistant tool integrated into a precision micro classroom system for automatic generation of class diagram,to effectively assist the teaching of object-oriented design and programing course.Results are evaluated with precision,accuracy and recall from eight requirements of object-oriented design and programing course using truth values created by teachers.Our research should benefit beginners of object-oriented design and programing course,who may be students or software developers.It helps them to create correct domain models represented in the UML class diagram.展开更多
This study provides an evaluation of China's growing middle class, the new consumers for world economies and estimated to be 300-500 million people. By using internal analysis of market and nonmarket variables, we de...This study provides an evaluation of China's growing middle class, the new consumers for world economies and estimated to be 300-500 million people. By using internal analysis of market and nonmarket variables, we detail how the future growth rate of the middle class is dependent on three issues: domestic consumption trends of Generation Y in China, the valued opportunity of the science and technology industry, and the importance of maintaining a strong work force able to increase productivity. In particular, we discuss market demands from Generation Y, products best suited for Chinese consumers, and the effect social-economic inequalities in Western China will have on development measures of the middle class. Based on data collection, interviews, library research and econometric analyses, we show how these above issues will continue to influence consumer behavior, reform policies, and the growth of the middle class in China. It is important to note that economic growth and prosperity in China will only continue if the national government and private institutions, along with the international agendas of other countries, are in balance, and not excess, of the resources and capabilities available for desired growth levels.展开更多
基金Project(05JT1035) supported by the Science and Technology Plan of Hunan Province
文摘A new model of event and message driven Petri network(EMDPN) based on the characteristic of class interaction for messages passing between two objects was extended. Using EMDPN interaction graph, a class hierarchical test-case generation algorithm with cooperated paths (copaths) was proposed, which can be used to solve the problems resulting from the class inheritance mechanism encountered in object-oriented software testing such as oracle, message transfer errors, and unreachable statement. Finally, the testing sufficiency was analyzed with the ordered sequence testing criterion(OSC). The results indicate that the test cases stemmed from newly proposed automatic algorithm of copaths generation satisfies synchronization message sequences testing criteria, therefore the proposed new algorithm of copaths generation has a good coverage rate.
基金This work is supported by the Collaborative education project of QST Innovation Technology Group Co.,Ltd and the Ministry of Education of PRC(NO.201801243022).
文摘UML Class diagram generation from textual requirements is an important task in object-oriented design and programing course.This study proposes a method for automatically generating class diagrams from Chinese textual requirements on the basis of Natural Language Processing(NLP)and mapping rules for sentence pattern matching.First,classes are identified through entity recognition rules and candidate class pruning rules using NLP from requirements.Second,class attributes and relationships between classes are extracted using mapping rules for sentence pattern matching on the basis of NLP.Third,we developed an assistant tool integrated into a precision micro classroom system for automatic generation of class diagram,to effectively assist the teaching of object-oriented design and programing course.Results are evaluated with precision,accuracy and recall from eight requirements of object-oriented design and programing course using truth values created by teachers.Our research should benefit beginners of object-oriented design and programing course,who may be students or software developers.It helps them to create correct domain models represented in the UML class diagram.
文摘This study provides an evaluation of China's growing middle class, the new consumers for world economies and estimated to be 300-500 million people. By using internal analysis of market and nonmarket variables, we detail how the future growth rate of the middle class is dependent on three issues: domestic consumption trends of Generation Y in China, the valued opportunity of the science and technology industry, and the importance of maintaining a strong work force able to increase productivity. In particular, we discuss market demands from Generation Y, products best suited for Chinese consumers, and the effect social-economic inequalities in Western China will have on development measures of the middle class. Based on data collection, interviews, library research and econometric analyses, we show how these above issues will continue to influence consumer behavior, reform policies, and the growth of the middle class in China. It is important to note that economic growth and prosperity in China will only continue if the national government and private institutions, along with the international agendas of other countries, are in balance, and not excess, of the resources and capabilities available for desired growth levels.