nevalsar / fuzzy-control

New code for the fuzzy control module.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fuzzy Control Module

New code for the fuzzy control module.

Pre-requisites before running this code:

  1. python's numpy should be installed.
  2. Scipy should be installed
  3. Scipy's skfuzzy toolbox should be installed.

Files

src/main.py

Main file containing the call to fuzzy class which controls the fuzzy output corresponding to a control input

src/fuzzy.py

Fuzzy class is contained in this file.

Functions

Fuzzy.run()

Imports standardized values from main.py and runs the other routines defined in fuzzy.py. Passes the results to visualize.py for results plotting.

Fuzzy.membership_f()

Fuzzifies the inputs[] array into b[][] 3D array.

About

New code for the fuzzy control module.


Languages

Language:Python 100.0%