A new algorithm that generates the image of the attractor of a generalized iterated function system
Radu Miculescu, Alexandru Mihail, Silviu-Aurelian Urziceanu

TL;DR
This paper introduces a novel grid algorithm for generating attractor images of generalized iterated function systems, offering a new computational approach and comparison with existing deterministic methods.
Contribution
The paper presents a new grid algorithm for attractor generation and compares its performance with existing deterministic algorithms.
Findings
The grid algorithm effectively generates attractor images.
Comparison shows advantages over deterministic algorithms.
Provides insights into algorithm efficiency and accuracy.
Abstract
We provide a new algorithm (called the grid algorithm) designed to generate the image of the attractor of a generalized iterated function system on a finite dimensional space and we compare it with the deterministic algorithm regarding generalized iterated function systems presented by P. Jaros, L. Maslanka and F. Strobin in [Algorithms generating images of attractors of generalized iterated function systems, Numer. Algorithms, 73 (2016), 477-499].
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
A new algorithm that generates the image of the attractor of a generalized iterated function system
Radu MICULESCU, Alexandru MIHAIL and Silviu-Aurelian URZICEANU
Abstract
We provide a new algorithm (called the grid algorithm) designed to generate the image of the attractor of a generalized iterated function system on a finite dimensional space and we compare it with the deterministic algorithm regarding generalized iterated function systems presented by P. Jaros, Ł. Maślanka and F. Strobin in [Algorithms generating images of attractors of generalized iterated function systems, Numer. Algorithms, 73 (2016), 477-499].
Key words and phrases: generalized infinite iterated function system (GIFS), attractor, deterministic algorithm, grid algorithm
2010 Mathematics Subject Classification: Primary 28A80; Secondary 37C70, 41A65, 65S05, 65P99
I. Introduction
As part of the effort to extend the classical theory of iterated function systems due to J. Hutchinson (see [2]), R. Miculescu and A. Mihail introduced the concept of generalized iterated function system (see [7] and [9]) which was obtained by considering contractions from into rather than contractions from into itself (here is a metric space and is a natural number). Sufficient conditions for the existence and uniqueness of the attractor of a generalized iterated function system (for short GIFS) , an upper bound for the Hausdorff–Pompeiu distance between the attractors of two such GIFSs, an upper bound for the Hausdorff–Pompeiu distance between the attractor of such a GIFS and an arbitrary compact set of have been provided and the continuous dependence of the attractor on the functions was proved. In the last years this concept has been intensively studied. Let us mention some lines of research regarding this subject:
In [15], F. Strobin and J. Swaczyna extended the concept of GIFS by using weaker types of generalized contractions which are similar to those introduced by F. Browder (see [1]) or J. Matkowski (see [5]). In [14], Strobin emphasized the fact that the set of the attractors generated by GIFSs is larger than the one generated by iterated function systems. Another related topics can be found in [4], [6], [8], [10], [11], [12], [13] and [16].
Moreover, in [3], Strobin and his collaborators provided four algorithms which generate images of attractors of GIFSs, one of them being the deterministic algorithm for GIFSs (a counterpart of the classical deterministic algorithm for iterated function systems). Note that in [3] one can also find a list of papers dealing with algorithms generating images of the attractors of iterated function systems.
In this paper we present another algorithm (called the grid algorithm) allowing to generate images of the attractors of GIFSs on finite dimensional spaces and we compare it with the deterministic algorithm for GIFSs. The deterministic algorithm for GIFSs consists in choosing a finite set of points and applying to this set each of the constitutive functions of the system obtaining in this way a new finite set of points. To each of these new points we apply again each of the constitutive functions of the system. Continuing the procedure described above we approach the attractor. The main idea of the grid algorithm is to simplify the deterministic algorithm by dividing, at each step, the space that we are working with in small pieces and to choose for each such piece just one point.
II. Preliminaries
Given a metric space , we adopt the following notation:
[TABLE]
For , we consider
[TABLE]
where .
The function given by
[TABLE]
for every , turns out to be a metric which is called the Hausdorff-Pompeiu metric.
If is complete, then is complete.
Given a metric space and , by we denote the Cartesian product of copies of . We endow with the maximum metric defined by
[TABLE]
for all .
Definition 2.1. A generalized iterated function system (of order ) is a pair , where is a metric space, and is contraction for each . The function , described by
[TABLE]
for all , is called the fractal operator associated to .
We shall use the abbreviation GIFS for a generalized iterated function system.
Theorem 2.2 (see Theorem 3.9 from [9]). Given a complete metric space and a GIFS of order , there exists a unique such that
[TABLE]
In addition, for every , the sequence defined by
[TABLE]
for every , converges, with respect to the Hausdorff-Pompeiu metric, to .
Definition 2.3. In the framework of the above theorem, the set is called the fractal generated by .
**Remark 2.4 **(see Remark 12 from [3]). In the framework of the above definition, the function , described by
[TABLE]
for all ,* is a contraction on the complete metric space* * since it has the Lipschitz constant less of equal to* .
III. The presentation of the algorithms
For , we shall use the following notation:
[TABLE]
where designates the greatest integer less than or equal to the real number .
In the sequel, without loss of generality,
[TABLE]
where and is the euclidean distance in , will be a generalized iterated function system of order (so for every ).
We shall use the following notation:
.
We also consider the following functions:
described by
[TABLE]
for all
described by
[TABLE]
for every .
a sequence of natural numbers.
For a finite set , we shall use the following notations:
[TABLE]
where
[TABLE]
where and
[TABLE]
where .
Let us recall the pseudocode for the deterministic algorithm for a GIFS (see [3])
Pseudocode for the deterministic algorithm for a GIFS
Read initially defined objects: constants: , finite set, natural number: , mappings: , variables: .
Initial values: .
For from to
.
Print .
Now let us present the pseudocode for our new algorithm.
Pseudocode for the grid algorithm for a GIFS
Read initially defined objects: constant: , finite set, natural number: , mappings: , sequence: , variables: .
Initial values: .
For from to
.
Print .
IV. The complexity of the algorithms
By we denote the number of points computed at the step of the deterministic algorithm and by the number of points computed up to the step of the grid algorithm.
A. The case of the deterministic algorithm
We have , so, with the notation , we obtain for every . Therefore , i.e.
[TABLE]
for every .
Note that, according to Remark 2.4, we have for every . Therefore, in order to be sure that approximates the attractor with accuracy , we need . Hence, based on , the quantity describes the number of points that we have to compute in order to be sure that is an approximation of with an error less than .
Conclusion: The complexity of the deterministic algorithm is described by the function given by
[TABLE]
for every .
B. The case of the grid algorithm
Remark 4.1. Since for every , up to the step , we have to compute points.
Remark 4.2. We have
[TABLE]
for every .
Remark 4.3. We have
[TABLE]
As the inequality
[TABLE]
[TABLE]
is valid for every , we get
[TABLE]
so, taking into account Remark 4.3, we obtain
[TABLE]
for every . Consequently, we arrive to the following problem: given a fixed natural number and such that , find the minimum of the function , given by
[TABLE]
for every , with the constraint
[TABLE]
We adopt the following notations:
.
Since we are going to use the method of Lagrange multipliers, we consider the function , where and the function is given by
[TABLE]
for every . The equation , i.e. , has the solution
[TABLE]
for every , where . As , we get
[TABLE]
i.e.
[TABLE]
so , which implies . The last equality takes the form . Thus we obtain
[TABLE]
We have
[TABLE]
[TABLE]
[TABLE]
Therefore, the last equality can be written as
[TABLE]
As the right hand side of gives us the optimal number of points that we have to compute, after steps, in order to approximate by with an error not greater than , we need to find the minimum value of the function given by
[TABLE]
for every . One can easily see that
[TABLE]
for every . As we can suppose that (since we are interested in the case when is small), and , we conclude that attains its minimum at and the value of the minimum is
[TABLE]
[TABLE]
so
[TABLE]
Conclusion: The complexity of the grid algorithm is described by the function given by
[TABLE]
for every .
In the final of this section we mention that (in order to avoid very complicated computations) we did not pay attention to the fact that the best values of and that we obtained (namely and ) may not be integers. In reality we could work with and without a significant change.
V. Final remarks
Remark 5.1. We have
[TABLE]
so the grid algorithm is more efficient than the deterministic algorithm.
Remark 5.2. As , we can improve our grid algorithm (which is based on the inequality )* in the following way:*
Pseudocode for the improved grid algorithm for GIFS
Read initially defined objects: constant: , finite set, natural number: , mappings: , sequence: , variables: .
Initial values: .
For from to
.
Print .
Remark 5.3. On the one hand, repeating the arguments used in IV, A, for the case of an iterated function system (i.e. ), we obtain that the complexity of the corresponding algorithm is* described by the function *given by
[TABLE]
for every* , so is involved at the exponent of . *We stress upon the fact that since , the closer is to , the bigger is the number of points that we have to compute in order to approximate the attractor with an error less that .
On the other hand, in the rule that gives the constant is involved only in the coefficient .
Moreover, note that for each .
VI. Examples
In section IV we compared the algorithms with respect to a fixed preassigned error. In this section our goal is to get an optimal image (with respect to the computer that we worked with) for three examples. For this reason we chose a version of the grid algorithm for which , the error being less than , where is the number of steps and is the contraction constant of the system.
A.
Consider the GIFS , where, for and , we have
[TABLE]
[TABLE]
and
[TABLE]
Using the deterministic algorithm we get the image indicated in figure 1 and using the grid algorithm we get the image in figure 2.
The deterministic algorithm run 4 steps in 10 seconds, while the grid algorithm 8 steps in less that 10 seconds.
Figure 1 has approximately points, while figure 2 comprises around 20000 points.
Remark 6.1. If we allow the deterministic algorithm to run 5 steps it needs about 90 minutes and we get a very similar image with the one in figure 2.
Figure 1
Figure 2
B.
Consider the GIFS , where, for and , we have
[TABLE]
and
[TABLE]
The deterministic algorithm yields the image in figure 3 and the grid algorithm produces the image in figure 4.
The deterministic algorithm needed 20 seconds to run 5 steps, while the grid algorithm needed about 10 minutes to run 14 steps.
Figure 3 consists of about points, while figure 4 is built up using around p oints.
Remark 6.2. With the aid of the computer that we utilized, the deterministic algorithm would need 42 days to run 6 steps.
Figure 3
Figure 4
C.
Consider the GIFS , where, for and , we have
[TABLE]
and
[TABLE]
The image in figure 5 indicates what we get running the deterministic algorithm and the image in figure 6 what we obtain using the grid algorithm.
Both algorithms ran about 2 minutes, the deterministic one running 5 steps, while the grid one 22 steps.
Figure 5 consists of about points, while figure 6 is made up of circa points.
Remark 6.3. Even though the number of points making up figure 5 is considerably bigger that the number of points building up figure 6, one can observe that the grid algorithm produces a much better approximation of the attractor.
Figure 5
Figure 6
**Acknowledgements. **The authors are very grateful to the reviewers whose extremely generous and valuable remarks and comments brought substantial improvements to the paper.
References
[1] F. Browder, On the convergence of successive approximations for nonlinear functional equations, Indag. Math., 30 (1968), 27–35.
[2] J.E. Hutchinson, Fractals and self similarity, Indiana Univ. Math. J., **30 **(1981), 713-747.
[3] P. Jaros, Ł. Maślanka and F. Strobin, Algorithms generating images of attractors of generalized iterated function systems, Numer. Algorithms, 73 (2016), 477-499.
[4] Ł. Maślanka, F. Strobin, On generalized iterated function systems defined on -sum of a metric space, J. Math. Anal. Appl., 461 (2018), 1795-1832.
[5] J. Matkowski, Integrable solutions of functional equations, Diss. Math., 127 (1975), 68 pp.
[6] R. Miculescu, Generalized iterated function systems with place dependent probabilities, Acta Appl. Math., 130 (2014), 135-150.
[7] A. Mihail and R. Miculescu, Applications of Fixed Point Theorems in the Theory of Generalized IFS, Fixed Point Theory Appl. Volume 2008, Article ID 312876, 11 pages doi: 10.1155/2008/312876.
[8] A. Mihail and R. Miculescu, A generalization of the Hutchinson measure, Mediterr. J. Math., 6 (2009), 203–213.
[9] A. Mihail and R. Miculescu, Generalized IFSs on Noncompact Spaces, Fixed Point Theory Appl. Volume 2010, Article ID 584215, 11 pages doi: 10.1155/2010/584215.
[10] E. Oliveira, The Ergodic Theorem for a new kind of attractor of a GIFS, Chaos Solitons Fractals, 98 (2017), 63–71.
[11] E. Oliveira and F. Strobin, Fuzzy attractors appearing from GIFZS, Fuzzy Sets Syst., 331 (2018), 131-156.
[12] N.A. Secelean, Invariant measure associated with a generalized countable iterated function system, Mediterr. J. Math., 11 (2014), 361-372.
[13] N.A. Secelean, Generalized iterated function systems on the space , J. Math. Anal. Appl., 410 (2014), 847-858.
[14] F. Strobin, Attractors of generalized IFSs that are not attractors of IFSs, J. Math. Anal. Appl., **422 **(2015), 99-108.
[15] F. Strobin and J. Swaczyna, On a certain generalisation of the iterated function system, Bull. Aust. Math. Soc., 87 (2013), 37-54.
[16] F. Strobin and J. Swaczyna, A code space for a generalized IFS, Fixed Point Theory, 17 (2016), 477-493.
Radu MICULESCU
Faculty of Mathematics and Computer Science
Transilvania University of Braşov
Iuliu Maniu Street, nr. 50, 500091
Braşov, Romania
E-mail: [email protected]
Alexandru MIHAIL
Faculty of Mathematics and Computer Science
University of Bucharest, Romania
Academiei Street 14, 010014, Bucharest, Romania
E-mail: [email protected]
Silviu-Aurelian URZICEANU
Faculty of Mathematics and Computer Science
University of Piteşti, Romania
Târgul din Vale 1, 110040, Piteşti, Argeş, Romania
E-mail: [email protected]
