Figure 7. Generated Tree Example-Generative Learning Objects Instantiated with Random Numbers Based Expressions
Main Authors: | Ciprian-Bogdan Chirilă, Horia Ciocârlie, Lăcrămioara Stoicu-Tivadar |
---|---|
Format: | info Image eJournal |
Bahasa: | eng |
Terbitan: |
, 2015
|
Subjects: | |
Online Access: |
https://www.edusoft.ro/brain/index.php/brain/issue/view/30 |
Daftar Isi:
- In this subsection we give an example of a model instantiation. We describe the instantiation process for all the symbols in the AGLO model. The nNoOfElements symbol was instantiated with the generated value of 10. The tabKeys symbol was instantiated with the [A,B,C,D,E,F,G,H,I] generated array. The tree symbol was instantiated with a ”Tree” object built with arguments equal with previously instantiated symbols. Class ”Tree” is part of the auxiliary JavaScript library.The treeSVG symbol was assigned to the tree SVG string representation obtained by a method call and is depicted in figure 7.