Bidirectional Controllable Knowledge Engine for Virtual Experiment

Liu Xiaodong,Xi Yanjun,Liu Guorong,Li Hui
DOI: https://doi.org/10.3321/j.issn:0253-987x.2006.04.001
2006-01-01
Abstract:A method describing plants' growth models by XML script was presented and a knowledge engine component script through introducing component-technology was constructed.The structure is based on Observer pattern which can deal with the information of different function nodes of XML script by using different function classes.For the three variables defined in XML script,a template class similar to C++ is developed to deal with normalization so as to reduce code's redundancy.The knowledge engine component object regards the XML script of growth model as its self property.By interpreting XML script in real-time and driving the growth of virtual plant component object,it makes agronomy knowledge contained in plants' models separate from the development platform of virtual plants experiment system and virtual plants components.For convenience of test,the multi-thread is used to ensure that knowledge engine is under the external control and breaks interpreting at any moment when it is running.Through the whole virtual growing process of the corn,it is verified that the mathematic model of plant morphology can be integrated with the display model of plant morphology by the proposed knowledge engine and vividly demonstrates the growing process of plant.
What problem does this paper attempt to address?