24 package org.lightjason.agentspeak.action.builtin.graph;
26 import edu.uci.ics.jung.graph.Graph;
30 import javax.annotation.Nonnull;
31 import java.util.ArrayList;
32 import java.util.Collections;
33 import java.util.List;
59 protected final void apply(
final boolean p_parallel, @Nonnull
final Graph<Object, Object> p_graph,
60 @Nonnull
final List<ITerm> p_window, @Nonnull
final List<ITerm> p_return )
62 final List<?> l_return =
new ArrayList<>( p_graph.getOutEdges( p_window.get( 0 ).raw() ) );
67 ? Collections.synchronizedList( l_return )
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)
apply an element on multiple graphs
returns outgoing edges of a vertex of each graph.
static< N > CRawTerm< N > from(final N p_value)
factory for a raw term
static final long serialVersionUID
serial id
term structure for simple datatypes