24 package org.lightjason.agentspeak.language.execution.action.achievement_test;
33 import javax.annotation.Nonnull;
34 import java.text.MessageFormat;
35 import java.util.List;
36 import java.util.Objects;
37 import java.util.stream.Stream;
63 @Nonnull
final List<ITerm> p_argument, @Nonnull
final List<ITerm> p_return )
70 @SuppressWarnings(
"unchecked" )
73 return Objects.isNull( m_value )
78 .map( i -> (IVariable<?>) i );
84 return MessageFormat.format(
"$", m_value );
final Stream< IVariable<?> > variables()
common structure for execution definition
static final long serialVersionUID
serial id
abstract class for execute a logical-rule
static Stream< ITerm > flattenrecursive( @Nonnull final Stream< ITerm > p_input)
recursive stream of term values
execution context with local data
result for an immutable fuzzy value
achievement for rule-literal execution
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)
CAchievementRuleLiteral( @Nonnull final ILiteral p_literal)
ctor