## FuzzyVeracity()

FuzzyVeracity is the fuzzy equivalent of a crisp boolean in boolean logic. It represents the result of logical operations (IS, AND, OR...).
Its value can vary in the range [0.0, 1.0], 0.0 being the equivalent of "false" and 1.0 of "true".
You can acces logic operators through instances of this class, which enable fluent syntax for rules (Except IS and IS_NOT which are members of `FuzzyValue`).
Operators are methods in upper case.

#### new FuzzyVeracity() `FuzzyLogic.js`, `line 693`

##### Properties:
Name Type Description
`veracity` Number The veracity level in the range [0.0, 1.0]
##### Example
``````var logic = new FuzzyLogic();
var intense = logic.newSet("Intense", 0, 255);
// An RGB color to test
var color = [255,200,10];
// Separate channels
var redChannel = logic.newValue( color );
var greenChannel = logic.newValue( color );
var blueChannel = logic.newValue( color );
// isRed will be a FuzzyVeracity, the result of the test.
// Note that FuzzyValue.IS returns a FuzzyVeracity, on which the methods AND and NOR are called.
// But this is all internal and you don't really need to know that to use this syntax.
var isRed = redChannel.IS( intense )
.AND(
greenChannel.IS( intense ).
NOR( blueChannel.IS( intense ))
)``````

### Methods

#### AND(other) → {FuzzyVeracity} `FuzzyLogic.js`, `line 715`

The equivalent of the boolean operation `this && other`
##### Parameters:
Name Type Description
`other` FuzzyVeracity The other operand.
FuzzyVeracity

#### AND_NOT(other) → {FuzzyVeracity} `FuzzyLogic.js`, `line 884`

The equivalent of the boolean operation `this && !other` or `!(this || other)`
##### Parameters:
Name Type Description
`other` FuzzyVeracity The other operand.
FuzzyVeracity

#### DIFFERENT(other) → {FuzzyVeracity} `FuzzyLogic.js`, `line 775`

The equivalent of the boolean operation `this != other`
##### Parameters:
Name Type Description
`other` FuzzyVeracity The other operand.
FuzzyVeracity

#### DOES_NOT_HAVE(other) → {FuzzyVeracity} `FuzzyLogic.js`, `line 875`

The equivalent of the boolean operation `this && !other` or `!(this || other)`
##### Parameters:
Name Type Description
`other` FuzzyVeracity The other operand.
FuzzyVeracity

#### DOES_NOT_IMPLY(other) → {FuzzyVeracity} `FuzzyLogic.js`, `line 848`

The equivalent of the boolean operation `this && !other` or `!(this || other)`
##### Parameters:
Name Type Description
`other` FuzzyVeracity The other operand.
FuzzyVeracity

#### EQUALS(other) → {FuzzyVeracity} `FuzzyLogic.js`, `line 808`

The equivalent of the boolean operation `this == other`
##### Parameters:
Name Type Description
`other` FuzzyVeracity The other operand.
FuzzyVeracity

#### HAS(other) → {FuzzyVeracity} `FuzzyLogic.js`, `line 841`

The equivalent of the boolean operation `!(this && other)` or `!this || other`
##### Parameters:
Name Type Description
`other` FuzzyVeracity The other operand.
FuzzyVeracity

#### IMPLIES(other) → {FuzzyVeracity} `FuzzyLogic.js`, `line 815`

The equivalent of the boolean operation `!(this && other)` or `!this || other`
##### Parameters:
Name Type Description
`other` FuzzyVeracity The other operand.
FuzzyVeracity

#### IS(other) → {FuzzyVeracity} `FuzzyLogic.js`, `line 800`

The equivalent of the boolean operation `this == other`
##### Parameters:
Name Type Description
`other` FuzzyVeracity The other operand.
FuzzyVeracity

#### IS_NOT(other) → {FuzzyVeracity} `FuzzyLogic.js`, `line 767`

The equivalent of the boolean operation `this != other`
##### Parameters:
Name Type Description
`other` FuzzyVeracity The other operand.
FuzzyVeracity

#### NAND(other) → {FuzzyVeracity} `FuzzyLogic.js`, `line 891`

The equivalent of the boolean operation `!(this && other)`
##### Parameters:
Name Type Description
`other` FuzzyVeracity The other operand.
FuzzyVeracity

#### NEGATE() → {FuzzyVeracity} `FuzzyLogic.js`, `line 705`

Negates the current veracity. A new veracity is returned, and the current veracity is not changed.
##### Returns:
FuzzyVeracity - The negation of this veracity.

#### NONE(other) → {FuzzyVeracity} `FuzzyLogic.js`, `line 934`

The equivalent of the boolean operation `!(this || other)`
##### Parameters:
Name Type Description
`other` FuzzyVeracity The other operand.
FuzzyVeracity

#### NOR(other) → {FuzzyVeracity} `FuzzyLogic.js`, `line 916`

The equivalent of the boolean operation `!(this || other)`
##### Parameters:
Name Type Description
`other` FuzzyVeracity The other operand.
FuzzyVeracity

#### NOT_BOTH(other) → {FuzzyVeracity} `FuzzyLogic.js`, `line 909`

The equivalent of the boolean operation `!(this && other)`
##### Parameters:
Name Type Description
`other` FuzzyVeracity The other operand.
FuzzyVeracity

#### NXR(other) → {FuzzyVeracity} `FuzzyLogic.js`, `line 782`

The equivalent of the boolean operation `this == other`
##### Parameters:
Name Type Description
`other` FuzzyVeracity The other operand.
FuzzyVeracity

#### OR(other) → {FuzzyVeracity} `FuzzyLogic.js`, `line 732`

The equivalent of the boolean operation `this || other`
##### Parameters:
Name Type Description
`other` FuzzyVeracity The other operand.
FuzzyVeracity

#### WEIGHTED(other, weight) → {FuzzyVeracity} `FuzzyLogic.js`, `line 943`

Weights this and other according to a given factor.
The weight factor is applied to the other operand, and the `1 - weight` factor is applied to this.
##### Parameters:
Name Type Description
`other` FuzzyVeracity The other operand.
`weight` Number The weight.
FuzzyVeracity

#### WITH(other) → {FuzzyVeracity} `FuzzyLogic.js`, `line 833`

The equivalent of the boolean operation `!(this && other)` or `!this || other`
##### Parameters:
Name Type Description
`other` FuzzyVeracity The other operand.
FuzzyVeracity

#### WITHOUT(other) → {FuzzyVeracity} `FuzzyLogic.js`, `line 867`

The equivalent of the boolean operation `this && !other` or `!(this || other)`
##### Parameters:
Name Type Description
`other` FuzzyVeracity The other operand.
FuzzyVeracity

#### XOR(other) → {FuzzyVeracity} `FuzzyLogic.js`, `line 749`

The equivalent of the boolean operation `this != other`
##### Parameters:
Name Type Description
`other` FuzzyVeracity The other operand.
FuzzyVeracity