Download the PHP package ifaqih/iffuzzy without Composer

On this page you can find all versions of the php package ifaqih/iffuzzy. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package iffuzzy

Fuzzy

Fuzzy logic is a form of many-valued logic in which the truth value of variables may be any real number between 0 and 1. It is employed to handle the concept of partial truth, where the truth value may range between completely true and completely false. By contrast, in Boolean logic.

PHP Version: 8.0 or above |-

Installation

With Composer:

Use The Library

Constants:

Constant Name Value Description
FUZZY_METHOD_MAMDANI "MAMDANI" Using the Mamdani method
FUZZY_METHOD_SUGENO "SUGENO" Using the Sugeno method
FUZZY_METHOD_TSUKAMOTO "TSUKAMOTO" Using the Tsukamoto method
FUZZY_MEMBERSHIP_LINEAR_UP 10 Using ascending linear membership
FUZZY_MEMBERSHIP_LINEAR_DOWN 11 Using descending linear membership
FUZZY_MEMBERSHIP_TRIANGLE 12 Using triangular membership
FUZZY_MEMBERSHIP_TRAPEZOID 13 Using trapezoidal membership
FUZZY_MEMBERSHIP_SIGMOID_UP 14 Using ascending sigmoid membership
FUZZY_MEMBERSHIP_SIGMOID_DOWN 15 Using descending sigmoid membership
FUZZY_MEMBERSHIP_PI 16 Using pi membership

Set Method

Setting the fuzzy method to be used.

Prototype:

Set Attribute

Set one attribute context.

Prototype 1:

Prototype 2:

Set Attributes

Set multiple context attributes.

Prototype:

Set Rule

Set one rule.

Prototype:

Set Rules

Set multiple rule.

Prototype:

Builder of Rules

In the set_rules() method you can use builder

Object of build method

Set Rule Name

Set Rule Name

Prototype:

Set Value

Set value of one context attribute.

Prototype:

Set Values

Set value of multiple context attribute.

Prototype:

Constant Flags

Constant Name Value Description
FUZZY_EXEC_HOLD 1 Not reset all data after executed
FUZZY_EXEC_GET_ALL 2 Getting all data has been processed of library (in object values)
FUZZY_EXEC_AS_ARRAY 3 Getting all data has been processed of library in array values

Executing Fuzzy Logic

Execute datas has been added from all of method.

Prototype:

Getting Value

Getting all data has been processed of library.

Prototype:

Clear Data

Clearing datas has been added or result of processed.

Prototype:

Example

Example 1:

Result:

Example 2:

Result:


All versions of iffuzzy with dependencies

PHP Build Version
Package Version
Requires php Version >= 8.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package ifaqih/iffuzzy contains the following files

Loading the files please wait ....