LightJason - AgentSpeak(L++)
org.lightjason.agentspeak.language.unify.CHash Class Reference

unify on at hash-based quality More...

+ Inheritance diagram for org.lightjason.agentspeak.language.unify.CHash:
+ Collaboration diagram for org.lightjason.agentspeak.language.unify.CHash:

Public Member Functions

final< T extends ITerm > boolean unify (final Set< IVariable<?>> p_variables, final Stream< T > p_source, final Stream< T > p_target)
 unify algorithm More...
 

Detailed Description

Definition at line 39 of file language/unify/CHash.java.

Member Function Documentation

◆ unify()

final<T extends ITerm> boolean org.lightjason.agentspeak.language.unify.CHash.unify ( final Set< IVariable<?>>  p_variables,
final Stream< T >  p_source,
final Stream< T >  p_target 
)
Parameters
p_variablesunified variables
p_sourcesource stream of terms
p_targettarget stream of terms with variables (must be a deep-copy)
Returns
boolean of unify success
Template Parameters
Tterm type

Implements org.lightjason.agentspeak.language.unify.IUnifier.IAlgorithm.

Definition at line 43 of file language/unify/CHash.java.