GEONOLOGY Concept C#

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • linxKuLiT
    New Member
    • May 2010
    • 3

    GEONOLOGY Concept C#

    i have here my code:

    Code:
    namespace GEONOLOGY
    {
        public class AGENT
        {
           int no;
           String  name;
           AGENT left;
           AGENT right;
          //not yet develop the implementation.
        }
    }
    Can anyone share some code of Geonology using C#?
    Last edited by linxKuLiT; May 19 '10, 05:12 AM. Reason: I just wrap the code
  • tlhintoq
    Recognized Expert Specialist
    • Mar 2008
    • 3532

    #2
    Original Poster: How do I design and build my entire application?
    This is far too broad of a question to be answered in a thread. I recommend you read the FAQ about How to ask a good question so the volunteers will be able to help you.


    May I suggest picking up a basic C# introductory book? It's not that people here don't want to be helpful, but there is a certain amount of basic learning work that one should really take upon themselves before asking for help. There are so many great "How do I build my first application" tutorials on the web... There are dozens of "Learn C# in 21 days", "My first C# program" books at your look book seller or even public library... Asking a forum, any forum, to hand-hold you through it is just redundant. In many ways it disrespects the people who have invested dozens of hours in the on-line tutorials and those that spent thousands of hours in authoring books.

    Build a Program Now! in Visual C# by Microsoft Press, ISBN 0-7356-2542-5
    is a terrific book that has you build a Windows Forms application, a WPF app, a database application, your own web browser.

    C# Cookbooks
    Are a great place to get good code, broken down by need, written by coding professionals. You can use the code as-is, but take the time to actually study it. These professionals write in a certain style for a reason developed by years of experience and heartache.

    Microsoft Visual Studio Tip, 251 ways to improve your productivity, Microsoft press, ISBN 0-7356-2640-5
    Has many, many great, real-world tips that I use all the time.

    The tutorials below walk through making an application including inheritance, custom events and custom controls.
    Building an application Part 1
    Building an application part 2

    Comment

    • linxKuLiT
      New Member
      • May 2010
      • 3

      #3
      Thanks' Your links would be very helpful for my development.

      One thing I wanted to know:
      I have tried the Link-List using pointer in C-Language.
      Is the idea of Link-List applied in Geneology?...

      I've been looking around from other sites but they just give me samples on web.

      Anyone could help?.. Thanks.

      Comment

      • GaryTexmo
        Recognized Expert Top Contributor
        • Jul 2009
        • 1501

        #4
        A link list is just a data structure... whether it applies or not is up to you. If by Geneology you mean "genealogy" then that's a pretty broad concept. That's like asking if linked lists apply in particle physics, or construction. I don't know... it depends on the program you're writing and how you design/implement it.

        Linked lists are for data structures where one node of data relates to another node of data in some kind of sequence and when it's not important to be able to go to any one piece of data arbitrarily. Linked lists generally perform well when you'll be traversing all the data anyway, or if there's another organization structure that might be more applicable. If you need more immediate access, typically arrays are good since you can directly access the index for each piece of data directly.

        I'm by no means an expert on this topic though and other people might have different knowledge/opinions. Hopefully that helps you, but hopefully you also understand that your question can't really be answered definitively.

        Comment

        • linxKuLiT
          New Member
          • May 2010
          • 3

          #5
          Thanks.

          Thank you. It helps me to fully understand the concept of "genealogy" .

          Comment

          • nukefusion
            Recognized Expert New Member
            • Mar 2008
            • 221

            #6
            Originally posted by linxKuLiT
            Thank you. It helps me to fully understand the concept of "genealogy" .
            I wrote a genealogy program, or, in other words, some family tree software. A basic implementation is fairly easy to achieve, but be aware, if you want to develop it further it's a more in-depth topic than you might first realise.

            If you want to pursue it I'd recommend learning a bit about graph theory. A family tree is just a great big graph. There are already loads of proven algorithms for searching graphs and these will be useful to you when searching for ancestral relationships, etc.

            Read about graph theory, search algorithms such as DFS, BFS and check out the Boost libraries, I don't know if there's a C# port but the documentation will nevertheless be interesting.

            Good luck!

            Comment

            Working...