24 package org.lightjason.agentspeak.language.execution.action.unify;
33 import javax.annotation.Nonnull;
34 import java.text.MessageFormat;
35 import java.util.List;
36 import java.util.stream.Stream;
62 super( p_parallel, p_literal );
63 m_expression = p_expression;
70 return MessageFormat.format(
"{0}>>({1}, {2})",
m_parallel ?
"@" :
"",
m_value, m_expression );
76 @Nonnull
final List<ITerm> p_argument, @Nonnull
final List<ITerm> p_return
CExpressionUnify(final boolean p_parallel, @Nonnull final ILiteral p_literal, @Nonnull final IExpression p_expression)
ctor
Stream< IVariable<?> > variables()
returns a stream with all used variables
final long m_variablenumber
number of variables
final boolean m_parallel
parallel unification
execution context with local data
static final long serialVersionUID
serial id
result for an immutable fuzzy value
final IExpression m_expression
unification expression
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
final Stream< IVariable<?> > variables()
returns a stream with all used variables