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