clearDegreeOfMembership() 方法用于清除模糊项的隶属度。
clearDegreeOfMembership()
fuzzyTerm.clearDegreeOfMembership()
无。
无返回值。
import { FuzzyTerm } from 'yuka'; const fuzzyTerm = new FuzzyTerm(); fuzzyTerm.setDegreeOfMembership(0.4); fuzzyTerm.clearDegreeOfMembership();