Provides all default internal actions of Jason.
BDI
- {@link jason.stdlib.desire desire}: check agent's desires.
- {@link jason.stdlib.drop_desire drop_desire}: remove one agent's desire.
- {@link jason.stdlib.drop_all_desires drop_all_desires}: remove agent's desires.
- {@link jason.stdlib.intend intend}: check agent's intentions.
- {@link jason.stdlib.drop_intention drop_intention}: remove one agent's intention.
- {@link jason.stdlib.drop_all_intentions drop_all_intentions}: remove agent's intentions.
- {@link jason.stdlib.current_intention current_intention}: get a description of the
current intention.
- {@link jason.stdlib.drop_event drop_event}: remove one event.
- {@link jason.stdlib.drop_all_events drop_all_events}: remove events in the interpreter.
- {@link jason.stdlib.succeed_goal succeed_goal}: abort some goal with success.
- {@link jason.stdlib.fail_goal fail_goal}: abort some goal with failure.
- {@link jason.stdlib.suspend suspend}: suspend intentions.
- {@link jason.stdlib.suspended suspended}: check agent's suspended goals.
- {@link jason.stdlib.resume resume}: resume suspended intentions.
Belief base
- {@link jason.stdlib.abolish abolish}: remove some beliefs.
- {@link jason.stdlib.findall findall}: find all beliefs of some kind.
- {@link jason.stdlib.count count}: count the number of beliefs of some kind.
Plan Library
- {@link jason.stdlib.add_plan add_plan}: add new plans.
- {@link jason.stdlib.remove_plan remove_plan}: remove a plan.
- {@link jason.stdlib.plan_label plan_label}: get the label of a plan.
- {@link jason.stdlib.relevant_plans relevant_plans}: get a list of plans.
- {@link jason.stdlib.list_plans list_plans}: print out the plans in the current plan library.
Communication
- {@link jason.stdlib.send send}: send messages.
- {@link jason.stdlib.broadcast broadcast}: broadcast messages.
- {@link jason.stdlib.my_name my_name}: get the agent's name.
- {@link jason.stdlib.all_names all_names}: get the names of all agents in the system.
Lists and Sets
- {@link jason.stdlib.member member}: list members.
- {@link jason.stdlib.length length}: size of lists.
- {@link jason.stdlib.concat concat}: concat lists.
- {@link jason.stdlib.delete delete}: delete members of a lists.
- {@link jason.stdlib.reverse reverse}: reverse lists.
- {@link jason.stdlib.nth nth}: nth element of a lists.
- {@link jason.stdlib.max max}: maximum value of a lists.
- {@link jason.stdlib.min min}: minimum value of a lists.
- {@link jason.stdlib.sort sort}: sort lists.
- {@link jason.stdlib.list list}: check whether an argument is a list.
- {@link jason.stdlib.suffix suffix}: suffixes of a list.
- {@link jason.stdlib.prefix prefix}: prefixes of a list.
- {@link jason.stdlib.sublist sublist}: sublists of a list.
- {@link jason.stdlib.difference difference}: difference of sets.
- {@link jason.stdlib.intersection intersection}: intersection of sets.
- {@link jason.stdlib.union union}: union of sets.
String
- {@link jason.stdlib.length length}: size of strings.
- {@link jason.stdlib.concat concat}: append strings.
- {@link jason.stdlib.delete delete}: delete characters of a string.
- {@link jason.stdlib.reverse reverse}: reverse strings.
- {@link jason.stdlib.substring substring}: test substrings of strings.
- {@link jason.stdlib.string string}: check whether an argument is a string.
- {@link jason.stdlib.term2string term2string}: convert terms to strings and vice-versa.
Execution control
- {@link jason.stdlib.if_then_else if}: implementation of if.
- {@link jason.stdlib.loop while}: implementation of while.
- {@link jason.stdlib.foreach for}: implementation of for.
Meta programming
- {@link jason.stdlib.atom atom}: check whether an argument is an atom (p).
- {@link jason.stdlib.structure structure}: check whether an argument is a structure (p(t1,t2), [a,b]).
- {@link jason.stdlib.literal literal}: check whether an argument is a literal (p(t1,t2), ~p(t1,t2), p(t1,t2)[a1,a2]).
- {@link jason.stdlib.list list}: check whether an argument is a list ([a,b]).
- {@link jason.stdlib.ground ground}: check whether an argument is ground.
- {@link jason.stdlib.number number}: check whether an argument is a number (1, 2.3).
- {@link jason.stdlib.string string}: check whether an argument is a string ("s").
- {@link jason.stdlib.ground ground}: check whether an argument is ground.
- {@link jason.stdlib.add_nested_source add_nested_source}: add a source in a literal.
Miscellaneous
- {@link jason.stdlib.at at}: add a future event.
- {@link jason.stdlib.wait wait}: wait some event.
- {@link jason.stdlib.create_agent create_agent}: create a new agent.
- {@link jason.stdlib.kill_agent kill_agent}: kill an agent.
- {@link jason.stdlib.stopMAS stopMAS}: stop all agents.
- {@link jason.stdlib.date date}: get the current date.
- {@link jason.stdlib.time time}: get the current time.
- {@link jason.stdlib.fail fail}: an action that always fails.
- {@link jason.stdlib.perceive perceive}: force perception.
- {@link jason.stdlib.range range}: backtrack values in a range (used in for).
- {@link jason.stdlib.random random}: produces random numbers.