1. We have moved from vBulletin to XenForo and you are viewing the site in the middle of the move. Though the functional aspect of everything is working fine, we are still working on other changes including the new design on Xenforo.
    Dismiss Notice

Help me how to go about this

Discussion in 'Java' started by maintain_secrecy, Nov 12, 2008.

  1. maintain_secrecy

    maintain_secrecy New Member

    Joined:
    Nov 12, 2008
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    well guyz..
    I have to implement an algorithm and it works as follows:

    we need to take some different sized data sets ( numerical) , which has some objects and attributes
    The algorithm first starts off with an empty set and it adds attributes thereafter
    The dependency of each attribute is calculated. It is given by dividing the absolute value of those attributes which are certainly contained in the universal set over the absolute value of all the attributes ( or the universal set ) in the data set taken
    Once the dependency is calculated for every attribute, the best candidate is chosen which has the highest dependency. Again the process is repeated and it continues until the dependency is equal to the consistency of the data set ( value = 1)

    Well.. this is how the algorithm works..
    Can someone tell me about how to go about starting or implementing this ?
    (I'm new to the coding world.. so, if someone plz throw their ideas, ill be grateful)
    thx

    regards
    raj chopra
     
  2. xpi0t0s

    xpi0t0s Mentor

    Joined:
    Aug 6, 2004
    Messages:
    3,012
    Likes Received:
    203
    Trophy Points:
    0
    Occupation:
    Senior Support Engineer
    Location:
    England
    Sounds straight forward enough. How far have you got, and where are you stuck?
    If you post code, please use [ code ] and [ /code ] tags (without spaces) so that the code formatting is preserved.
    Your course should have covered how to start writing code and some of the data structures necessary to solve this; it would be a very poor course where they said "welcome to the Java programming course, here's your first task and now I'm off for a coffee".
     

Share This Page