PLANNING THE ACTIVITIES OF INTELLECTUAL AGENTS IN THE ELECTRONIC COMMERCE SYSTEMS

Context. Today, e-commerce is one of the most active and promising segments of the global economy, characterized by steady growth of volumes and active improvement of tools and technologies. Intellectualization of e-commerce systems today is one of the main trends in their development and effective functioning in a competitive environment. One of the most promising means of solving this task category is the use of intellectual agents (IAs). The modern approach to modeling the decision support process, in particular, in e-commerce, uses the Boyd’s loop principle, which involves repeated cycle repetition of four successive interrelated processes (stages): observation – orientation – decision-making – action. According to Boyd’s hypothesis, the higher speed of the cycle and the accuracy of the evaluation of the stages of the cycle provide an advantage over the competitor. Objective of the research is to develop tools for effective planning of actions of intellectual agents of e-commerce systems in a competitive environment based on ontologies, and to set the task of planning the actions of intellectual agents to the problem of dynamic programming. Method. The mathematical support and method of action planning of IA based on adaptive ontologies are developed. This method can be used to effectively operate IA in a competitive environment of the SEC, which is modeled by Boyd’s loop. Adaptive ontology is used to plan IA actions. To this end, we have added two scalar quantities (the importance of concepts and relationships) that are used to find an effective way to implement the IA plan in a generally accepted three-element tuple that defines ontology (a set of concepts, relationships, and their interpretation). Such an assessment of the ontology elements allows reducing the task of planning IA actions in a competitive environment to the task of dynamic programming. Results. In the article the model of planning of actions of intellectual agents of electronic commerce systems using an ontological approach is constructed. The method of evaluation of actions of intellectual agents on the basis of adaptive ontologies is developed. Such an assessment makes it possible to reduce the task of scheduling actions to the task of dynamic programming. Conclusions. Analysis of the results of IA actions can determine the causes of the formation of the target audience by a set of characteristics of the functioning of the SEC. By regulating the content, its uniqueness, the efficiency of its formation and its adequate management according to the individual needs of a regular user, one can model the boundaries of the target social audience and the number of unique visitors from search engines. In fig. 5–6 the results of the work of the developed systems in the form of charts are presented, from which it follows that in the presence of all types of IA significantly increases the volume of visits and unique users.


ABBREVIATIONS
B2B is a Business-to-business; B2C is a Business-to-consumer; C2B is a Consumer-to-business. KB is a knowledge base; IA is intelligent agent; IS is an information system; IP algorithmic paradigm; IT is an information technology; SA is a subject area; SEC is system of electronic commerce.

NOMENCLATURE
C is a set of concepts; R is the set of relations between concepts; F is the set of concepts and relationships interpretation axioms that set semantic constraints for a concepts and relationships system; S is set of AI states; A is a set of actions; Goal is set of target states; Path is path from the initial state to the state of the goal W is weight of the importance of concepts C; L is weight of the importance of relations R; ∆ t is some limit value of weight change of the concept, which depends on the ontology SA; σ i is confidence; σ iС is the old measure of confidence; U is information sources; T ij is information resource; a j kl is the transition of IA from the state S k to the state of S l , using the alternative a j ; g j kl cost of transition from state to state; ν(a j kl ) is evaluation of action a j kl at a time; D i is the domain of the property x i ; ν(S k ) is estimate of the state of S k ; ZP is task of planning the activity of IA in the SEC; E v is a scalar quantity that coordinates resource expenditures with IA actions; E q is a scalar quantity that agrees with the measure of the effect obtained with the actions of the IA; k ij g is the cost of resources for the transition from the state of S i to the state S j , using the alternative a k ; k j r is the period of operation of the IA in the state S j , in the alternative to a k ; e r is desired period of operation of IA.

INTRODUCTION
Today, e-commerce is one of the most promising areas for the development of Internet systems and Internet technologies.The trend of steady growth of the ecommerce market has remained unchanged for over two decades and continues to be maintained.According to a study by Morgan Stanley [5], it is projected that the global e-commerce market in 2016 will exceed $ 1 trillion in the USA.In Ukraine the total e-commerce market in 2015 compared to 2014 has increased by 37%, and in 2016 it is forecast to grow by 27% [2].Such active development of the industry causes additional competition and introduces new requirements to the participants of the e-commerce market.Unlike traditional trade, for which the main ways to increase competitiveness remain marketing approaches (price policy, expansion of the client base, the capture of new markets, change in the range, etc.) for e-commerce, the domination of technological solutions in improving market efficiency is typical.In the environment of e-commerce there is large number of factors that determine the behavior of elements in this environment, the way to make solutions and directly affect the effectiveness and quality of the results of the operation of IA.The description of such factors is stored in the KB, not in the database, since logical output plays an important role in the simulation of the IA's actions, which can be realized on the basis of knowledge about the software.The core of such a BP is the software ontology.Consequently, the development of methods and means of supporting the decision-making of the functioning of IA in the SEC using the ontological approach is an urgent area of research.The results of this set of tasks provide new opportunities for analyzing the IA solutions made in the competitive environment of ecommerce and their further adjusting.The main technological trends in the development of e-commerce systems and tools that increase their competitiveness in the market in 2018 are determined, such as: [4], [6] 1. Mobile technologies, which provide the active use of mobile devices to access e-commerce resources, advertising and electronic payments.
2. Multi-Channel is used for a wide range of different methods and means of communication between the ecommerce provider and the client.
3. Personalization is used for organization of the policy of interaction with the client based on his individual characteristics and needs.This is done by analyzing customer personal data from shopping history, forums, social networks and more.
4. Socialization is used for active communication between the e-commerce provider and clients using a variety of environments and IT.
5. Cloud Services are used to provide free access to the resources and proposals of the SEC without limiting client's place of residence, his time, IT and access facilities.
6. Big Data Technologies are used to involve the use of significant volumes of operational data of various content and format, obtained from a wide range of sources in the tasks of analysis and planning of the policy of the SEC.
7. Small Data Technologies are used to focus on the means of interaction with customers with the characteristics of a particular person by using personal data that is obtained in the process of communicating with the client.
8. The iBeacon technology uses close-range devices (Bluetooth, WiFi, NFC, etc.) to establish active contact with the customer at the time of his stay at a point of sale or service.9. Intellectual IT is based on the application of methods and tools for processing knowledge and situational decision-making in the SEC.
The object of the research is the processes of supporting the decision-making of the functioning of IA in the SEC using ontological approach.The subject of the research is the methods of effective planning of IA activities in the SEC.The aim of the study is to develop tools for effective planning of IA activities in the SEC in a competitive environment based on ontologies, and to sum up the task of planning IA actions to the task of dynamic programming.

PROBLEM STATEMENT
There are two main ways to achieve the competitive advantage of SEC in competitive environments using IA [3], [7], [9].The first way is to accelerate the OODA IA activity cycle.This allows the first to make decisions and forces competitors to respond in response to the imposed plan.The second way is to improve the quality of the decisions made, that is, to build a plan of action that is more responsive to a situation than a competitor's decision.One of the ways to improve the quality of solutions made by IA e-commerce a modern approach to building a BP on the basis of ontology can be to used [7], [8].Formally, the ontology consists of terms (concepts) organized in taxonomy, their definitions and attributes, as well as the axioms associated with them and the rules of derivation [8].Therefore, under the model of ontology O we understand the three forms O=<C, R, F>.
(1) The main attention in the article is focused on the planning of IA activities in the SEC (Boyd's loop orientation stage).The essence of the orientation of the AI is to find the Path from the initial state to the state of the goal, subject to the fulfillment of certain criteria.
Typically, such criteria specify the rationality of the behavior of the IA, the essence of which is to find a Path in which transition costs are optimal, and the effect (the reaction of the external environment within which the IA functions) from such a transition is maximal [5][6].Such rational behavior is similar to the well-known economic model of "price-quality", which makes it possible to reduce the task of constructing an action plan for IA to the category of two-criterion.

REVIEW OF THE LITERATURE
The intellectualization of the SEC, in the opinion of the authors, today is the most promising direction of their development in the coming years, as this way allows to change the principles of the functioning of e-commerce systems and tools in general.The introduction of intellectual IT involves the evolutionary transition of the SEC from the IP and IT to heuristic (intelligent systems).For systems constructed on this principle, there are the following features [3,9]: -flexibility, sensitivity to environmental indicators, self-organization; -ability to learn; -risks of errors; -accumulation and use of prior knowledge; -adaptation to changing environment.The use of intelligent technologies for the construction and organization of activities of the SEC considerably expands the possibilities of their functioning in a competitive environment [10][11][12][13][14][15][16].
Today, one of the most popular methods of constructing complex intelligent systems that operate in competitive environments is the use of IA [3,9].Intelligent Agent is a software tool designed for selflocation, moving and playback and performing certain actions in a distributed network environment, functioning of which is in accordance with the principles of intelligent systems [3].This means that the IA is able to identify the host environment and its changes, accumulate to apply knowledge (self-learning), make decisions, plan and perform actions in accordance with the situation [9].The use of IA as an active mean of business provides the SEC with fundamentally new opportunities that enhance their competitiveness and the efficiency of their operation in a competitive environment.
The most common approach to organizing the functioning of IA e-commerce in a competitive environment today is a Boyle Loop type model [1].Boyd's loop (cycle) is the concept of organizing the object's operation in a competitive environment, which involves the cyclic execution of a defined sequence of stages [1].The completion of the Boyd Loop stages form a cycle, denoted by the acronym OODA [1,9], that consists of the following sequence of procedures: 1) Observation is the process of gathering information necessary for a decision in a particular situation; 2) Orientation which involves the processing of information obtained as a result of actions at the monitoring stage, using methods of analysis and synthesis; 3) Decision-making is determination of the best variant of the plan of action for its further realization; 4) Action is the final stage of the cycle, which involves the practical implementation of the chosen course or action plan.

MATERIALS AND METHODS
The use of IA as an active means of business provides the SEC with fundamentally new opportunities that enhance their competitive ability and efficiency in a competitive environment.The main functions of the IA for the SEC are presented in the form of the Use-Case Diagram (Fig. 1) [17][18][19][20][21][22].
In this way, it is possible to organize the functioning of the electronic commerce system through an intelligent agent, whose work is based on the use of adaptive ontology (Fig. 1).Ontology in this structure is the core of the knowledge base that describes the agent's activity in the competitive environment of e-commerce.An intelligent agent in this case serves as an advanced interface tool in the interaction of the e-commerce system with clients and partners in a market-based Internet environment.This provides a significant expansion of the functionality of such an interface by providing the intelligent agent of the system of additional capabilities.
The main functions of the intellectual agent of the ecommerce system include [23][24][25][26][27][28][29][30][31]: -Maintenance of communications in the areas of "client-business", "business client" and "businessbusiness"; -Data collection and comparison of prices for goods and services with analogues in the e-commerce market for the formation of the pricing policy of the system of electronic commerce; -Realization of operations of purchase and sale of goods and services in the Internet environment; -Obtaining customer data from the external environment and transferring them to the e-commerce system; -Formation and targeting of advertising information from the system of electronic commerce to the client; -Beacon (iBeacon) client interaction with short-range devices such as Bluetooth, WiFi, NFC, etc.
In addition to expanding the functionality, the use of the intelligent agent creates opportunities for increasing the efficiency of the operation of the e-commerce system by improving the quality of decision-making in a competitive environment [32][33][34][35][36][37][38][39][40][41][42].By the nature of the tasks that are performed by the IA in the SEC, we will distinguish between the following categories (Fig. 2).
-B2C of IA types is provide interaction between the SEC and the consumer of goods and services; -C2B of IA types is provide interaction between consumers of goods and services from the SEC; -B2B of IA types is provide interconnection between the SECs.
The task of planning the activity of IA in the SEC ZP contains 3 components, ZP=<S, A, Goal>.For an effective planning of the e-commerce IA activity, an important element is the ability to evaluate the states and actions.For this purpose, it is expedient to use the model of adaptive ontology [6,14], which is defined by the expression of the species: where . The essence of the proposed solution consists in narrowing the search space of the best-case scenario of e-commerce IA, which allows us to eliminate the ineffective and inappropriate solution how to improve the quality of the final result.The solution of the ZP problem, in this case, is as follows: -adaptive ontology concepts Ĉ={ Ĉ 1 , Ĉ 2 , …, Ĉ m }, adaptive ontology Ô, which specify alternatives for the transition between states of the IA, give the weight W k , k=1,2, ..., m; -over time this weight varies depending on the degree of confidence σ i to the source of information on the basis of which alternative has been added to the ontology; -those notions of the set Ĉ, the increase in weights of which for a certain period does not exceed a certain threshold, ∆ t is removed.
-let at some time t the weight of the concept Ĉ k of the ontology Ô be equal to t k W .To increase the weight of the concepts, certain sources of information are used by U.That is, there are a plenty of information sources U={U 1 , U 2 , …, U m }, each of which contains a plurality of resources U i ={T i1 , T i2 , …, T ip }.The confidence measure for the source U i will be denoted as σ i ∈ [0, 1], where σ i =0 indicates a complete distrust of the source U i , σ i =1 is the maximum confidence in the source U i .It is initially assumed that the measure of confidence of all sources is the same, and has no deviations in one direction or another, that is, σ i =0.5, and in addition to the ontology, the concepts of the measure change.To assess the change in the confidence in the source, the following procedure is proposed: the new confidence measure σ iH to the source is calculated as , if the expert used source resources to supplement the ontology; -the new measure is calculated as where the entry from U i source of information is used to fill the ontology; -in the next step ontology excludes concepts for which the growth of confidence is insignificant, that is Performing such a sequence of steps allows you to reduce the search space of the best path (Path) in the IA actions.After the search space Path is narrowed, the twocriterion problem of choosing the transition path between two adjacent states can be reduced to a task with one criterion.To do this, we do the following: The set of concepts Ĉ is described by the characteristics (properties) of Х={x 1 , x 2 , …, x M }; the value of the property x i . is denoted as z i =z(x i )∈D i .The goal state of the Goal is determined by the fact that some subset of signs X´⊆ X must reach certain values of z(x i , Goal)∀x∈X´.To select actions we will rely on the rationality of IA behavior in the SEC, that is, in an effort to minimize the cost of resources to achieve the state of the goal.Each action a j kl equals a certain expense of IA resources -g j kl .In the tasks of improving the efficiency of the SEC in a competitive environment, each of the alternatives is characterized by resource costs (material, private, financial, etc.) and resulting effect (financial, marketing, time etc.).Information about alternatives, costs of operating resources is stored on an ontology.Estimates of the transition of IA from one state to another are directly proportional to (1) cost of resources ν(a j kl , and (2) for the resulting effect q(a j kl )=E q ⋅g j kl .In this view, the task of the IA is to minimize the values that characterize the SEEC's total costs in the selected way and maximizing the resulting SEC effect where (k,l) specifies the transition path from the state S k to the state S l , j kl the alternative number selected for such a transition, Path(V) is the path for reducing the cost, Path(Q) is the way to increase the effect.Thus, in this way the task of planning the actions of IA in the SEC is reduced to a two-criterion optimization problem.
Traditionally, such tasks are quite complex to solve, require the use of dynamic programming methods and do not always give the expected solution.The use of ontology in IA planning allows the heuristic approach that is based on pre-acquired knowledge that builds on such an oncology and continually updates and replenishes them in the processes of the functioning of an IA for building an effective plan of its action.In order to assess the reaction of the environment to the behavior of IA in the SEC, principles have been applied to stimulating learning [11].This involves the following scheme of his actions: -at each step the agent is in the state s of some set of states S; -in such a state, he chooses from an existing set of actions A some action a; -in response to this e-commerce environment informs the agent of the evaluation of the results of such an action and a new state; -on the basis of the received IA builds an optimal plan of behavior, corresponding to the given criteria.
We denote is functions of transition between states.
The task is to maximize the winnings.In the real situation, at the beginning of the process, the IA is in absolute uncertainty, since no known reaction of the system to any actions, including transitions between states.According to the theory of stimulating learning [14], the optimal value of a state is the reward that we receive if the IA works best.This value can be defined as the solution of equations: . ( If you know it, then the choice of the optimal strategy is carried out according to the formula: Traditionally, this problem is solved by an iterative method.Taking into account ( 4) and ( 5), we obtain a twocriterion problem.From a mathematical point of view, there is no ideal method or method for solving such problems.Each of them has its own advantages and disadvantages and the scope of application.Having analyzed the known methods, the method of the main component is chosen if the target functions (4) or ( 5) can be evaluated accordingly from below or from above; if it is impossible to evaluate them, then we use the complex criterion method.Thus we get one of three tasks: Tasks ( 6)-( 8) are multi-step optimization tasks, that is, the tasks of dynamic programming.In practice, solving such problems is complex enough, and is requiring considerable time and resource costs.Therefore, repeated repetition of such procedures for choosing an optimal IA action plan can significantly impede or disable its activities.An alternative way is to build an action plan based on previously obtained decisions that are stored in the BP.The basis of such a BP forms a special ontology.The use of ontology reduces task of constructing a plan to search for and evaluate conversion options based on predetermined descriptions, rules and criteria (Fig. 3).The use of the intellectual agent and the knowledge base on the basis of adaptive ontology allows you to move from solving the problem of dynamic programming to choosing a solution based on previously acquired knowledge.The work of the intellectual agent of the ecommerce system in this process is organized as follows.
1. IA generates a request for an ontology, which defines the type of e-commerce activity and criteria for optimality of the cost indices of V* resources and the effectiveness of Q*.
2. As a result of the query, the intelligent receives transition options for constructing an optimal action plan to minimize resource costs -Path(V) and maximize the Path(Q) effect.
3. SEC implements selected plans and performs an estimate of the optimality of the cost of resources V* and efficiency of Q*.
4. The results of the evaluation system are passed to the agent, which, in the case of their compliance with the specified criteria, preserves the selected paths Path(V) and Path(Q) as optimal transitions for the specified type of action of the SEC.
5. In case of non-compliance of the results of the actions of the SEC with the given criteria of optimality, the intellectual agent initiates the updating of the adaptive ontology with new knowledge about optimal variants of transitions.An update is either performed by an expert or based on previously accumulated IA knowledge.
In general, this way of solving the problem of constructing an optimal IA action plan involves a significant reduction in the level of its formalization and the accuracy of the results.However, given that the use of large volumes of incomplete or inaccurate data and informal criteria is typical for the SEC, the use of traditional mathematical methods becomes rather difficult and often impossible.Therefore, the use of ontologies for constructing an IA action plan is justified in such circumstances by approach.

EXPERIMENTS
The module of functioning of IA planning of the SEC activity was developed [12].Let the IA be in the state S(0), there is some information resource G. Before the IA there is a task P is to go to some target state of Goal, using this resource and software knowledge stored in its ontology: → .The period of operation of the IA (r) is used to assess the states, and for the actions, the cost of resources g for the transition from state to state.
Then the formula for choosing alternatives is presented as: So for interaction of the SEC with the consumer it is necessary to solve three subtasks (identification, processing of the order, implementation of payments), the second of which is divided into nine subtasks (the formation of a consumer basket, the formation of proposals for shares, receipt of confirmation of the order from the consumer, clarification of the methods payments, payment, clarification of delivery methods, registration of the order, formation of a notice to the consumer about the registration of the order).
Alternative solutions are used to solve each subtask.For the subtask of specifying the delivery methods you can choose one of three alternatives: mail, courier, self delivery.Information is stored in the ontology of ecommerce [13].
The rationality of activity planning is formulated as follows: how to maximize the resulting SEEK effect with minimal cost, taking into account that: 1) the main restrictive resource factor is the level of demand for goods and services that a particular SEC implements; 2) the target economy effect received by the user of the IA from the functioning of the SEC and possible losses from its incorrect functioning; 3) The costs of promoting the information resources of the SEС are known and determined by IT Internet marketing and SEO; 4) indicative terms of profitable functioning of the SEC for a specific category of goods or services for known (specified) promotional and other measures by Internet marketing tools and SEO technologies are known from expert assessments, norms, forecasts, for example, based on Google Analytics and tools statistics Google Adsense and Google AdWords.
So for the subtype of the formation of sales for goods or the formation of shares for the service in accordance with the forecasts for the decline in demand for them, the following rule has been used: IF ((Ends the seasonal period) OR (The number of sales is equal to or less than the threshold minimum) OR (The number of negative comments is greater or equal or (The number of failures / returns is greater or equal to the threshold minimum)) AND (There are no alternative solutions, goods or services) TO (Block the sale of goods and formulate a request moderator on his replacement).
KB details this rule through the system of refinement product rules, constructed in accordance with the Rete algorithm.For IA, there is important information that allows you to succeed in solving this problem, i.e.: information on new types of alternative products or services that are more in demand among potential customers; information on pricing policies for such alternative products in accordance with the capabilities of regular consumers (target audiences) of this specific SEC; information on more effective marketing technologies for the promotion of goods and services through the information resource of the SEC.To search for this information, analyze the information resources of the relevant SECs that have been in demand in recent years.The results are written in the developed ontology using the SWRL rules.In general, we get the following model of the problem: where j j r r min = .
The problem ( 9) can be solved by the method of functional equations, which is suitable for solving dynamic programming tasks.The use of adaptive ontologies in IA KB allows reducing the task of planning activities to the task of dynamic programming [14][15].

RESULTS
For the SEC without IA, the statistics of the visit are rather chaotic and uncontrolled (Fig. 4).Analysis of the results of IA actions can determine the causes of the formation of the target audience by the set of characteristics of the functioning of the SEC.By regulating the content, its uniqueness, the efficiency of its formation and its adequate management according to the individual needs of a regular user, one can model the boundaries of the target social audience and the number of unique visitors from search engines.
In fig.5-6 the results of the work of the developed systems in the form of charts are presented, from which it follows that in the presence of all types of IA significantly increases the volume of visits and unique users.
The fig. 5 presents a result of statistical analysis of the fotoghalereja-vysocjkykh.com functioning.The fig. 5a shows a dependence of selling commercial content from visiting information resource fotoghalerejavysocjkykh.com.The fig. 5b shows the correlation of the visit to the information resource of fotoghalerejavysocjkykh.com and the implementation of commercial content, depending on the application of methods for processing commercial content.The fig. 6 presents the result of statistical analysis of the Victana functioning.The fig. 6a shows the statistical distribution of visits to the information resource victana.lviv.uaand the implementation of commercial content.The fig. 6b shows a dependence of the visit to the information resource victana.lviv.uaand the implementation of commercial content from the connection of software for the processing of information content.The service of the statistics of visits to the information resource of the SEC allows us to estimate the increase in the volume of sales of content from the direct proportional dependence of the increase in the number of visits to the information resource, the number of regular users, the promise of marketing activities (Fig. 7a).The fig. 7b presents a mathematical expectation of commercial content realization through the information resource.The fig. 8 shows a result of statistical analysis of the information resource victana.lviv.uavisiting pages per session.

DISCUSSION
The presence of different types of IA in SEC increases in sales of goods and / or services a regular user of 9%, the active involvement of unique visitors, potential users and expanding the boundaries of the target and regional audience by 11%, page views by 12%, time of visit information resources on 7%.So cumulative (fig.9a) and median filtering (fig.9b) for information resource victana.lviv.uavisit pages per session is shown in Fig. 9.For an agglomeration hierarchical cluster analysis, it is advisable to choose the strategy of the "closest neighbor" for unification (since the proximity matrix consists of only 5 objects).The distance between the two groups is defined as the distance between the two closest elements of these groups (Fig. 10).This strategy is monotonous and greatly compresses the space of signs.
We will now analyze the information resource tatjana.in.ua from the IA type B2C (Fig. 11 The fig. 11a shows the time line diagram of visits on the information resource tatjana.in.ua from the IA type B2C.The fig. 11b shows cumulative diagram of visits on the information resource tatjana.in.ua from the IA type B2C.The site visits are going down in time for the information resource of the IA type B2C.This shows on fig. 12 also.Fig. 12a shows the time line diagram of visits on the information resource of the IA type B2C.Fig. 12b shows the histogram cumulative of visits on the information resource tatjana.in.ua from the IA type B2C.In fig.13 is dendrogram, of visit on tatjana.in.ua.
In fig.14 gives the result of finding the trend in a time series of smoothing methods for the information resource tatjana.in.ua without IA.

CONCLUSIONS
The mathematical support and method of action planning of IA based on adaptive ontologies are developed.This method can be used to effectively operate IA in a competitive environment of the SEC, which is modeled by Boyd's loop.Adaptive ontology is used to plan IA actions.To this end, we have added two scalar quantities (the importance of concepts and relationships) that are used to find an effective way to implement the IA plan in a generally accepted three-element tuple that defines an ontology (a set of concepts, relationships, and their interpretation).Such an assessment of the ontology elements allows to reduce the task of planning IA actions in a competitive environment to the task of dynamic programming.The scientific novelty of the article is the development of a method and mathematical support for the use of ontologies at the stage of Boyd's loop orientation for constructing an effective IA action plan for SEC.The presence of all types of IAs in the SEC leads to an increase in the volumes of sales of goods and / or services to a constant user by 9%, the active involvement of unique visitors, potential users and the expansion of the target and regional audience by 11%, revised pages by 12%, time of information resource visits to 7%.

ACKNOWLEDGEMENTS
The work was performed within the framework of the state budget theme "Methods and means of functioning of decision-support systems on the basis of ontologies" (ID: 839 2017-05-15 09:20:01 (2459-315)).The research was carried out within the framework of joint research of the department of information systems and networks of Lviv Polytechnic National University on the topic "Research, development and implementation of intelligent distributed information technologies and systems based on database resources, data warehouses, data spaces and knowledge to accelerate the processes of forming modern information society".Scientific researches were also carried out within the framework of the research topics of the Information System and Network Department at Lviv Polytechnic National University on the topic "Development of intellectual distributed systems based on the ontological approach for the integration of information resources".

Figure 1 -
Figure 1 -A UML diagram of options for using an intelligent agent

Figure 2 -
Figure 2 -Intelligent agent categories for e-commerce system

Figure 3 -
Figure 3 -Case diagram of using the intelligence agent when choosing an optimal action plan

Figure 4 -
Figure 4 -An example of visiting the information resource (travelua.org)for Internet tourism For a detailed analysis of the functioning of the SEC as an Internet newspaper and Internet journal, different systems with different types of IAs were developed and implemented, maintaining for each of them a different number of stages of the content lifecycle.That is, not all types of IAs have been developed for different implemented SECs or IAs have not been developed at all.Tabl 1 provides a list of implemented SECs indicating the availability of implemented IAs with maintenance of the content lifecycle.

Figure 6 -
Figure 6 -Statistical analysis of the Victana functioning: а -diagram of relations; b -graph of dependency

Figure 7 -Figure 8 -Figure 9 -
Figure 7 -Regression analysis of the increase in content sales: а -diagram of regression analysis for visits to the kursyvalyut.comresource; b -diagram of mathematical expectation of commercial content realization through the information resource

Figure 10 -Figure 11 - 4 ©
Figure 10 -Statistical analysis of the visiting resource victana.lviv.ua:а -stages of the "closest neighbor" strategy; b -dendrogram of dependency Fig. 14a shows original data on smoothing time line diagram for the visit on the information resource of the IA type B2C.Fig. 14b shows smoothing time line diagram for the visit on the information resource of the IA type B2C where smoothing coefficient w=3.Fig. 14c shows smoothing time line diagram for the visit on the information resource of the IA type B2C where smoothing coefficient w=5.

Table 1 -
Implementation of various IAs in the SEC