This paper empirically investigates the relationships between 15 design metrics and maintainability of 148 Java open source software.The results show that size and complexity metrics are strongly related to the mainta...This paper empirically investigates the relationships between 15 design metrics and maintainability of 148 Java open source software.The results show that size and complexity metrics are strongly related to the maintainability of open source software.However,cohesion and coupling,as currently captured by existing metrics,do not seem to have a significant impact on maintainability.When used together,these metrics can predict system maintainability fairly accurately(mean MREs below 30%).展开更多
架空输电线路设计过程中,人工计算塔腿坐标与占地范围的shapefile(SHP)文件成图效率低、错误率高。针对这一问题,提出一种基于开源地理信息系统(geographic information system,GIS)库的自动化绘图方法,该方法不仅建立塔腿坐标计算的几...架空输电线路设计过程中,人工计算塔腿坐标与占地范围的shapefile(SHP)文件成图效率低、错误率高。针对这一问题,提出一种基于开源地理信息系统(geographic information system,GIS)库的自动化绘图方法,该方法不仅建立塔腿坐标计算的几何模型,还利用地理空间数据抽象库(geospatial data abstraction library,GDAL)/矢量数据处理库(OpenGIS Simple Features Reference Implementation,OGR)实现从杆塔参数到占地范围SHP文件的批量生成与可视化。西藏某500 kV线路工程的应用表明:该方法计算的塔腿坐标中误差为0.2 mm,实现了全流程、自动化塔位绘图,大幅提升了工作效率与数据准确性,而且软件安装便捷,具有良好的推广应用价值。展开更多
基金Supported by the National Natural Science Foundation of China(60425206,60633010)the High Technology Research Project of Jiangsu Province(BG2005032)the Specialized Research Fund for the Doctoral Program of Higher Education of China(20060286020)
摘要This paper empirically investigates the relationships between 15 design metrics and maintainability of 148 Java open source software.The results show that size and complexity metrics are strongly related to the maintainability of open source software.However,cohesion and coupling,as currently captured by existing metrics,do not seem to have a significant impact on maintainability.When used together,these metrics can predict system maintainability fairly accurately(mean MREs below 30%).
摘要由于全球气候变暖造成海平面上升,致使沿海城市面临将来被海水淹没的威胁。利用GDAL(geospatial data abstraction library)和OpenCV(open source computer vision library)开发了淹没算法和模拟系统,使用GDAL库处理Landsat卫星数据和ASTRE GDEM(advanced spaceborne thermal emission and reflection radiometer global digital elevation model)高程数据,同时OpenCV Mat数据结构作为底层数据结构。系统实现了有源淹没算法及其可视化。该模拟系统可以为海岸城市淹没灾害预警提供有效的支持。
摘要架空输电线路设计过程中,人工计算塔腿坐标与占地范围的shapefile(SHP)文件成图效率低、错误率高。针对这一问题,提出一种基于开源地理信息系统(geographic information system,GIS)库的自动化绘图方法,该方法不仅建立塔腿坐标计算的几何模型,还利用地理空间数据抽象库(geospatial data abstraction library,GDAL)/矢量数据处理库(OpenGIS Simple Features Reference Implementation,OGR)实现从杆塔参数到占地范围SHP文件的批量生成与可视化。西藏某500 kV线路工程的应用表明:该方法计算的塔腿坐标中误差为0.2 mm,实现了全流程、自动化塔位绘图,大幅提升了工作效率与数据准确性,而且软件安装便捷,具有良好的推广应用价值。