LightJason - AgentSpeak(L++)
|
agent interface More...
Public Member Functions | |
IView | beliefbase () |
returns the beliefbase More... | |
long | cycletime () |
returns the time in nano seconds at the last cycle More... | |
IFuzzyBundle< Boolean > | fuzzy () |
return fuzzy operator More... | |
< N extends IInspector > Stream< N > | inspect ( @Nonnull final N... p_inspector) |
inspector method More... | |
Multimap< ITrigger, IPlanStatistic > | plans () |
returns the internal map of plans More... | |
< N extends IAgent<?> N | raw () |
cast the interface agent object to a specified agent object More... | |
Multimap< IPath, IRule > | rules () |
returns amultimap with literal-rule functor and rle objects More... | |
Multimap< IPath, ILiteral > | runningplans () |
returns a map of the current running plans More... | |
IAgent< T > | sleep (final long p_cycles, @Nullable final ITerm... p_term) |
pushs the agent into sleeping state More... | |
IAgent< T > | sleep (final long p_cycles, @Nonnull final Stream< ITerm > p_term) |
pushs the agent into sleeping state More... | |
boolean | sleeping () |
returns sleeping state More... | |
Map< String, Object > | storage () |
storage access More... | |
IFuzzyValue< Boolean > | trigger ( @Nonnull final ITrigger p_trigger, @Nullable final boolean... p_immediately) |
trigger an event More... | |
IUnifier | unifier () |
returns an unifier More... | |
IVariableBuilder | variablebuilder () |
returns the variable builder function More... | |
IAgent< T > | wakeup ( @Nullable final ITerm... p_term) |
wake-up the agent by generating wakeup-goal More... | |
IAgent< T > | wakeup ( @Nonnull final Stream< ITerm > p_term) |
wake-up the agent by generating wakeup-goal More... | |
Public Attributes | |
IAgent<?> | EMPTY |
empty agent More... | |
T | agent type |
Definition at line 58 of file IAgent.java.
IView org.lightjason.agentspeak.agent.IAgent< T extends IAgent<?>.beliefbase | ( | ) |
Referenced by org.lightjason.agentspeak.consistency.filter.CBelief.apply(), org.lightjason.agentspeak.consistency.filter.CAll.apply(), org.lightjason.agentspeak.beliefbase.TestCPropertyBeliefbase.belieflist(), org.lightjason.agentspeak.action.builtin.TestCActionAgent.belieflist(), org.lightjason.agentspeak.action.builtin.TestCActionAgent.clearbeliefbase(), and org.lightjason.agentspeak.language.unify.CUnifier.variables().
long org.lightjason.agentspeak.agent.IAgent< T extends IAgent<?>.cycletime | ( | ) |
IFuzzyBundle<Boolean> org.lightjason.agentspeak.agent.IAgent< T extends IAgent<?>.fuzzy | ( | ) |
<N extends IInspector> Stream<N> org.lightjason.agentspeak.agent.IAgent< T extends IAgent<?>.inspect | ( | @Nonnull final N... | p_inspector | ) |
p_inspector | inspector object |
Multimap<ITrigger, IPlanStatistic> org.lightjason.agentspeak.agent.IAgent< T extends IAgent<?>.plans | ( | ) |
Referenced by org.lightjason.agentspeak.action.builtin.TestCActionAgent.addplan(), org.lightjason.agentspeak.action.builtin.TestCActionAgent.getplan(), org.lightjason.agentspeak.action.builtin.TestCActionAgent.planlist(), and org.lightjason.agentspeak.action.builtin.TestCActionAgent.removeplan().
<N extends IAgent<?> N org.lightjason.agentspeak.agent.IAgent< T extends IAgent<?>.raw | ( | ) |
Multimap<IPath, IRule> org.lightjason.agentspeak.agent.IAgent< T extends IAgent<?>.rules | ( | ) |
Multimap<IPath, ILiteral> org.lightjason.agentspeak.agent.IAgent< T extends IAgent<?>.runningplans | ( | ) |
Referenced by org.lightjason.agentspeak.consistency.filter.CPlan.apply(), and org.lightjason.agentspeak.consistency.filter.CAll.apply().
IAgent<T> org.lightjason.agentspeak.agent.IAgent< T extends IAgent<?>.sleep | ( | final long | p_cycles, |
@Nullable final ITerm... | p_term | ||
) |
p_cycles | number of cycles for sleeping - if is set to maximum the sleeping time is infinity |
p_term | literal list for wake-up calls |
IAgent<T> org.lightjason.agentspeak.agent.IAgent< T extends IAgent<?>.sleep | ( | final long | p_cycles, |
@Nonnull final Stream< ITerm > | p_term | ||
) |
p_cycles | number of cycles for sleeping - if is set to maximum the sleeping time is infinity |
p_term | term stream for wake-up calls |
boolean org.lightjason.agentspeak.agent.IAgent< T extends IAgent<?>.sleeping | ( | ) |
Map<String, Object> org.lightjason.agentspeak.agent.IAgent< T extends IAgent<?>.storage | ( | ) |
Referenced by org.lightjason.agentspeak.action.builtin.TestCActionStorage.addwithkeys(), org.lightjason.agentspeak.action.builtin.TestCActionStorage.addwithkeystrean(), org.lightjason.agentspeak.action.builtin.TestCActionStorage.addwithoutkeys(), org.lightjason.agentspeak.action.builtin.TestCActionStorage.clearwithkeys(), org.lightjason.agentspeak.action.builtin.TestCActionStorage.clearwithkeystream(), org.lightjason.agentspeak.action.builtin.TestCActionStorage.clearwithoutkeys(), org.lightjason.agentspeak.action.builtin.TestCActionStorage.existswithkeys(), org.lightjason.agentspeak.action.builtin.TestCActionStorage.existswithkeystream(), org.lightjason.agentspeak.action.builtin.TestCActionStorage.existswithoutkeys(), org.lightjason.agentspeak.action.builtin.TestCActionStorage.removewithkeys(), org.lightjason.agentspeak.action.builtin.TestCActionStorage.removewithkeystream(), and org.lightjason.agentspeak.action.builtin.TestCActionStorage.removewithoutkeys().
IFuzzyValue<Boolean> org.lightjason.agentspeak.agent.IAgent< T extends IAgent<?>.trigger | ( | @Nonnull final ITrigger | p_trigger, |
@Nullable final boolean... | p_immediately | ||
) |
p_trigger | event trigger |
p_immediately | run element immediately |
IUnifier org.lightjason.agentspeak.agent.IAgent< T extends IAgent<?>.unifier | ( | ) |
IVariableBuilder org.lightjason.agentspeak.agent.IAgent< T extends IAgent<?>.variablebuilder | ( | ) |
IAgent<T> org.lightjason.agentspeak.agent.IAgent< T extends IAgent<?>.wakeup | ( | @Nullable final ITerm... | p_term | ) |
p_term | any term value which will push into the wake-up plan |
IAgent<T> org.lightjason.agentspeak.agent.IAgent< T extends IAgent<?>.wakeup | ( | @Nonnull final Stream< ITerm > | p_term | ) |
p_term | stream to call wake-up plan |
IAgent<?> org.lightjason.agentspeak.agent.IAgent< T extends IAgent<?>.EMPTY |
Definition at line 63 of file IAgent.java.