FuzzyCompositeTerm class

Base class for representing more complex fuzzy terms based on the composite design pattern.

@author {@link https://github.com/Mugen87|Mugen87}

Inheritance
Implementers

Constructors

FuzzyCompositeTerm([List<FuzzyTerm>? terms])
Constructs a new fuzzy composite term with the given values.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
terms List<FuzzyTerm>
getter/setter pair
uuid String?
Unique ID, primarily used in context of serialization/deserialization.
no setterinherited

Methods

clearDegreeOfMembership() FuzzyCompositeTerm
Clears the degree of membership value.
override
fromJSON(Map<String, dynamic> json) FuzzyTerm
Restores this instance from the given JSON object.
inherited
getDegreeOfMembership() double
Returns the degree of membership.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJSON() Map<String, dynamic>
Transforms this instance into a JSON object.
override
toString() String
A string representation of this object.
inherited
updateDegreeOfMembership(double value) FuzzyCompositeTerm
Updates the degree of membership by the given value. This method is used when the term is part of a fuzzy rule's consequent.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited