Object model of mathematical modeling subsystem | Vestnik Tomskogo gosudarstvennogo universiteta. Upravlenie, vychislitelnaja tehnika i informatika – Tomsk State University Journal of Control and Computer Science. 2010. № 1(10).

Object model of mathematical modeling subsystem

The paper presents mathematical calculations subsystem design for object-oriented distributedsystem of queuing modeling.This subsystem is proposed to split into three main components. Parser component is a linkbetween the Models Base, the Solver and client subsystems. It is designed to receive commands tocarry out calculations and return results. A special representation of mathematical formulas needto be created to perform the calculations. Mathematical formulas are invited to be written in objectform. Object representation allows you to create user-friendly formula designers and also tosolve storage problems effectively.Solver component directly is intended to carry out mathematical calculations directly. In thispaper we proposed to develop our own mechanisms for computing, as well as the possibility ofconnecting external components. The Solver was designed in order to an architectural pattern«Gateway».Models Base component is oriented to store model descriptions and their characteristics togetherwith the expressions which calculate them. It is proposed to create in XML file form.One of the main parts of the Parser component is the module that performs creation processesof object-represented formulas. Object oriented design pattern «Composite» is used to design thissubsystem. Main objects of the subsystem was presented in the paper: a special data typeDataType that offers common interface for scalar and matrix values, Expression and Variableclasses that are descendants of the FormulaAtom class and are designed for presentation ofmathematical expressions (subexpressions) and variables respectively.Expression class descendants are designed for computing of specific functions or operations.They defines necessary parameters and specifies the method Calculate().The actions sequence of formula calculation process was described. A sequence diagram forlogarithm sample is presented in the article for the better understanding of performing calculations.

Download file
Counter downloads: 362

Keywords

Object oriented programming, mathematical modeling, математическое моделирование, объектно-ориентированное проектирование

Authors

NameOrganizationE-mail
Lezarev Alexander V.Anjero-Sudjensk branch of the Kemerovo State Universitylezarev@asf.ru
Shkurkin Alexey S.Anjero-Sudjensk branch of the Kemerovo State Universityshkurkin@asf.ru
Всего: 2

References

Гамма Э., Хелм Р., Джонсон Р., Влиссидес Дж. Приемы объектно-ориентированного проектирования. Паттерны проектирования. СПб: Питер, 2007. 366 с.
Фаулер М. Архитектура корпоративных программных приложений: пер. с англ. М.: Издательский дом «Вильямс», 2004. 544 с.
Войтиков К.Ю., Моисеев А.Н. Модель компонентов объектной распределенной системы моделирования процессов массового обслуживания // Информационные технологии и математическое моделирование (ИТММ-2009): Материалы VIII Всероссийской научно- практической конференции с международным участием (13-14 ноября 2009 г.). Томск: Изд-во Том. ун-та, 2009. С. 122 - 124.
 Object model of mathematical modeling subsystem | Vestnik Tomskogo gosudarstvennogo universiteta. Upravlenie, vychislitelnaja tehnika i informatika – Tomsk State University Journal of Control and Computer Science. 2010. № 1(10).

Object model of mathematical modeling subsystem | Vestnik Tomskogo gosudarstvennogo universiteta. Upravlenie, vychislitelnaja tehnika i informatika – Tomsk State University Journal of Control and Computer Science. 2010. № 1(10).

Download file