24 package org.lightjason.agentspeak.action.builtin.graph;
26 import com.codepoetics.protonpack.StreamUtils;
27 import edu.uci.ics.jung.graph.Graph;
35 import javax.annotation.Nonnegative;
36 import javax.annotation.Nonnull;
37 import java.util.List;
60 @Nonnull
final List<ITerm> p_argument, @Nonnull
final List<ITerm> p_return
68 .forEach( i -> this.
apply( p_parallel, p_argument.get( 0 ).<Graph<Object, Object>>raw(), i, p_return ) );
90 protected abstract void apply(
final boolean p_parallel, @Nonnull
final Graph<Object, Object> p_graph,
91 @Nonnull
final List<ITerm> p_window, @Nonnull
final List<ITerm> p_return );
static final long serialVersionUID
serial id
base class of build-in actions for setting name by package/classname (without prefix character) ...
static< N > IFuzzyValue< N > from( @Nonnull final N p_value)
factory
common structure for execution definition
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
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 int windowsize()
window size
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
result for an immutable fuzzy value
apply class for a single graph with multiple elements
final int minimalArgumentNumber()
minimum number of arguments