Using of generic concepts of iterators and fuctional objects during the solving of mathematical modeling problems in object-oriented languages with support of F-bounded polimorphism

Бесплатный доступ

The article deals with an alternatively approach to scientific programming, based on the conceptual-holistic methodology that combines the features of several programming paradigms. When solving mathematical modeling problems related to physical research in optics, the use of pure object-oriented languages, such as C# and Java is quite rare. Excepting performance questions, it is connected to the underdeveloped means of iteration procedure and access to elements of collections. Also it is connected to the lack of complete information about the concrete type in the universal declarations of methods and abstract data types in compile time. For elimination of these shortcomings in the article use of the generic concepts allowing specifying requirements to arguments of algorithms is offered. The ability to control execution preconditions based on syntax and semantic restrictions sets the required strategy of data processing. The concepts is widely known in the C ++ community and means the requirement specification to parameters of types in the predicative form. These requirements set rules of application of syntax constructions and give understanding of what types, literals, valid operations, and expressions must be associated with them. Article is intended for permanently the practicing experts using C ++, C# or Java in scientific work and will be interesting from the point to combining of many, already existing, concepts, methods and technologies of data processing.

Еще

Generic algorithm, generic concept, range notation, traversal of range, iterator concept, operation concept, object-oriented language, f-bounded polymorphism

Короткий адрес: https://sciup.org/148314126

IDR: 148314126

Статья научная