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

  • Home
  • SEARCH
  • 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 5955393
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T18:06:28+00:00 2026-05-22T18:06:28+00:00

Is there a name of the pattern/algorithm for what I’m trying to describe below?…

  • 0

Is there a name of the pattern/algorithm for what I’m trying to describe below?…

Say you have a tree of relevance-data like this:

  • IDEs
    • Visual Studio
      • Visual Studio 2008
      • Visual Studio 2010
    • Eclipse

Then I have an object that contains a reference to “Visual Studio 2010”.

Then I do a relevance-search for “Visual Studio” on this object and want to know how relevant this match is.

Is this something best done when building the tree with setting a specific value between nodes individually or can/should I set, for example, that one level away is 10 points, two levels away is 5 points and so on?

Multiple nodes could potentially be linked to multiple other nodes. Or is this a bad idea? Visual Studio is also a “Microsoft Software” and so on.

Could this also be made 2-ways? With points both up the tree and down the tree.

This are my initial thoughts to testing around and build some kind of relevance-engine. Please help me get me on some kind of track.

  • 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-05-22T18:06:29+00:00Added an answer on May 22, 2026 at 6:06 pm

    This is a big can of worms, so forgive me if this is hand wavy and general. There are all sorts of relations you could build into this data structure. Currently, you have a taxonomy of relationships. You also mentioned another category of ‘Microsoft software’ which will cross cut your taxonomy. You could then get in to has-a relationships and so on and so forth.

    More generally, you’re talking about an ontology. While there’s been a whole lot of research about how they should be structured and searched, I don’t know of any large projects that have built a rich ontology programmatically and even if you get experts to build an ontology by hand, it’s not always clear how to weight things for a ‘relevance engine’. I’m not on the bleeding edge of this stuff, but most information retrieval techniques that work the best are statistical ones that operate on simple structures, not the one’s with richly structured data-models.

    I think you’re on the right track. My advice – keep it as simple as possible. I would structure the hierarchy as a general graph and base relevance on graph distance, if necessary putting a weight on each edge. Bidirectionality is good here too, so you can penalize for generalization/specification as necessary. There’s no real cookbook approach here, you’ll have to experiment

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to figure out the name behind this design pattern. Basically, you have
I have a set of base filenames, for each name 'f' there are exactly
Is there a name for the pattern in which business objects contain their own
Is there a name meaning not a singleton?
Is there a way to find the name of the program that is running
Is there a way to take a class name and convert it to a
Is there a (standardized) way to get the name of the current method using
There is two available Eclipse plugins for Maven : Eclipse IAM (old name is
Is there any way to 'hide' the name of a class, whose sole purpose
Is there a way to find the application name of the current active window

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.