From: Burak K. <bbu...@gm...> - 2024-04-08 12:36:09
|
Thank you so much, Jomi! It worked with the use of +temp(cold, U) <- +temp(cold)[mu(U]. I will use it as a back-up way. To make it as planned, I should dig into the BUF method. Thank you. Best regards. Jomi Hubner <jom...@gm...>, 8 Nis 2024 Pzt, 14:13 tarihinde şunu yazdı: > to have a different belief update based on perception, you have to > customise the BUF method of Agent class. This method > “reads” the list of literals sent by the environment and updates the BB > accordingly. > > > > On 8 Apr 2024, at 09:10, Burak Karaduman <bbu...@gm...> > wrote: > > > > Hi Jomi, > > > > I have already customised the selection functions. Is it possible to > work with annoys, for example, if I extend/customise the belief base? > > > > Thank you so much. > > > > Best regards. > > > > Jomi Hubner <jom...@gm...>, 8 Nis 2024 Pzt, 13:23 tarihinde şunu > yazdı: > > just an idea, > > > > keep perception as temp(cold, mu) > > > > add the plan > > +temp(cold, U) <- +temp(cold)[mu(U]. > > > > > > > > > On 8 Apr 2024, at 08:20, Burak Karaduman <bbu...@gm...> > wrote: > > > > > > Hi Jomi, > > > > > > The problem is that I have done all my configurations based on this > structure temp(cold)[mu(_)], i.e., anyTerm(_)[mu(_)]. Well, this can be the > only way of doing this because all the customization in the background must > be re-adapted, maybe. This is the last step and I am kind of stucked there > :(. Is there a way to handle this or any workaround? > > > > > > Thank you so much. > > > > > > Best regards. > > > > > > Jomi Hubner <jom...@gm...>, 8 Nis 2024 Pzt, 13:09 tarihinde > şunu yazdı: > > > Hi Burak, > > > > > > currently, something is considered as new perception based only on > terms, ignoring annotations. So, different annotations does not mean > different perception. Indeed, when that agent-environment integration was > conceived, the environment class provides literals without annotations. > > > > > > in your case, the “mu(.)” as a term should work. > > > > > > Best, > > > > > > Jomi > > > > > > > > > > On 8 Apr 2024, at 07:02, Burak Karaduman <bbu...@gm...> > wrote: > > > > > > > > Dear Jomi, > > > > > > > > I have an environment where I update a value in an annotated term. > However, it only updates the value once. Do you think that this is a bug? > > > > > > > > double term_cold = new Random().nextDouble(); > > > > > removePerceptsByUnif("myAgent",Literal.parseLiteral("temp(cold)[mu(_)]")); > > > > Literal literal_term_cold = > Literal.parseLiteral("temp(cold)[mu("+term_cold+")]"); > > > > addPercept("myAgent",literal_term_cold); > > > > It deletes and adds temp(cold)[mu(_)]; however, the double value > inside the mu is not updated and always stays the same. > > > > > > > > > > > > Thank you. > > > > > > > > Best regards. > > > > > > > > -- > > > > Burak KARADUMAN, > > > > Ph.D. Student at the University of Antwerp & Flanders Make, Modeling > Intelligent Complex Software & Systems (MICSS-Lab), > > > > G236, Department of Computer Science, Faculty of Science, Campus > Middelheim, > > > > Middelheimlaan 1, 2020 Antwerp, Belgium > > > > > > > > > > > > > > > > -- > > > Burak KARADUMAN, > > > Ph.D. Student at the University of Antwerp & Flanders Make, Modeling > Intelligent Complex Software & Systems (MICSS-Lab), > > > G236, Department of Computer Science, Faculty of Science, Campus > Middelheim, > > > Middelheimlaan 1, 2020 Antwerp, Belgium > > > > > > > > > > > -- > > Burak KARADUMAN, > > Ph.D. Student at the University of Antwerp & Flanders Make, Modeling > Intelligent Complex Software & Systems (MICSS-Lab), > > G236, Department of Computer Science, Faculty of Science, Campus > Middelheim, > > Middelheimlaan 1, 2020 Antwerp, Belgium > > > > -- *Burak KARADUMAN,* Ph.D. Student at the University of Antwerp & Flanders Make, Modeling Intelligent Complex Software & Systems (MICSS-Lab), *G236, Department of **Computer Science**, Faculty of Science, Campus Middelheim,* Middelheimlaan 1, 2020 Antwerp, Belgium |