摘要
为解决业务流程逻辑与业务单元相耦合影响基于图论的水库群预报系统的通用性问题,引入重构技术隔离业务流程逻辑与业务单元,提高流程逻辑的重用与重组能力;利用有向图中并行拓扑排序算法重组流程逻辑,改善系统的计算速度;形成通用的水库群业务组件,屏蔽图的操作,让应用开发人员更关注于水库预报调度模型的研究.最后探讨了与已有系统的集成问题.实例证明,重构业务层可显著提高水库群预报调度系统的通用性.
Tightly coupling business unit with process logic makes graph-theory-based multireservoirs flood forecast and control system(GMRFFCS)less general and extensible.So the primary goal is to form a general multi-reservoir business component by improving the existing codes in business layer with refactoring technique.First,business unit and process logic are separated from business layer for reusing and recombining.Second,aparallel algorithm for topological sort in directed graphs is adopted to increase computing speed.Then,developing system based on this component can make the developer pay more attention to the researches on models of forecasting and operation without graph theory.At last,integration with existing systems is referred.Results show that refactoring business layer greatly improves the GMRFFCS'general utilization.
出处
《大连理工大学学报》
EI
CAS
CSCD
北大核心
2010年第5期742-748,共7页
Journal of Dalian University of Technology
基金
国家自然科学基金委-二滩水电开发公司雅砻江水电联合研究基金资助项目(50579095)
辽河水专项资助课题(2009ZX07208-010)
关键词
洪水预报调度系统
重构
图论
业务逻辑
流程逻辑
flood forecast and control system
refactoring
graph theory
business logic
process logic