From: Jomi H. <jom...@gm...> - 2024-04-08 11:23:49
|
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 > |