I was wondering if anyone had tried implementing fuzzy logic set
concepts in C++, because in FL, the concept of "type" or "class"
is fuzzy; things belong (or are of) a given type only by degree.
e.g., in a hypothetical fuzzy C++ language one could say:
class pickle : public vegetable 0.2
{
// pickle is not so much a vegetable as, say, onion is.
};
With the membership quantification, one could then perform FL
operations that use the fuzzy aspects of each class and the
objects instantiated from them.
Ray 1 4200
Ray Gardener wrote: I was wondering if anyone had tried implementing fuzzy logic set concepts in C++, because in FL, the concept of "type" or "class" is fuzzy; things belong (or are of) a given type only by degree. e.g., in a hypothetical fuzzy C++ language one could say:
class pickle : public vegetable 0.2 { // pickle is not so much a vegetable as, say, onion is. };
With the membership quantification, one could then perform FL operations that use the fuzzy aspects of each class and the objects instantiated from them.
Ray
A watered-down version of it is implemented by the STL, although I'm not
sure most folks think of it as fuzzy logic. :)
The C++ implementation relies heavily on templates. An example is the
standard iterators. The interface of the prototypical iterator is
exactly like that of a pointer. Some iterators support some, but not
all, of the operations supported by actual pointers. Such iterators are
sort of pointer-like, and sort of not. Several different levels of
pointer-likeness have been classified, from Random Access Iterators down
through Input and Output Iterators, with Forward Iterators somewhere in
the middle.
You can probably fake it to some extent with mixins, too, but I haven't
given that much thought.
-Jeff This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: BBands |
last post by:
Does anyone know of any fuzzy logic work done in Python?
The only thing I have found is logic.py, which has gone missing from
the Vaults of Parnassus and the original site,
http://www.ourobourus.com/logic.py.
--jab
|
by: Evaluating Fuzzy SW |
last post by:
Hi All
We are using soundex (and later tried Nysiis) for fuzzy name search
software. But we faced a lot of problems the search accuracy was not very
good also we saw a lot of misses of relevant names.
There are many problems other than precision and accuracy, with soundex and
NYSIIS.
|
by: DNKMCA |
last post by:
Hi,
i was building a internet based search engine and heard of fuzzy search
algorithms.
Can anybody give fuzzy logic search algorithm for string search
-dnk
|
by: Alberto |
last post by:
Does anybody knows if .net has a library of classes to work with fuzzy
logic?
Thank you
|
by: cassetti |
last post by:
Here's the issue:
I have roughly 20 MS excel spreadsheets, each row contains a record.
These records were hand entered by people in call centers.
The problem is, there can and are duplicate phone numbers, and emails
and addresses even person names. I need to sift through all this data
(roughly 300,000+ records and use fuzzy logic to break it down, so that
i have only unique records.
| |
by: Steve Bergman |
last post by:
I'm looking for a module to do fuzzy comparison of strings. I have 2
item master files which are supposed to be identical, but they have
thousands of records where the item numbers don't match in various
ways. One might include a '-' or have leading zeros, or have a single
character missing, or a zero that is typed as a letter 'O'. That kind
of thing. These tables currently reside in a mysql database. I was
wondering if there is a...
|
by: nachu |
last post by:
can anyone suggest me a simple area or a problem that can be applied using fuzzy logic.
i prefer a area or a problem that could be programmed using programming lang such as c.
this is an urgent request...that needs immediate help
|
by: adi4u |
last post by:
Explain the role of fuzzy logic in search engine algorithm.
|
by: Yashgt |
last post by:
Hi,
We have a table of users with about 10000 rows. We have to import a
large text file into this table. While doing so we would like to
ensure that if a row already exists, it should not be imported. Rather
that True/false logic, we need to apply Fuzzy logic here so that if we
find similarities in the name, address, ad a few other columns, we
treat the row as a duplicate.
Such possibly duplicate rows should be identified and logged...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |