From: Amandine M. <am...@la...> - 2021-09-23 07:16:53
|
Hello, I think you should use the function removePerceptsByUnif for what you're trying to do. Best, Amandine Le 21/09/2021 à 15:29, Amandine Mayima a écrit : > > Hello, > > I think you should use the function removePerceptsByUnif for what > you're trying to do. > > Best, > > Amandine > > Le 06/09/2021 à 18:43, Burak Karaduman a écrit : >> 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 >> >> >> >> _______________________________________________ >> Jason-users mailing list >> Jas...@li... >> https://lists.sourceforge.net/lists/listinfo/jason-users |