LightJason - AgentSpeak(L++)
org.lightjason.agentspeak.language.fuzzy.defuzzification.CCrisp< T > Class Template Reference

defuzzification to a crisp value More...

+ Inheritance diagram for org.lightjason.agentspeak.language.fuzzy.defuzzification.CCrisp< T >:
+ Collaboration diagram for org.lightjason.agentspeak.language.fuzzy.defuzzification.CCrisp< T >:

Public Member Functions

 CCrisp ( @Nonnull final IFuzzyComplement< T > p_complement)
 ctor More...
 
final T defuzzify ( @Nonnull final IFuzzyValue< T > p_value)
 runs the defuzzyification algorithm More...
 
IAgent<?> update ( @Nonnull final IAgent<?> p_agent)
 update of the internal defuzzification structure on the agent-cycle More...
 

Private Attributes

final IFuzzyComplement< T > m_complement
 fuzzy complement More...
 

Detailed Description

Template Parameters
Tfuzzy type
Sagent type

Definition at line 40 of file CCrisp.java.

Constructor & Destructor Documentation

◆ CCrisp()

Parameters
p_complementfuzzy complement operator

Definition at line 53 of file CCrisp.java.

Member Function Documentation

◆ defuzzify()

final T org.lightjason.agentspeak.language.fuzzy.defuzzification.CCrisp< T >.defuzzify ( @Nonnull final IFuzzyValue< T >  p_value)
Parameters
p_valuefuzzy value
Returns
native value

Implements org.lightjason.agentspeak.language.fuzzy.defuzzification.IDefuzzification< T >.

Definition at line 61 of file CCrisp.java.

References org.lightjason.agentspeak.language.fuzzy.operator.IFuzzyComplement< T >.complement().

+ Here is the call graph for this function:

◆ update()

IAgent<?> org.lightjason.agentspeak.language.fuzzy.defuzzification.CCrisp< T >.update ( @Nonnull final IAgent<?>  p_agent)
Parameters
p_agentagent object
Returns
agent reference

Implements org.lightjason.agentspeak.language.fuzzy.defuzzification.IDefuzzification< T >.

Definition at line 68 of file CCrisp.java.

Member Data Documentation

◆ m_complement

Definition at line 46 of file CCrisp.java.