24 package org.lightjason.agentspeak.action.builtin.graph;
26 import edu.uci.ics.jung.graph.Graph;
34 import javax.annotation.Nonnegative;
35 import javax.annotation.Nonnull;
36 import java.util.List;
59 @Nonnull
final List<ITerm> p_argument, @Nonnull
final List<ITerm> p_return
64 .forEach( i -> this.
apply( p_parallel, i.<Graph<Object, Object>>raw(), p_argument.subList( 0,
this.skipsize() ), p_return ) );
84 protected abstract void apply(
final boolean p_parallel, @Nonnull
final Graph<Object, Object> p_graph,
85 @Nonnull
final List<ITerm> p_window, @Nonnull
final List<ITerm> p_return );
base class of build-in actions for setting name by package/classname (without prefix character) ...
abstract int skipsize()
window size
static< N > IFuzzyValue< N > from( @Nonnull final N p_value)
factory
common structure for execution definition
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
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
apply an element on multiple graphs
execution context with local data
static Stream< ITerm > flatten( @Nonnull final Collection<? extends ITerm > p_terms)
flat term-in-term collection into a straight term list
static final long serialVersionUID
serial id
result for an immutable fuzzy value
final int minimalArgumentNumber()
minimum number of arguments