From: Burak K. <bbu...@gm...> - 2021-09-06 16:43:40
|
Dear all, I have to clear a specific percept of a specific agent. I used the following code to clear its two combinations. removePercept("dropAgent",Literal.parseLiteral("dropButtonStatus(true)")); removePercept("dropAgent",Literal.parseLiteral("dropButtonStatus(false)")); It is worked, but for each combination of dropButtonStatus() or for any type of percept, I have to input the parameters one-by-one. I also tried something like this to address and clear all percepts related with dropButtonStatus removePercept("dropAgent",Literal.parseLiteral("dropButtonStatus(_)")); However, it did not work. How can I do it? 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 |