Represent Family using Graph data structure

 

Using the below image represent this family using a graph structure. The graph needs to be a weighted graph. The weights will constitute the types of relationships, I recommend using some kind mapping between numbers and strings to represent the relationships. When adding family members to the graph, this can be done programmatically for the provided family members within the description file.

Additionally,

  • I also want there to be an interface in which a user can create a new family member and add them to the tree.
  • This can be a simple CLI where the user provides a name, gender, and age to create a person.
  • Then another simple CLI where they select which member of the family, they want the original relationship to be with and what kind of relationship it should be.
  • Finally, they can edit the family member using another CLI and selecting the family member they wish to edit, the operation they wish to perform (edit name, edit age, edit relationship), and then add new relationship between family members which can call a function that you create in order to add the original relationship.

Finally, make data assertions within the FamilyTree class that enforce certain “rules” that exist in a typical human family. An example would be a person should not have any kind of relationship to itself (a person cannot marry themselves, a person cannot be their own brother, sister, father, mother, etc.). There should be at least 3 data assertions. These should exist as part of the family tree, not as part of the graph.

As a hint, for a successful design:

I would recommend using layers of abstraction. Your graph class is the backing structure to the family tree class. Your family tree should implement methods that interface with the graph class, i.e. add_family_member() should call the constructor to create a node and then call a function within the graph class to add a node to the graph. Then using the relationships function parameter, you can add edges to the graph between the new nodes and the existing nodes. The family tree should be what enforces what relationships can exist through the data assertions, the graph does not care about what relationships are made between family members. Your functions that the user would interface with would be greatly reduced compared to the total number of methods within the classes themselves. The user should be able to add, remove, and modify family members and that’s about it. Therefore, those should be your function calls.

Attachments area
 

Information Systems Business and Beyond

This week select an organization that has a Global platform (they operate in more than one country), that has demonstrated operational excellence.  In this paper, perform the following activities:

  • Name the organization and briefly describe what good or service they sell and where they operate.
  • Note how they are a differentiator in the market.
  • Note the resources used to ensure success in their industry (remember resources are comprised of more than just people).
  • Explain what actions the company took to achieve operational excellence.

The above submission should be three pages in length.  Remember the total length does not include the APA approved cover page or the references.  There should be at least three APA approved references to support your work. 

Complete the assignment using narrative paragraphs and explain your thoughts and findings in detail. Adhere to APA format requirements and do not use lists or bullets. Break up areas in your paper by using headings IAW APA format. Use Times New Roman 12 font, double-spaced. Include a coversheet with your name, class ID and the title of the assignment. Your submission needs to be at least three (3)  pages in length. The coversheet, figures, tables, and reference list doesn’t count toward the page count. Include at least three (3) APA approved references to support your work. Post the assignment as one MS Word document by the due date in the syllabus. Do not submit any other format such as PDF.Information Systems Business and Beyond

calculate dog age to human years netbeans java

For this assignment you must use the rules above to calculate the age of a dog in human 

years given its weight and its actual age. Your program must do the following:

1.

Display a welcome message with your name in it.

2.

Prompt the user for the name of the dog.

3.

Repeatedly prompt the user for the age of the dog until the user enters a value is 

between 1 and 16.

4.

Repeatedly prompt the user for the weight of their dog until the user enters a weight 

that is greater than zero.

5.

Display the age of the dog using the name that the user entered in step 2.

6.

Repeatedly ask the user if they want to calculate the age of another dog until the user 

answers 

Y

or 

N

.

7.

If the user enters 

Y

, go back to step 2.

8.

If the user enters 

N

, display a thank you message and exit the program.

Any time the user enters invalid input the program should display an error message before 

Computer Information System

I have a computer information system assignment, I’m stress out with my finals and I really need t earn good grades for both my finals and this assignment I introduced to this web from one of my classmates hope someone can help me to succeed I’m good in computer but my instructor make everything a little bit complicated.  I attached all requirements. Due date November 21st.

Thank you 

Team managment dis 7

 Leadership Paradox and Inter-team Relations

A.     What is the leadership paradox? Give an example of the leadership paradox?   Support your discussion with material from our text book and from one external scholarly source. 

B.    List and define three serious biases or misassumptions that   groups involved in inter-team conflict sometimes experience? How do these biases and prejudices affect the ability of teams to accomplish their goals? Use our textbook for your material.  

Need min 300 word content excluding references

MIPS

 Create a MIPs program to simulate playing multiple games of “Craps” (a popular casino game) to determine an approximate winning percentage.: To simulate throwing two independent dice, you need to get two random numbers in the range of 1 to 6 and add them together. Do not get a single random number in the range of 2 to 12, as each value will not reflect the odds of rolling a particular number