Creates an antecedent, or IF portion, of a rule for a fuzzy system. An antecedent consists of three parts: an input linguistic variable, an operator that specifies whether to calculate the degree of membership or the degree of non-membership of the input linguistic variable within a linguistic term, and a linguistic term.

You can use the Build Array function or a loop to build an array of rule antecedents that you create with this VI. You then can wire the array to the antecedents input of the FL Create Rule VI.


icon

Inputs/Outputs

  • ci32.png variable index

    variable index specifies the index of the linguistic variable you want to use for the antecedent. variable index corresponds to the order in which the linguistic variable was created.

  • ci32.png membership function index

    membership function index specifies the index of the membership function you want to relate to the corresponding linguistic variable. membership function index corresponds to the order in which the membership function was created.

  • cu16.png condition

    condition specifies whether to calculate the degree of membership or the degree of non-membership of the linguistic variable in the membership function.

    0
    =
    —Tells the VI to calculate the degree of membership, or μ.
    1
    !=
    —Tells the VI to calculate the degree of non-membership, or 1 – μ.
  • cerrcodeclst.png error in (no error)

    error in describes error conditions that occur before this node runs. This input provides standard error in functionality.

  • inclst.png antecedent

    antecedent returns the antecedent, or IF portion, of a rule. The antecedent consists of three parts corresponding to the variable index, condition, and membership function index, respectively.

  • ii32.png Var Index

    The index of an input linguistic variable.

  • ii32.png MF Index

    The index of the linguistic term.

  • iu16.png Cond

    An operator that specifies whether to calculate the degree of membership or the degree of non-membership of the linguistic variable within a linguistic term.

  • ierrcodeclst.png error out

    error out contains error information. This output provides standard error out functionality.