用面向对象方法、Visual C++研制水稻生长模型(RGM)系统  被引量:3

Rice Growth Models (RGM) System by Object-oriented Programming with Visual C++

在线阅读下载全文

作  者:米湘成[1] 邹应斌[1] 石纪成 蔡盛 彭正文 

机构地区:[1]湖南农业大学植物科技学院,长沙410128 [2]湖南省宁乡县农业局,宁乡410600

出  处:《中国农业科学》2002年第10期1197-1203,共7页Scientia Agricultura Sinica

基  金:国家"九五"攻关项目 (95 0 0 1 0 1);农业科技跨越计划;湖南省自然科学基金资助项目 (0 1JJY2 0 3 3 )

摘  要:RiceGrowthModel(RGM)作为一个实例 ,为作物生长模型软件的设计提供了一个系统分解和系统组织的框架。利用面向对象的编程设计方法 ,将作物 环境系统抽象为多个子系统或生理过程 ,分别设计多个类 ,模拟这些子系统的功能。由于面向对象方法的封装性、继承性和多态性 ,类与类之间既相互独立 ,又通过类间接口彼此相互关联 ,使系统易于维护、扩充和重新开发利用。RGM又将VisualC ++的文档 -视结构扩展为模型 -文档 -视结构 ,为系统中类的组织 ,提供了框架结构。模型 文档 视中文档类 ,通过操纵模型类获取模拟的最终结果 ,并负责数据的管理 ,同时作为视类和模型类的通讯中介 ;视类显示文档的数据 ,并把用户的操作翻译成对文档类的操作。整个系统分工协作 ,类间进行有效的通讯 。Rice Growth Model (RGM) system represened an effort to design crop modeling software with object oriented paradigm and to organize classes of system in model document view architecture. Firstly, the crop environment system was abstracted as many subsystems and physiological processes with object oriented paradigm while many classes were established to simulate the behaviors of these subsystems and physiological processes. In VRGM, the document view architecture in Visual C++ was extended as model document view architecture for agricultural integrated system. In the model document view architecture, document gets the final simulation results by manipulating the models classes and acts as a communicating intermediacy between model and view. Views display the simulation results and translate users' operation and data into a document. The architecture separates the domain models, data management and user interface. Modelers can add classes in architectures to extend the system without having to change system structure, which is useful for construction and maintenance of agricultural models.

关 键 词:面对以象方法 VISUAL C++ 水稻生长模型 模型-文档-视结构 RGM 

分 类 号:S511[农业科学—作物学]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象