LightJason - AgentSpeak(L++)
|
on-demand beliefbase for creating trigger-events without any percistency More...
Public Member Functions | |
ILiteral | add ( @Nonnull final ILiteral p_literal) |
adds a literal More... | |
final IView | add ( @Nonnull final IView p_view) |
adds a view More... | |
final IBeliefbase | clear () |
clears all elements More... | |
boolean | containsLiteral ( @Nonnull final String p_key) |
contains a multi-element More... | |
final boolean | containsView ( @Nonnull final String p_key) |
contains a single-element More... | |
boolean | empty () |
checks if the structure empty More... | |
Collection< ILiteral > | literal ( @Nonnull final String p_key) |
returns a literal by the name More... | |
ILiteral | remove ( @Nonnull final ILiteral p_literal) |
removes a literal More... | |
final IView | remove ( @Nonnull final IView p_view) |
removes a view More... | |
int | size () |
returns the size of literals More... | |
Stream< ILiteral > | streamLiteral () |
returns a stream over all literals More... | |
final Stream< IView > | streamView () |
returns a stream over all views More... | |
final IView | view ( @Nonnull final String p_key) |
returns a view element More... | |
final IView | viewOrDefault ( @Nonnull final String p_key, final IView p_default) |
Public Member Functions inherited from org.lightjason.agentspeak.beliefbase.IBaseBeliefbase | |
ILiteral | add ( @Nonnull final ILiteral p_literal) |
adds a literal More... | |
final IView | create ( @Nonnull final String p_name) |
returns a new view of the belief base More... | |
final IView | create ( @Nonnull final String p_name, final IView p_parent) |
ILiteral | remove ( @Nonnull final ILiteral p_literal) |
removes a literal More... | |
Stream< ITrigger > | trigger ( @Nonnull final IView p_view) |
returns all trigger of the beliefbase More... | |
IAgent<?> | update ( @Nonnull final IAgent<?> p_agent) |
updates all items More... | |
Public Member Functions inherited from org.lightjason.agentspeak.beliefbase.IBeliefbase | |
IView | create ( @Nonnull final String p_name, @Nullable final IView p_parent) |
returns a new view of the belief base More... | |
IView | viewOrDefault ( @Nonnull final String p_key, @Nullable final IView p_default) |
returns a view element More... | |
Additional Inherited Members | |
Public Attributes inherited from org.lightjason.agentspeak.beliefbase.IBeliefbase | |
IBeliefbase | EMPY |
empty beliefbase More... | |
Protected Member Functions inherited from org.lightjason.agentspeak.beliefbase.IBaseBeliefbase | |
final Stream< ITrigger > | cleartrigger (final IView p_view) |
copy of all trigger values More... | |
ILiteral | event (final ITrigger.EType p_event, final ILiteral p_literal) |
push an event and literal to the event map More... | |
IView | eventreference (final IView p_view) |
adds a view to the event referencing structure More... | |
final IView | internalremove (final IView p_view) |
removes the interal view references More... | |
Definition at line 42 of file IBeliefbaseOnDemand.java.
ILiteral org.lightjason.agentspeak.beliefbase.IBeliefbaseOnDemand< T extends IAgent<?>.add | ( | @Nonnull final ILiteral | p_literal | ) |
p_literal | literal without path |
Implements org.lightjason.agentspeak.beliefbase.IBeliefbase.
Definition at line 66 of file IBeliefbaseOnDemand.java.
final IView org.lightjason.agentspeak.beliefbase.IBeliefbaseOnDemand< T extends IAgent<?>.add | ( | @Nonnull final IView | p_view | ) |
p_view | view |
Implements org.lightjason.agentspeak.beliefbase.IBeliefbase.
Definition at line 120 of file IBeliefbaseOnDemand.java.
References org.lightjason.agentspeak.common.CCommon.languagestring().
final IBeliefbase org.lightjason.agentspeak.beliefbase.IBeliefbaseOnDemand< T extends IAgent<?>.clear | ( | ) |
Implements org.lightjason.agentspeak.beliefbase.IBeliefbase.
Definition at line 113 of file IBeliefbaseOnDemand.java.
boolean org.lightjason.agentspeak.beliefbase.IBeliefbaseOnDemand< T extends IAgent<?>.containsLiteral | ( | @Nonnull final String | p_key | ) |
p_key | key |
Implements org.lightjason.agentspeak.beliefbase.IBeliefbase.
Definition at line 79 of file IBeliefbaseOnDemand.java.
final boolean org.lightjason.agentspeak.beliefbase.IBeliefbaseOnDemand< T extends IAgent<?>.containsView | ( | @Nonnull final String | p_key | ) |
p_key | key |
Implements org.lightjason.agentspeak.beliefbase.IBeliefbase.
Definition at line 133 of file IBeliefbaseOnDemand.java.
boolean org.lightjason.agentspeak.beliefbase.IBeliefbaseOnDemand< T extends IAgent<?>.empty | ( | ) |
Implements org.lightjason.agentspeak.beliefbase.IStructure.
Definition at line 46 of file IBeliefbaseOnDemand.java.
Collection<ILiteral> org.lightjason.agentspeak.beliefbase.IBeliefbaseOnDemand< T extends IAgent<?>.literal | ( | @Nonnull final String | p_key | ) |
p_key | name of the literal |
Implements org.lightjason.agentspeak.beliefbase.IBeliefbase.
Definition at line 86 of file IBeliefbaseOnDemand.java.
ILiteral org.lightjason.agentspeak.beliefbase.IBeliefbaseOnDemand< T extends IAgent<?>.remove | ( | @Nonnull final ILiteral | p_literal | ) |
p_literal | without path |
Implements org.lightjason.agentspeak.beliefbase.IBeliefbase.
Definition at line 73 of file IBeliefbaseOnDemand.java.
final IView org.lightjason.agentspeak.beliefbase.IBeliefbaseOnDemand< T extends IAgent<?>.remove | ( | @Nonnull final IView | p_view | ) |
p_view | view |
Implements org.lightjason.agentspeak.beliefbase.IBeliefbase.
Definition at line 127 of file IBeliefbaseOnDemand.java.
References org.lightjason.agentspeak.common.CCommon.languagestring().
int org.lightjason.agentspeak.beliefbase.IBeliefbaseOnDemand< T extends IAgent<?>.size | ( | ) |
Implements org.lightjason.agentspeak.beliefbase.IStructure.
Definition at line 52 of file IBeliefbaseOnDemand.java.
Stream<ILiteral> org.lightjason.agentspeak.beliefbase.IBeliefbaseOnDemand< T extends IAgent<?>.streamLiteral | ( | ) |
Implements org.lightjason.agentspeak.beliefbase.IBeliefbase.
Definition at line 59 of file IBeliefbaseOnDemand.java.
final Stream<IView> org.lightjason.agentspeak.beliefbase.IBeliefbaseOnDemand< T extends IAgent<?>.streamView | ( | ) |
Implements org.lightjason.agentspeak.beliefbase.IBeliefbase.
Definition at line 106 of file IBeliefbaseOnDemand.java.
final IView org.lightjason.agentspeak.beliefbase.IBeliefbaseOnDemand< T extends IAgent<?>.view | ( | @Nonnull final String | p_key | ) |
p_key | name of the view |
Implements org.lightjason.agentspeak.beliefbase.IBeliefbase.
Definition at line 93 of file IBeliefbaseOnDemand.java.
References org.lightjason.agentspeak.common.CCommon.languagestring().
final IView org.lightjason.agentspeak.beliefbase.IBeliefbaseOnDemand< T extends IAgent<?>.viewOrDefault | ( | @Nonnull final String | p_key, |
final IView | p_default | ||
) |
Definition at line 99 of file IBeliefbaseOnDemand.java.
References org.lightjason.agentspeak.common.CCommon.languagestring().