LightJason - AgentSpeak(L++)
org.lightjason.agentspeak.language.instantiable.plan.IPlan Interface Reference

interface of plan More...

+ Inheritance diagram for org.lightjason.agentspeak.language.instantiable.plan.IPlan:
+ Collaboration diagram for org.lightjason.agentspeak.language.instantiable.plan.IPlan:

Public Member Functions

IFuzzyValue< Boolean > condition (final IContext p_context)
 execute the plan condition More...
 
ITrigger trigger ()
 returns the trigger event More...
 
- Public Member Functions inherited from org.lightjason.agentspeak.language.instantiable.IInstantiable
IContext instantiate ( @Nonnull final IAgent<?> p_agent, @Nonnull final Stream< IVariable<?>> p_variable)
 creates an individual execution context More...
 
- Public Member Functions inherited from org.lightjason.agentspeak.language.execution.IExecution
IFuzzyValue< Boolean > execute (final boolean p_parallel, @Nonnull final IContext p_context, @Nonnull final List< ITerm > p_argument, @Nonnull final List< ITerm > p_return)
 defines a plan-body operation More...
 
Stream< IVariable<?> > variables ()
 returns a stream with all used variables More...
 

Public Attributes

IPlan EMPTY
 empty plan More...
 

Detailed Description

Definition at line 43 of file IPlan.java.

Member Function Documentation

◆ condition()

IFuzzyValue<Boolean> org.lightjason.agentspeak.language.instantiable.plan.IPlan.condition ( final IContext  p_context)
Parameters
p_contextexecution context
Returns
execution result

Implemented in org.lightjason.agentspeak.action.builtin.TestCActionAgent.CEmptyPlan, and org.lightjason.agentspeak.language.instantiable.plan.CPlan.

◆ trigger()

ITrigger org.lightjason.agentspeak.language.instantiable.plan.IPlan.trigger ( )

Member Data Documentation

◆ EMPTY

IPlan org.lightjason.agentspeak.language.instantiable.plan.IPlan.EMPTY

Definition at line 48 of file IPlan.java.