LightJason - AgentSpeak(L++)
|
base structure of instantiable elements More...
Public Member Functions | |
final boolean | equals (final Object p_object) |
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... | |
final int | hashCode () |
final IContext | instantiate ( @Nonnull final IAgent<?> p_agent, @Nonnull final Stream< IVariable<?>> p_variable) |
creates an individual execution context More... | |
Stream< IVariable<?> > | variables () |
returns a stream with all used variables More... | |
Protected Member Functions | |
IBaseInstantiable (final List< IExecution > p_action, final Set< IAnnotation<?>> p_annotation, final int p_hash) | |
ctor More... | |
Protected Attributes | |
final List< IExecution > | m_action |
action list More... | |
final Map< IAnnotation.EType, IAnnotation<?> > | m_annotation |
map with annotation (enum value for getting annotation object) More... | |
Private Member Functions | |
List< IFuzzyValue< Boolean > > | executeparallel (final IContext p_context) |
execute plan parallel More... | |
List< IFuzzyValue< Boolean > > | executesequential (final IContext p_context) |
execute plan sequential More... | |
Private Attributes | |
final int | m_hash |
hash code More... | |
Static Private Attributes | |
static final long | serialVersionUID = 8843291880722926104L |
serial id More... | |
Definition at line 50 of file IBaseInstantiable.java.
|
protected |
p_action | executed actions |
p_annotation | annotation map |
p_hash | hash code |
Definition at line 78 of file IBaseInstantiable.java.
final boolean org.lightjason.agentspeak.language.instantiable.IBaseInstantiable.equals | ( | final Object | p_object | ) |
Definition at line 92 of file IBaseInstantiable.java.
References org.lightjason.agentspeak.language.instantiable.IBaseInstantiable.hashCode().
IFuzzyValue<Boolean> org.lightjason.agentspeak.language.instantiable.IBaseInstantiable.execute | ( | final boolean | p_parallel, |
@Nonnull final IContext | p_context, | ||
@Nonnull final List< ITerm > | p_argument, | ||
@Nonnull final List< ITerm > | p_return | ||
) |
p_parallel | parallel execution |
p_context | current execution context |
p_argument | parameter of the action |
p_return | return values |
Implements org.lightjason.agentspeak.language.execution.IExecution.
Definition at line 113 of file IBaseInstantiable.java.
References org.lightjason.agentspeak.language.instantiable.plan.annotation.IAnnotation< T >.EType.ATOMIC, org.lightjason.agentspeak.language.instantiable.IBaseInstantiable.executeparallel(), org.lightjason.agentspeak.language.instantiable.IBaseInstantiable.executesequential(), org.lightjason.agentspeak.language.fuzzy.CFuzzyValue< T >.from(), and org.lightjason.agentspeak.language.instantiable.plan.annotation.IAnnotation< T >.EType.PARALLEL.
|
private |
p_context | execution context |
Definition at line 163 of file IBaseInstantiable.java.
References org.lightjason.agentspeak.language.instantiable.IBaseInstantiable.m_action.
Referenced by org.lightjason.agentspeak.language.instantiable.IBaseInstantiable.execute().
|
private |
p_context | execution context |
Definition at line 138 of file IBaseInstantiable.java.
References org.lightjason.agentspeak.language.fuzzy.IFuzzyValue< T >.fuzzy().
Referenced by org.lightjason.agentspeak.language.instantiable.IBaseInstantiable.execute().
final int org.lightjason.agentspeak.language.instantiable.IBaseInstantiable.hashCode | ( | ) |
Definition at line 86 of file IBaseInstantiable.java.
References org.lightjason.agentspeak.language.instantiable.IBaseInstantiable.m_hash.
Referenced by org.lightjason.agentspeak.language.instantiable.IBaseInstantiable.equals().
final IContext org.lightjason.agentspeak.language.instantiable.IBaseInstantiable.instantiate | ( | @Nonnull final IAgent<?> | p_agent, |
@Nonnull final Stream< IVariable<?>> | p_variable | ||
) |
p_agent | agent |
p_variable | variable stream |
Implements org.lightjason.agentspeak.language.instantiable.IInstantiable.
Definition at line 99 of file IBaseInstantiable.java.
References org.lightjason.agentspeak.language.CCommon.instantiate().
Stream<IVariable<?> > org.lightjason.agentspeak.language.instantiable.IBaseInstantiable.variables | ( | ) |
Implements org.lightjason.agentspeak.language.execution.IExecution.
Definition at line 106 of file IBaseInstantiable.java.
References org.lightjason.agentspeak.language.execution.IExecution.variables().
|
protected |
Definition at line 59 of file IBaseInstantiable.java.
Referenced by org.lightjason.agentspeak.language.instantiable.IBaseInstantiable.executeparallel(), org.lightjason.agentspeak.language.instantiable.rule.CRule.replaceplaceholder(), org.lightjason.agentspeak.language.instantiable.rule.CRule.toString(), and org.lightjason.agentspeak.language.instantiable.plan.CPlan.toString().
|
protected |
|
private |
Definition at line 68 of file IBaseInstantiable.java.
Referenced by org.lightjason.agentspeak.language.instantiable.IBaseInstantiable.hashCode().
|
staticprivate |
Definition at line 55 of file IBaseInstantiable.java.