24 package org.lightjason.agentspeak.language.fuzzy.defuzzification;
30 import javax.annotation.Nonnull;
31 import javax.annotation.Nullable;
55 m_complement = p_complement;
63 return p_value.fuzzy() <= 0.5 ? m_complement.
complement( p_value ).value() : p_value.value();
final T defuzzify( @Nonnull final IFuzzyValue< T > p_value)
runs the defuzzyification algorithm
defuzzification interface
IFuzzyValue< T > complement( @Nonnull final IFuzzyValue< T > p_value)
creates the complement of a fuzzy value
result for an immutable fuzzy value
defuzzification to a crisp value
final IFuzzyComplement< T > m_complement
fuzzy complement
IAgent<?> update( @Nonnull final IAgent<?> p_agent)
update of the internal defuzzification structure on the agent-cycle
CCrisp( @Nonnull final IFuzzyComplement< T > p_complement)
ctor