LightJason - AgentSpeak(L++)
org.lightjason.agentspeak.action.builtin.graph.CIsPredecessorMultiple Class Reference

checks all vertex tuples if the first part the predecessor of the second on a single graph instance. More...

+ Inheritance diagram for org.lightjason.agentspeak.action.builtin.graph.CIsPredecessorMultiple:
+ Collaboration diagram for org.lightjason.agentspeak.action.builtin.graph.CIsPredecessorMultiple:

Protected Member Functions

final void apply (final boolean p_parallel, @Nonnull final Graph< Object, Object > p_graph, @Nonnull final List< ITerm > p_window, @Nonnull final List< ITerm > p_return)
 
final int windowsize ()
 
- Protected Member Functions inherited from org.lightjason.agentspeak.action.builtin.graph.IApplyMultiple
abstract void apply (final boolean p_parallel, @Nonnull final Graph< Object, Object > p_graph, @Nonnull final List< ITerm > p_window, @Nonnull final List< ITerm > p_return)
 apply call More...
 
abstract int windowsize ()
 window size More...
 
- Protected Member Functions inherited from org.lightjason.agentspeak.action.builtin.IBuiltinAction
 IBuiltinAction ()
 ctor More...
 
 IBuiltinAction (final int p_length)
 ctor More...
 

Static Private Attributes

static final long serialVersionUID = -4684357908598619316L
 serial id More...
 

Additional Inherited Members

- Public Member Functions inherited from org.lightjason.agentspeak.action.builtin.graph.IApplyMultiple
final 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 minimalArgumentNumber ()
 minimum number of arguments More...
 
- Public Member Functions inherited from org.lightjason.agentspeak.action.builtin.IBuiltinAction
final IPath name ()
 returns the name with path of the action More...
 
- Public Member Functions inherited from org.lightjason.agentspeak.action.IBaseAction
final boolean equals (final Object p_object)
 
final int hashCode ()
 
final String toString ()
 
- Public Member Functions inherited from org.lightjason.agentspeak.action.IAction
default Stream< IVariable<?> > variables ()
 returns a stream with all used variables More...
 
- Public Attributes inherited from org.lightjason.agentspeak.action.IAction
long serialVersionUID = -6374480398439703170L
 serial id More...
 
- Static Protected Attributes inherited from org.lightjason.agentspeak.action.builtin.IBuiltinAction
static final Logger LOGGER = CCommon.logger( IBuiltinAction.class )
 logger More...
 
- Static Protected Attributes inherited from org.lightjason.agentspeak.action.IBaseAction
static final Logger LOGGER = org.lightjason.agentspeak.common.CCommon.logger( IAction.class )
 logger More...
 

Detailed Description

The action checks for the first graph argument if the first part of all vertex tuples a predecessor of the second part, the action never fails

[B1|B2|B3] = graph/ispredecessormultiple( Graph, Vertex1, Vertex2, [Vertex3, Vertex4, [Vertex5, Vertex6]] );

Definition at line 41 of file CIsPredecessorMultiple.java.

Member Function Documentation

◆ apply()

final void org.lightjason.agentspeak.action.builtin.graph.CIsPredecessorMultiple.apply ( final boolean  p_parallel,
@Nonnull final Graph< Object, Object >  p_graph,
@Nonnull final List< ITerm p_window,
@Nonnull final List< ITerm p_return 
)
protected

Definition at line 55 of file CIsPredecessorMultiple.java.

References org.lightjason.agentspeak.language.CRawTerm< T >.from().

+ Here is the call graph for this function:

◆ windowsize()

final int org.lightjason.agentspeak.action.builtin.graph.CIsPredecessorMultiple.windowsize ( )
protected

Definition at line 49 of file CIsPredecessorMultiple.java.

Member Data Documentation

◆ serialVersionUID

final long org.lightjason.agentspeak.action.builtin.graph.CIsPredecessorMultiple.serialVersionUID = -4684357908598619316L
staticprivate

Definition at line 46 of file CIsPredecessorMultiple.java.