473,219 Members | 1,502 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,219 software developers and data experts.

Fuzzy logic question

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
Jul 22 '05 #1
1 4167
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

Jul 22 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
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,...
1
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...
0
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
1
by: Alberto | last post by:
Does anybody knows if .net has a library of classes to work with fuzzy logic? Thank you
24
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...
14
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...
1
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...
0
by: adi4u | last post by:
Explain the role of fuzzy logic in search engine algorithm.
2
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...
0
by: veera ravala | last post by:
ServiceNow is a powerful cloud-based platform that offers a wide range of services to help organizations manage their workflows, operations, and IT services more efficiently. At its core, ServiceNow...
0
by: VivesProcSPL | last post by:
Obviously, one of the original purposes of SQL is to make data query processing easy. The language uses many English-like terms and syntax in an effort to make it easy to learn, particularly for...
3
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 3 Jan 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). For other local times, please check World Time Buddy In...
0
by: jianzs | last post by:
Introduction Cloud-native applications are conventionally identified as those designed and nurtured on cloud infrastructure. Such applications, rooted in cloud technologies, skillfully benefit from...
0
by: mar23 | last post by:
Here's the situation. I have a form called frmDiceInventory with subform called subfrmDice. The subform's control source is linked to a query called qryDiceInventory. I've been trying to pick up the...
0
by: abbasky | last post by:
### Vandf component communication method one: data sharing ​ Vandf components can achieve data exchange through data sharing, state sharing, events, and other methods. Vandf's data exchange method...
2
by: jimatqsi | last post by:
The boss wants the word "CONFIDENTIAL" overlaying certain reports. He wants it large, slanted across the page, on every page, very light gray, outlined letters, not block letters. I thought Word Art...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM). In this month's session, the creator of the excellent VBE...
0
Git
by: egorbl4 | last post by:
Скачал я git, хотел начать настройку, а там вылезло вот это Что это? Что мне с этим делать? ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.