Coder Social home page Coder Social logo

fuzzyc's Introduction

FuzzyC -- A simple implementation of Fuzzy logic in C

Originally just the product of a friendly competition with a friend to develop the fastest fuzzy inference system. It later developed into a useful tool for control optimization for simple dynamic systems in my course work (combined with a genetic fuzzy addition). It is now mostly a plaything, but still altogether useful. The code is mostly stable, but changes may still occur. New features may be added, but they will be slow to appear if at all.

I should note that this project also represents my attempts to learn C, so there are many sins here. That being said, I did take care to try to be as correct as I knew how. I may get the motivation in future months to go back and fix many of my missteps, but I likely won't. A poor design choice made early on was to rely heavily on VLAs, which is a GCC compiler extension. There is also a quadruple pointer in at least one place... that can't lead to anything good. That being said, no memory leaks have been detected and except for the known bugs (see below), the code does what is expected.

Known bugs:

  • If the alpha exploration/mutation factor is anything but 0 in the blended crossover function, than crossover will eventually produce invalid individuals (individuals that exceed the assumed bounds). To fix this, bounds need to be checked during crossover, either as (lo, hi) params during crossover or as clamps directly after

fuzzyc's People

Contributors

sputnick1124 avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.