A dynamic object behavior model based on computational reflection is proposed. This model consists of function level and meta level, the meta objects in meta level manage the base objects and behaviors in function lev...A dynamic object behavior model based on computational reflection is proposed. This model consists of function level and meta level, the meta objects in meta level manage the base objects and behaviors in function level, including dynamic binding and unbinding of base object and behavior. We implement this model with RoleJava Language,which is our self linguistic extension of the Java Language.Meta Objects are generated automatically at compile\|time,this makes the reflecton mechanism transparent to programmers.Finally an example applying this model to a banking system is presented.展开更多
From a perspective of theoretical study, there are some faults in the models of the existing object-oriented programming languages. For example, C# does not support metaclasses, the primitive types of Java and C# are ...From a perspective of theoretical study, there are some faults in the models of the existing object-oriented programming languages. For example, C# does not support metaclasses, the primitive types of Java and C# are not objects, etc. So, this paper designs a programming language, Shrek, which integrates many language features and constructions in a compact and consistent model. The Shrek language is a class-based purely object-oriented language. It has a dynamical strong type system, and adopts a single-inheritance mechanism with Mixin as its complement. It has a consistent class instantiation and inheritance structure, and the ability of intercessive structural computational reflection, which enables it to support safe metaclass programming. It also supports multi-thread programming and automatic garbage collection, and enforces its expressive power by adopting a native method mechanism. The prototype system of the Shrek language is implemented and anticipated design goals are achieved.展开更多
We employ the in-site automated observation radiometric calibration(AORC) approach to perform vicarious calibration, which does not require the manual efforts of a field team to measure the surface conditions. By us...We employ the in-site automated observation radiometric calibration(AORC) approach to perform vicarious calibration, which does not require the manual efforts of a field team to measure the surface conditions. By using an automated test-site radiometer(ATR), the surface radiance at any moment in time can be obtained. This Letter describes the AORC approach and makes use of data to compute top-of-atmosphere radiance and compare it to measurements from the Moderate Resolution Imaging Spectroradiometer. The result shows that the relative deviation is less than 5% and the uncertainty is less than 6.2%, which indicates that the in-site AORC maintains an accuracy level on par with traditional calibration.展开更多
Logic programs offer many opportunities for the exploitation of parallelism.But the parallel execution of a task incurs various overheads This paper focuses on the issues relevant to parallelizing Prolog on shared-mem...Logic programs offer many opportunities for the exploitation of parallelism.But the parallel execution of a task incurs various overheads This paper focuses on the issues relevant to parallelizing Prolog on shared-memory multiprocessors efficiently.展开更多
基金Supported by the National Natural Science Foundation of China(60373086)
文摘A dynamic object behavior model based on computational reflection is proposed. This model consists of function level and meta level, the meta objects in meta level manage the base objects and behaviors in function level, including dynamic binding and unbinding of base object and behavior. We implement this model with RoleJava Language,which is our self linguistic extension of the Java Language.Meta Objects are generated automatically at compile\|time,this makes the reflecton mechanism transparent to programmers.Finally an example applying this model to a banking system is presented.
基金The National Science Fund for Distinguished Young Scholars (No.60425206)the National Natural Science Foundation of China (No.60633010)the Natural Science Foundation of Jiangsu Province(No.BK2006094)
文摘From a perspective of theoretical study, there are some faults in the models of the existing object-oriented programming languages. For example, C# does not support metaclasses, the primitive types of Java and C# are not objects, etc. So, this paper designs a programming language, Shrek, which integrates many language features and constructions in a compact and consistent model. The Shrek language is a class-based purely object-oriented language. It has a dynamical strong type system, and adopts a single-inheritance mechanism with Mixin as its complement. It has a consistent class instantiation and inheritance structure, and the ability of intercessive structural computational reflection, which enables it to support safe metaclass programming. It also supports multi-thread programming and automatic garbage collection, and enforces its expressive power by adopting a native method mechanism. The prototype system of the Shrek language is implemented and anticipated design goals are achieved.
基金supported by the National “863” Program of China(No.2015AA123702)the National Natural Science Foundation of China(Nos.11204318 and61275173)
文摘We employ the in-site automated observation radiometric calibration(AORC) approach to perform vicarious calibration, which does not require the manual efforts of a field team to measure the surface conditions. By using an automated test-site radiometer(ATR), the surface radiance at any moment in time can be obtained. This Letter describes the AORC approach and makes use of data to compute top-of-atmosphere radiance and compare it to measurements from the Moderate Resolution Imaging Spectroradiometer. The result shows that the relative deviation is less than 5% and the uncertainty is less than 6.2%, which indicates that the in-site AORC maintains an accuracy level on par with traditional calibration.
基金This nesearch was partially supported by National Natural Science Foundation of China.
文摘Logic programs offer many opportunities for the exploitation of parallelism.But the parallel execution of a task incurs various overheads This paper focuses on the issues relevant to parallelizing Prolog on shared-memory multiprocessors efficiently.