Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9194215
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T21:21:19+00:00 2026-06-17T21:21:19+00:00

I’ve been working on a project involving Fuzzy Logic Controller, and so far everything

  • 0

I’ve been working on a project involving Fuzzy Logic Controller, and so far everything has gone well.

I’ve successfully modeled and implemented Norms (S and T norms), complements, fuzzy propositions and membership functions.

However, I now face the challenge to model FuzzyVariable, which includes FuzzySet, which includes UniversalSet.

My project works over discrete values, but I would still like to add some support for continuous ones.

In the other words, I’d like to have a hierarchy similar to this one:

public interface UniversalSet {
}

public abstract class DiscreteUniversalSet implements UniversalSet {
}

public abstract class ContinuousUniversalSet implements UniversalSet {
}

public interface FuzzySet {
}

public abstract class DiscreteFuzzySet implements FuzzySet {
    private DiscreteUniversalSet universalSet;
}

public abstract class ContinuousFuzzySet implements FuzzySet {
    private ContinuouUniversalSet universalSet;
}

The problem is, I would like for discrete universal sets to be able to return a list of discrete values, but for continuous universal sets to return the ranges (lower and upper bounds).

Same goes for alpha-intersections. I would like method getAlphaIntersection(double alpha) to return a list of discrete values for discrete fuzzy sets, and list of ranges for continuous ones.

At the moment, this issue slightly reminds me of a square-rectangle (or circle-ellipse) problem, but I’m not really sure on how to proceed.

Any help is appreciated 😀

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T21:21:20+00:00Added an answer on June 17, 2026 at 9:21 pm

    Use generics:

    public interface UniversalSet {
    }
    
    public abstract class DiscreteUniversalSet implements UniversalSet {
        public double[] getValues() {...}
    }
    
    public abstract class ContinuousUniversalSet implements UniversalSet {
        public double getLowerBound() {...}
        public double getUpperBound() {...}
    }
    
    public interface FuzzySet<T extends UniversalSet> {
        T getAlphaIntersection(double alpha);
    }
    
    public abstract class DiscreteFuzzySet implements FuzzySet<DiscreteUniversalSet> {
        public DiscreteUniversalSet getAlphaIntersection(double alpha) { ... }
    }
    
    public abstract class ContinuousFuzzySet implements FuzzySet<ContinuousUniversalSet> {
        public ContinuousUniversalSet getAlphaIntersection(double alpha) { ... }
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm parsing an RSS feed that has an &#8217; in it. SimpleXML turns this
I have a jquery bug and I've been looking for hours now, I can't
link Im having trouble converting the html entites into html characters, (&# 8217;) i
That's pretty much it. I'm using Nokogiri to scrape a web page what has
I want to count how many characters a certain string has in PHP, but
I've got a string that has curly quotes in it. I'd like to replace
In my XML file chapters tag has more chapter tag.i need to display chapters
I have an array which has BIG numbers and small numbers in it. I
I have been unable to fix a problem with Java Unicode and encoding. The
I'm trying to convert HTML to plain text. I get many &\#8217; &\#8220; etc.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.