首页> 外文期刊>Environmental Modelling & Software >Making frameworks more useable: using model introspection and metadata to develop model processing tools
【24h】

Making frameworks more useable: using model introspection and metadata to develop model processing tools

机译:使框架更有用:使用模型自省和元数据开发模型处理工具

获取原文
获取原文并翻译 | 示例
           

摘要

Several modern development environments allow executable components, such as hydrologic models, to carry metadata describing the properties and capabilities of the components. These metadata may be restricted to the names of variables, and their respective data types, or may extend to other information, such as classification of variables (e.g. input or output), numeric constraints on parameters (e.g. between 0 and 1, or greater than 0) or aliases (e.g. rainfall, also known as precipitation). Introspection in these environments allows tool developers to write programs and other components that make use of these metadata to provide generic model processing tools, while allowing model developers to take advantage of these tools without additional development effort. Typical model processing tools include model integration systems, parameter optimisers, automatic user interface generation and automated IO. One approach to implementing model introspection and metadata, used by the Interactive Component Modelling System (ICMS), is to extract information from a model when compiling a custom modelling language. An alternate approach, applied in a new modelling framework, relies on the language independent introspection provided by the .NET environment. These uses of introspection streamline model development within modelling frameworks, reducing the effort required to take advantage of other framework capabilities, such as dynamic visualisation. Introspection based systems, while introducing flexibility, defer until runtime various type checks that are typically performed by a language compiler. This introduces a performance penalty that may become significant in some circumstances.
机译:几种现代开发环境允许可执行组件(例如水文模型)携带描述组件属性和功能的元数据。这些元数据可能仅限于变量的名称及其各自的数据类型,或者可能扩展至其他信息,例如变量的分类(例如输入或输出),对参数的数字约束(例如0到1之间或大于0)或别名(例如降雨,也称为降水)。这些环境中的自省使工具开发人员可以编写程序和其他组件,利用这些元数据来提供通用的模型处理工具,同时允许模型开发人员无需额外的开发工作即可利用这些工具。典型的模型处理工具包括模型集成系统,参数优化器,自动用户界面生成和自动IO。交互式组件建模系统(ICMS)使用的一种实现模型自省和元数据的方法是在编译自定义建模语言时从模型中提取信息。在新的建模框架中应用的另一种方法依赖于.NET环境提供的与语言无关的自省。自省的这些使用简化了建模框架内的模型开发,从而减少了利用其他框架功能(例如动态可视化)所需的工作量。基于自省的系统在引入灵活性的同时,将通常由语言编译器执行的各种类型检查推迟到运行时。这会导致性能损失,在某些情况下可能会变得很重要。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号