From: Burak K. <bbu...@gm...> - 2024-04-08 10:03:14
|
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 |