Welcome to the Java Programming Forums

The professional, friendly Java community. 21,500 members and growing!

The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 2 of 2

Thread: Algorithm for Data Structure - Ideas?

  1. #1
    Junior Member learning101's Avatar
    Join Date
    Jan 2014
    Thanked 0 Times in 0 Posts

    Default Algorithm for Data Structure - Ideas?

    I need some ideas of how you would organize, sort, and refine data to tell me what are the "sweet spots" I may be looking for.

    I'm thinking of creating a program that tracks supply and demands in a said industry.

    I have the current supply source, I have the demand source, and I have the capability to have the supply created.
    So I'm trying to layout this data and allow for me to filter it to see different options available to me.

    How would everyone take all the three different pieces of information, and narrow down whatever results I have filter it?
    Algorithm for a data structure of three sources of information into one.

    Here's the best example I can give.

    - Current supply source of 100 different monitors. (different colors, different sizes, etc)
    - Demand source is people looking for these items, say on Google, or a shopping place.
    - Supply I can have created. So for this example, I would know where, for how much, and how long it would take to make each of these demanded sources.

    Hope this makes sense.

  2. #2
    Crazy Cat Lady KevinWorkman's Avatar
    Join Date
    Oct 2010
    Washington, DC
    My Mood
    Thanked 636 Times in 540 Posts

    Default Re: Algorithm for Data Structure - Ideas?

    Sounds like a job for a relational database.

    If you're looking for a pure Java solution, you might want to look at the Map data structure. You haven't really explained your requirements though, so I'm just guessing.
    Useful links: How to Ask Questions the Smart Way | Use Code Tags | Java Tutorials
    Static Void Games - Play indie games, learn from game tutorials and source code, upload your own games!

Similar Threads

  1. Re: Data Structure
    By jim17 in forum Object Oriented Programming
    Replies: 3
    Last Post: November 16th, 2011, 11:14 PM
  2. Data Structure
    By Faha in forum Object Oriented Programming
    Replies: 9
    Last Post: November 10th, 2011, 01:35 AM
  3. Replies: 2
    Last Post: June 15th, 2011, 03:49 PM
  4. Replies: 1
    Last Post: June 11th, 2011, 05:39 AM
  5. data structure assignment .. help me : |
    By Noni in forum Object Oriented Programming
    Replies: 4
    Last Post: March 21st, 2011, 10:33 AM

Tags for this Thread