LightJason - AgentSpeak(L++)
|
interface of beliefbase definition, that create the trigger events for the agent More...
Public Member Functions | |
ILiteral | add ( @Nonnull final ILiteral p_literal) |
adds a literal More... | |
IView | add ( @Nonnull final IView p_view) |
adds a view More... | |
IBeliefbase | clear () |
clears all elements More... | |
boolean | containsLiteral ( @Nonnull final String p_key) |
contains a multi-element More... | |
boolean | containsView ( @Nonnull final String p_key) |
contains a single-element More... | |
IView | create ( @Nonnull final String p_name) |
returns a new view of the belief base More... | |
IView | create ( @Nonnull final String p_name, @Nullable final IView p_parent) |
returns a new view of the belief base 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... | |
IView | remove ( @Nonnull final IView p_view) |
removes a view More... | |
Stream< ILiteral > | streamLiteral () |
returns a stream over all literals More... | |
Stream< IView > | streamView () |
returns a stream over all views More... | |
Stream< ITrigger > | trigger ( @Nonnull final IView p_view) |
returns all trigger of the beliefbase More... | |
IView | view ( @Nonnull final String p_key) |
returns a view element More... | |
IView | viewOrDefault ( @Nonnull final String p_key, @Nullable final IView p_default) |
returns a view element More... | |
Public Member Functions inherited from org.lightjason.agentspeak.beliefbase.IStructure | |
boolean | empty () |
checks if the structure empty More... | |
int | size () |
returns the size of literals More... | |
IAgent<?> | update ( @Nonnull final IAgent<?> p_agent) |
updates all items More... | |
Public Attributes | |
IBeliefbase | EMPY |
empty beliefbase More... | |
T | agent type |
Definition at line 44 of file IBeliefbase.java.
p_literal | literal without path |
Implemented in org.lightjason.agentspeak.beliefbase.view.CViewMap.CWrapperBeliefbase, org.lightjason.agentspeak.beliefbase.IBaseBeliefbase, org.lightjason.agentspeak.beliefbase.CBeliefbase, and org.lightjason.agentspeak.beliefbase.IBeliefbaseOnDemand< T extends IAgent<?>.
Referenced by org.lightjason.agentspeak.beliefbase.view.CView.add(), and org.lightjason.agentspeak.beliefbase.view.CView.walkdown().
p_view | view |
Implemented in org.lightjason.agentspeak.beliefbase.view.CViewMap.CWrapperBeliefbase, org.lightjason.agentspeak.beliefbase.IBeliefbaseOnDemand< T extends IAgent<?>, and org.lightjason.agentspeak.beliefbase.CBeliefbase.
IBeliefbase org.lightjason.agentspeak.beliefbase.IBeliefbase.clear | ( | ) |
Implemented in org.lightjason.agentspeak.beliefbase.view.CViewMap.CWrapperBeliefbase, org.lightjason.agentspeak.beliefbase.CBeliefbase, and org.lightjason.agentspeak.beliefbase.IBeliefbaseOnDemand< T extends IAgent<?>.
Referenced by org.lightjason.agentspeak.beliefbase.view.CView.clear().
boolean org.lightjason.agentspeak.beliefbase.IBeliefbase.containsLiteral | ( | @Nonnull final String | p_key | ) |
p_key | key |
Implemented in org.lightjason.agentspeak.beliefbase.view.CViewMap.CWrapperBeliefbase, org.lightjason.agentspeak.beliefbase.CBeliefbase, and org.lightjason.agentspeak.beliefbase.IBeliefbaseOnDemand< T extends IAgent<?>.
Referenced by org.lightjason.agentspeak.beliefbase.view.CView.containsLiteral(), and org.lightjason.agentspeak.beliefbase.view.CViewMap.containsLiteral().
boolean org.lightjason.agentspeak.beliefbase.IBeliefbase.containsView | ( | @Nonnull final String | p_key | ) |
p_key | key |
Implemented in org.lightjason.agentspeak.beliefbase.view.CViewMap.CWrapperBeliefbase, org.lightjason.agentspeak.beliefbase.IBeliefbaseOnDemand< T extends IAgent<?>, and org.lightjason.agentspeak.beliefbase.CBeliefbase.
Referenced by org.lightjason.agentspeak.beliefbase.view.CView.containsView(), and org.lightjason.agentspeak.beliefbase.view.CViewMap.containsView().
IView org.lightjason.agentspeak.beliefbase.IBeliefbase.create | ( | @Nonnull final String | p_name | ) |
p_name | name of the view |
Implemented in org.lightjason.agentspeak.beliefbase.view.CViewMap.CWrapperBeliefbase, and org.lightjason.agentspeak.beliefbase.IBaseBeliefbase.
IView org.lightjason.agentspeak.beliefbase.IBeliefbase.create | ( | @Nonnull final String | p_name, |
@Nullable final IView | p_parent | ||
) |
p_name | name of the view |
p_parent | parent view |
Implemented in org.lightjason.agentspeak.beliefbase.view.CViewMap.CWrapperBeliefbase.
Collection<ILiteral> org.lightjason.agentspeak.beliefbase.IBeliefbase.literal | ( | @Nonnull final String | p_key | ) |
p_key | name of the literal |
Implemented in org.lightjason.agentspeak.beliefbase.view.CViewMap.CWrapperBeliefbase, org.lightjason.agentspeak.beliefbase.CBeliefbase, and org.lightjason.agentspeak.beliefbase.IBeliefbaseOnDemand< T extends IAgent<?>.
Referenced by org.lightjason.agentspeak.beliefbase.view.CView.stream(), and org.lightjason.agentspeak.beliefbase.view.CViewMap.stream().
ILiteral org.lightjason.agentspeak.beliefbase.IBeliefbase.remove | ( | @Nonnull final ILiteral | p_literal | ) |
p_literal | without path |
Implemented in org.lightjason.agentspeak.beliefbase.view.CViewMap.CWrapperBeliefbase, org.lightjason.agentspeak.beliefbase.IBaseBeliefbase, org.lightjason.agentspeak.beliefbase.CBeliefbase, and org.lightjason.agentspeak.beliefbase.IBeliefbaseOnDemand< T extends IAgent<?>.
Referenced by org.lightjason.agentspeak.beliefbase.view.CView.remove().
p_view | view |
Implemented in org.lightjason.agentspeak.beliefbase.view.CViewMap.CWrapperBeliefbase, org.lightjason.agentspeak.beliefbase.IBeliefbaseOnDemand< T extends IAgent<?>, and org.lightjason.agentspeak.beliefbase.CBeliefbase.
Stream<ILiteral> org.lightjason.agentspeak.beliefbase.IBeliefbase.streamLiteral | ( | ) |
Implemented in org.lightjason.agentspeak.beliefbase.view.CViewMap.CWrapperBeliefbase, org.lightjason.agentspeak.beliefbase.CBeliefbase, and org.lightjason.agentspeak.beliefbase.IBeliefbaseOnDemand< T extends IAgent<?>.
Referenced by org.lightjason.agentspeak.beliefbase.view.CView.stream(), and org.lightjason.agentspeak.beliefbase.view.CViewMap.stream().
Stream<IView> org.lightjason.agentspeak.beliefbase.IBeliefbase.streamView | ( | ) |
Implemented in org.lightjason.agentspeak.beliefbase.view.CViewMap.CWrapperBeliefbase, org.lightjason.agentspeak.beliefbase.CBeliefbase, and org.lightjason.agentspeak.beliefbase.IBeliefbaseOnDemand< T extends IAgent<?>.
Referenced by org.lightjason.agentspeak.beliefbase.view.CView.stream(), and org.lightjason.agentspeak.beliefbase.view.CViewMap.stream().
Stream<ITrigger> org.lightjason.agentspeak.beliefbase.IBeliefbase.trigger | ( | @Nonnull final IView | p_view | ) |
p_view | mask for events |
Implemented in org.lightjason.agentspeak.beliefbase.view.CViewMap.CWrapperBeliefbase, org.lightjason.agentspeak.beliefbase.CBeliefbase, and org.lightjason.agentspeak.beliefbase.IBaseBeliefbase.
Referenced by org.lightjason.agentspeak.beliefbase.view.CView.trigger(), and org.lightjason.agentspeak.beliefbase.view.CViewMap.trigger().
IView org.lightjason.agentspeak.beliefbase.IBeliefbase.view | ( | @Nonnull final String | p_key | ) |
p_key | name of the view |
Implemented in org.lightjason.agentspeak.beliefbase.view.CViewMap.CWrapperBeliefbase, org.lightjason.agentspeak.beliefbase.CBeliefbase, and org.lightjason.agentspeak.beliefbase.IBeliefbaseOnDemand< T extends IAgent<?>.
IView org.lightjason.agentspeak.beliefbase.IBeliefbase.viewOrDefault | ( | @Nonnull final String | p_key, |
@Nullable final IView | p_default | ||
) |
p_key | name of the view |
p_default | view |
Implemented in org.lightjason.agentspeak.beliefbase.view.CViewMap.CWrapperBeliefbase, and org.lightjason.agentspeak.beliefbase.CBeliefbase.
Referenced by org.lightjason.agentspeak.beliefbase.view.CView.walkdown().
IBeliefbase org.lightjason.agentspeak.beliefbase.IBeliefbase.EMPY |
Definition at line 49 of file IBeliefbase.java.