All Classes and Interfaces
Class
Description
Internal action:
.abolish
.Function:
math.abs(N)
: encapsulates java Math.abs(N).Function:
math.acos(N)
: encapsulates java Math.acos(N),
returns the arc cosine of a value; the returned angle is in the range 0.0 through pi.Internal action:
.add_annot
.Internal action:
.add_nested_source
.Internal action:
.add_plan
.Base agent architecture class that defines the overall agent architecture;
the AS interpreter is the reasoner (a kind of mind) within this
architecture (a kind of body).
The Agent class has the belief base and plan library of an
AgentSpeak agent.
Implementation of BB that stores some beliefs in a relational data base.
represents the agent declaration in the MAS2J project file.
Internal action:
.all_names
.Represents and solve arithmetic expressions like "10 + 30".
Common interface for all arithmetic functions
Represents an arithmetic function, like math.max(arg1,arg2) -- a functor (math.max) and two arguments.
Token literal values and constants.
Token Manager.
Function:
math.asin(N)
: encapsulates java Math.asin(N),
returns the arc sine of a value; the returned angle is in the range -pi/2 through pi/2.Convert an agent asl code to dot (http://www.graphviz.org/)
-- used to produce the graph of goals.
Convert an agent asl code to HTML.
Convert an agent asl code to LaTeX.
Convert an agent asl code to xml.
Internal action:
.asserta
.Internal action:
.assertz
.Internal action:
.at
.Function:
math.atan(N)
: encapsulates java Math.atan(N),
returns the arc tangent of a value; the returned angle is in the range -pi/2 through pi/2.Internal action:
.atom
.Represents an atom (a positive literal with no argument and no annotation, e.g.
base class for dialog windows
Runs MASProject using local infrastructure.
implement services that are based on BaseLocalMAS
Implementation of the Blind Commitment pattern (see DALT 2006 paper)
Implementation of the Backtracking Declarative Goal pattern (see DALT 2006 paper)
Internal action:
.belief(Bel)
.Common interface for all kinds of Jason Belief bases, even those
customised by the user.
Represents a binary/unary logical/relational operator.
Deprecated.
Use BodyType of PlanBody instead
Internal action:
.broadcast
.Function:
math.ceil(N)
: encapsulates java Math.ceil(N),
returns the smallest double value that is not less than the argument and is
equal to a mathematical integer.A wrapper for a chain of belief bases customisations.
This class is to be extended by customised belief bases that may be
used in chains (of responsibility).
Used to store class parameters in .mas2j file, e.g.
Internal action:
.concat
.This class can be used in place of DefaultInternalAction to create an IA that
suspend the intention while it is being executed.
Jason configuration
This interface has to be implemented by classes that
customises the agent allocation to containers/hosts in
the JADE infrastructure
Function:
math.cos(N)
: encapsulates java Math.cos(N),
returns the trigonometric cosine of an angle.Internal action:
.count
.Function:
.count(B)
: counts the number of occurrences of a particular belief
(pattern) in the agent's belief base, as the internal action .count.Internal action:
.create_agent
.Internal action:
.current_intention
.A term with recursion (cyclic), created by code like X = f(X).
Internal action:
.date(YY,MM,DD)
.Useful default implementation of all methods of ArithFunction interface.
Default implementation of Jason BB.
Default implementation of the internal action interface (it simply returns false
for the interface methods).
Base class for all terms.
Internal action:
.delete
.Internal action:
.desire(D, [ I ])
.Internal action:
.df_deregister(S [,T])
.Internal action:
.df_register(S [,T])
.Internal action:
.df_search(S [,T] , L)
.Internal action:
.df_subscribe(S [,T])
.Implementation of the Declarative Goal pattern (see DALT 2006 paper)
Internal action:
.difference(S1,S2,S3)
.Interface for all compiler directives (e.g.
This class maintains the set of directives and is used by the
parser to process them.
Internal action:
.drop_all_desires
.Internal action:
.drop_all_events
.Internal action:
.drop_all_intentions
.Internal action:
.drop_desire(D)
.Internal action:
.drop_event(D)
.
Internal action:
.drop_future_intention(I)
.Internal action:
.drop_intention(I)
.Function:
math.e
: encapsulates java Math.E.Implementation of the Exclusive BDG pattern (see DALT 2006 paper)
Internal action:
.empty
.It is a base class for Environment, it is overridden by the user
application to define the environment "behaviour".
This interface is implemented by the infrastructure tier (Jade/Local/...) to provide concrete implementation of the environment.
Internal action:
.eval(Var,Logical Expression)
.Base class for the user implementation of execution control.
This interface is implemented in the infrastructure tier (distributed/local)
to provide methods that the user controller may call.
Internal action:
.fail
.Internal action:
.fail_goal(G)
.Internal action:
.findall(Term,Query,List)
.Function:
math.floor(N)
: encapsulates java Math.floor(N),
returns the largest double value that is not greater than the argument and is
equal to a mathematical integer.Internal action:
.for(formula) { plan_body }
.Implementation of .fork (used for |invalid input: '&'| and ||| operators).
This class maintains the set of arithmetic functions available for the AS parser.
used by test lib
call-back interface to be notified about events on goals
Simple model for a grid world (with agents and obstacles).
View component for a GirdWorldModel.
Internal action:
.ground
.Implementation of if.
Used to generalise dropIM (in Intention)
Internal action:
.include
.Implementation of the
include
directive.Customised version of Belief Base where some beliefs are unique (with primary keys) and
indexed for faster access.
Internal action:
.intend(G, [ I ] )
.Internal action:
.intention( ID, STATE, STACK, [current])
.Represents and Intention (a stack of IntendedMeans).
Internal action:
.internal_action
.Common interface for all internal actions.
A particular type of literal used to represent internal actions (which has a "." in the functor).
Internal action:
.intersection(S1,S2,S3)
.Implementation of a basic jade agent for jason agents
Implementation of the Jade Architecture to run Jason agents
This class implements the Jade version of the environment
infrastructure tier.
Concrete execution control implementation for Jade infrastructure.
Implementation of BB that stores some beliefs in a relational data base.
injected by .fork
Internal action:
.kill_agent
.Internal action:
.length
.Function:
.length(L)
: returns the size of either the list or string L.Internal action:
.list
.Internal action:
.list_files
.Internal action:
.list_plans
.Internal action:
.list_rules
.The interface for lists of the AgentSpeak language
Represents a list node as in prolog .(t1,.(t2,.(t3,.))).
Internal action:
.literal
.This class represents an abstract literal (an Atom, Structure, Predicate, etc), it is mainly
the interface of a literal.
A Literal extends a Pred with strong negation (~).
This class provides an agent architecture when using Local
infrastructure to run the MAS inside Jason.
an agent architecture for the infra based on thread pool
This class implements the Local version of the environment infrastructure tier.
Concrete implementation of the controller for Local infrastructure
tier.
This class implements the Local version of the runtime services.
Function:
math.log(N)
: encapsulates java Math.log(N),
returns the natural logarithm (base e) of N.Internal action:
.log(level, args...)
.Represents a logical formula with some logical operator ("&", "|", "not").
Represents a logical formula (p, p invalid input: '&' q, not p, 3 > X, ...) which can be
evaluated into a truth value.
Implementation of while.
Internal action:
.lower_case(S1,S2)
.Manual for internal actions
The interface for maps in the AgentSpeak language
Represents a Jason map as a TreeMap in java
Token literal values and constants.
Represents a MAS2J project (usually created from a .mas2j file)
Token Manager.
A quick implementation of a TextPane with default coloring for Jason.
the GUI console to output log messages
Default formatter for Jason output.
Logger handler (redirect output to MASConsoleGUI)
Internal action:
.max
.Function:
math.max(N1,N2)
: encapsulates java Math.max(N1,N2).Function:
math.mean(L)
: returns the average mean of all values of L.Function:
math.median(L)
: returns the median of values in L.Internal action:
.member(T,L)
.Implementation of the Maintenance Goal pattern (see DALT 2006 paper)
Internal action:
.min
.Function:
math.min(N1,N2)
: encapsulates java Math.min(N1,N2).ArArch that displays the mind state of the agent
Interface for objects that want to listen sent messages in
Local architecture.
Internal action:
.my_name
.Internal action:
.namespace
.Implementation of the
namespace
directive.Internal action:
.namespace_get_prop
.Internal action:
.namespace_set_prop
.Internal action:
.nano_time
.no option from selectOption function
Internal action:
.nth
.Internal action:
.number
.The interface for numeric terms of AgentSpeak language
Immutable class that implements a term that represents a number
Interface for terms that encapsulate java objects
Implementation of the Open-Minded Commitment pattern (see DALT 2006 paper)
An Option is a Plan and the Unifier that has made it relevant and applicable
adapts an output print stream to a GUI interface (MasConsole or some JTextArea)
This exception is thrown when parse errors are encountered.
This exception is thrown when parse errors are encountered.
Internal action:
.perceive
.Function:
math.pi
: encapsulates java Math.PI.Represents an AgentSpeak plan
(it extends structure to be used as a term)
Internal action:
.plan_label(P,L)
.Interface for elements of a plans's body.
Represents a plan body item (achieve, test, action, ...) and its successors.
Represents a set of plans used by an agent
call-back interface to be notified about events on plabs
A Pred extends a Structure with annotations, e.g.: a(1)[an1,an2].
Represents the "type" of a predicate based on the functor and the arity, e.g.: ask/4
Internal action:
.prefix(P,L)
.Internal action:
.print
.Internal action:
.printf(format, args...)
.Internal action:
.println
.
Internal action:
.puts
.Internal action:
.random(N)
.Function:
math.random(N)
: encapsulates java Math.random;
If N is not informed: returns a value greater than or equal to 0.0 and less than 1.0;
If N is informed: returns a value greater than or equal to 0.0 and less than N.Internal action:
.range(Var,Start,End, Step)
.Implementation of the Relativised Commitment pattern (see DALT 2006 paper)
configuration values for agent execution model (threads, pools, synch, asynch,...)
Internal action:
.relevant_plan
.Internal action:
.relevant_plans
.Internal action:
.relevant_rules
.Represents a relational expression like 10 > 20.
Internal action:
.remove_plan
.replace the variable by unused named, to avoid clash.
Internal action:
.replace(S1,S2,S3,S4)
.Internal action:
.resume(G)
.Internal action:
.reverse
.Function:
math.round(N)
: encapsulates java Math.round(N);
returns the closest integer to the argument.A rule is a Literal (head) with a body, as in "a :- b & c".
Wraps a rule into a function.
Runs MASProject using JADE infrastructure.
Runs MASProject using *Local* infrastructure.
This interface is implemented by the infrastructure
(Jade/Local/...) to provide concrete runtime services.
Internal action:
.save_agent
.Internal action:
.send
.Internal action:
.set_random_seed(N)
.Internal action:
.setof(Term,Query,List)
.The interface for sets in the AgentSpeak language
Represents a Jason set as a TreeSet in java
MAS Runtime Settings for an Agent (from mas2j file, agent declaration)
Implementation of the Sequenced Goal Adoption pattern (see DALT 2006 paper)
Internal action:
.shuffle(List,Result)
.Internal action:
.signal
.An implementation of interface CharStream, where the stream is assumed to
contain only ASCII characters (without unicode processing).
An implementation of interface CharStream, where the stream is assumed to
contain only ASCII characters (without unicode processing).
Function:
math.sin(N)
: encapsulates java Math.sin(N),
returns the trigonometric sine of an angle.Implementation of the Single-Minded Commitment pattern (see DALT 2006 paper)
Internal action:
.sort
.Store information about the file source of some term (atom, literal, etc).
manages source paths and fixes absolute path for .asl
Function:
math.sqrt(N)
: encapsulates java Math.sqrt(N);
returns the correctly rounded positive square root of N.Function:
math.std_dev(L)
: returns the standard deviation of all values of L.Internal action:
.stopMAS
.Internal action:
.string
.The interface for string terms of the AgentSpeak language
Immutable class for string terms.
Internal action:
.structure
.Represents a structure: a functor with n arguments,
e.g.: val(10,x(3)).
a literal that uses equalsAsTerm for equals
Internal action:
.sublist(S,L)
.Internal action:
.substring
.Internal action:
.succeed_goal(G)
.Internal action:
.suffix(S,L)
.Function:
math.sum(L)
: sums all values of L.Internal action:
.suspend(G)
.Internal action:
.suspended(G, R)
.Function:
math.tan(N)
: encapsulates java Math.tan(N),
returns the trigonometric tangent of an angle.Common interface for all kind of terms
Internal action:
.term2string(T,S)
.Implementation of BB that stores the agent BB in text files.
Function:
system.time
: encapsulates java System.currentTimeMillis(),
returns the current time in milliseconds.Internal action:
.time(HH,MM,SS,MS)
.General environment class that "synchronise" all agents actions.
Policy used when a second action is requested and the agent still has another action pending execution
Describes the input token stream.
Describes the input token stream.
Token Manager Error.
Token Manager Error.
Represents an AgentSpeak trigger (like +!g, +p, ...).
Internal action:
.type
.Internal action:
.union(S1,S2,S3)
.Represents an unnamed variable '_'.
Internal action:
.upper_case(S1,S2)
.Represents a variable Term: like X (starts with upper case).
Internal action:
.verbose
.Internal action:
.version(V)
.Internal action:
.wait(E,T)
.