From: Burak K. <bbu...@gm...> - 2023-12-18 17:17:39
|
Dear all, I have been working on finding an implicit alternative of action parameterization: Instead of using AnyNumber as a parameter, .asl +!planABC: true <- .wait(1); actionABC( AnyNumber );. Environment: else if(action.getFunctor().equals("actionABC")){ int abc= (int)((NumberTerm)action.getTerm(0)).solve(); } I should only use the environment to get the value of AnyNumber using something like: Environment: getBelief("NameOfAnAgent",beliefName..) etc. Is there a way to achieve this? 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 |