Questions tagged [family-tree]

A family tree, or pedigree chart, is a chart representing family relationships in a conventional tree structure.

The more detailed family trees used in medicine, , and social work are known as genograms. (From Wikipedia)

165 questions
0
votes
1 answer

to find a person's descendants of a binary family tree (scheme lang)

this is a scheme program to find the descendants of a binary family tree (the tree has only fathers and two sons - bst) when a person's name and the tree is given as input. I think the main problem here is the getsons function. What should I…
0
votes
1 answer

Definition of Grandparent in Prolog, would any prolog programmers care to help clear this up?

Grandparent(X,Y):- Parent(X,Mother(Y)). Normally grandparent would be defined as Parent(X,Z) , Parent(Z,Y)....but it looks more natural to me as the Parent of Parent Y of X, what I defined above (can't explain myself any better than that, sorry) My…
0
votes
1 answer

parent_of prolog

I am new to prolog and would like to have some advice. I have some…
user1771844
  • 43
  • 1
  • 9
0
votes
2 answers

Prolog:simple family relation

I am learning Prolog and what i want is to do a simple "calculation"(i dont know how its called in Prolog) of the members of a simle family. For example i have: 1)father of steve is petter 2)brother steve is john 3)A person is a son to a Father…
SteveL
  • 3,331
  • 4
  • 32
  • 57
0
votes
1 answer

PHP MYSQL family tree 'about' page

I build a family tree. The table looks like this: id------firstname------mother------father-------kids this is the code for person detals page: $query = mysql_query(" SELECT family.id, family.firstname, mother.firstname AS mother,…
0
votes
4 answers

Tree with 2 parents: Build a family tree HTML/javascript as familyecho do

I want to display a genealogy tree without flash. In HTML/javascript/css. I have a big problem displaying my tree because of the: Difficulty to display the marital link between 2 parents the children nodes Do you know any api which can build a…
Sam
  • 779
  • 3
  • 18
  • 39
-1
votes
0 answers

Draw a Family tree in C#/XAML

I want to make an application in .NET MAUI that allows users to create and visualize family trees. Here is my Person class: public class Person { public string Name; public List Children { get; set; } = new List(); public…
an22
  • 53
  • 5
-1
votes
1 answer

Prolog, family-tree how to say they are bastards

For example if I have this ancestors, how can I say who is the bastard son or daughter? ancestor(frank,mary). ancestor(frank,andrew). ancestor(frank,jake). ancestor(joanne,mary). ancestor(joanne,andrew). married(frank,joanne). laws (there are…
-1
votes
1 answer

MySQL Family Tree

Errors Image Any idea on these syntax errors? Related to FOREIGN KEY syntax? No idea! I removed the ENGINE=INNODB; lines but it still isn't working. DROP TABLE IF EXISTS Marriage; CREATE TABLE Marriage ( marriageID int NOT NULL, PRIMARY…
Ruth
  • 1
  • 3
-1
votes
1 answer

How to display data in node structure?

I want to make a family tree using mvc. I also need to insert data with relationship.I have object data which I want display with its entities in node structure.Any effort will be appreciated.
Yashasvi
  • 21
  • 1
  • 5
-2
votes
1 answer

there are some issues in this family tree I made

I have this good family tree but the problem is that the page is funcy like everything is on top of each other how can I fix it (it's better to try it in a coding app because CSS doesn't work here (if it does I don't know))
-2
votes
2 answers

HTML family tree styling at Wikipedia

Wikipedia often has family trees incorporated into their articles. One example can be found here: https://en.wikipedia.org/wiki/Monarchy_of_Belgium#List_of_Kings_of_the_Belgians If I view the HTML source code for the above family tree, I fail to see…
instrumentally
  • 119
  • 1
  • 3
  • 9
-2
votes
2 answers

Python family tree from dict with defined parents

What is the fastest way to create a family tree out of a dict that looks like this: family = [ {'name': 'a', 'parent': ''}, {'name': 'b', 'parent': 'a'}, {'name': 'c', 'parent': 'a'}, {'name': 'd', 'parent': 'b'}, {'name': 'e',…
xeor
  • 5,301
  • 5
  • 36
  • 59
-2
votes
1 answer

i try to understand the js of the familyecho website, but i didn't find the code which should be here

At familyecho website, when you click me box, there must be a click trigger, i try to find the function, but i didn't find it anywhere,can somebody tell me where it is,and it will be better to tell me how to find it out. http://www.familyecho.com/
VikeyChen
  • 3
  • 4
-3
votes
1 answer

what is code in prolog can find two person who has same generation?

I need a code in prolog. Assume we defined some persons in family tree. How can I write a function that get two persons name and process if they have same generation and who is their same…
user seven
  • 1
  • 1
  • 2
1 2 3
10
11