Visit the Ironworks Gaming Website Email the Webmaster Graphics Library Rules and Regulations Help Support Ironworks Forum with a Donation to Keep us Online - We rely totally on Donations from members Donation goal Meter

Ironworks Gaming Radio

Ironworks Gaming Forum

Go Back   Ironworks Gaming Forum > Ironworks Gaming Forums > General Discussion > General Conversation Archives (11/2000 - 01/2005)

 
 
Thread Tools Search this Thread
Old 03-24-2003, 04:22 AM   #1
LennonCook
Jack Burton
 

Join Date: November 10, 2001
Location: Bathurst & Orange, in constant flux
Age: 37
Posts: 5,452
If Brother(John,Jack) and Father(Jack,James)
Then,
Father(John,James) or Uncle(John,James) ??
LennonCook is offline  
Old 03-24-2003, 04:27 AM   #2
Earthdog
Emerald Dragon
 

Join Date: May 1, 2001
Location: melbourne victoria australia
Age: 58
Posts: 960
Scant question. If Im reading this right you need a Do While statement. It'd help if I had the rest of the equation.
__________________
THERE CAN BE ONLY ONE!!!
Earthdog is offline  
Old 03-24-2003, 04:36 AM   #3
Jorath Calar
Harper
 

Join Date: October 6, 2001
Location: Iceland
Posts: 4,706
just when I thought I had seen every weird thread on Ironworks possible...
Jorath Calar is offline  
Old 03-24-2003, 05:26 AM   #4
LennonCook
Jack Burton
 

Join Date: November 10, 2001
Location: Bathurst & Orange, in constant flux
Age: 37
Posts: 5,452
Quote:
Originally posted by Earthdog:
Scant question. If Im reading this right you need a Do While statement. It'd help if I had the rest of the equation.
Allow me to rephrase,
If Brother(Jack,John) And Father(Jack,James) are both true then, which of these would logically follow:
Father(John,James) or Uncle(John,James)
LennonCook is offline  
Old 03-24-2003, 05:28 AM   #5
LennonCook
Jack Burton
 

Join Date: November 10, 2001
Location: Bathurst & Orange, in constant flux
Age: 37
Posts: 5,452
Quote:
Originally posted by Jorath Calar:
just when I thought I had seen every weird thread on Ironworks possible...
What happened, I wonder ?? Ohh... j/k.
LennonCook is offline  
Old 03-24-2003, 07:27 AM   #6
andrewas
Harper
 

Join Date: October 2, 2001
Location: Aberdeen, Scotland
Age: 42
Posts: 4,774
There is no answer to this question.

If Father(jack, james) = true, does that indicate that jack is james father, or the reverse? There is no formal standard for this. My inclination would be towards the former, but thats down to programmer style.
__________________
[img]\"http://www.sighost.us/members/Zvijer/andrewas.gif\" alt=\" - \" />
andrewas is offline  
Old 03-24-2003, 08:47 AM   #7
Tobbin
Red Dragon
 

Join Date: March 1, 2001
Location: Holiday, FL
Age: 56
Posts: 1,507
Quote:
Originally posted by LennonCook:
Quote:
Originally posted by Earthdog:
Scant question. If Im reading this right you need a Do While statement. It'd help if I had the rest of the equation.
Allow me to rephrase,
If Brother(Jack,John) And Father(Jack,James) are both true then, which of these would logically follow:
Father(John,James) or Uncle(John,James)
[/QUOTE]This is not a clearly thought out statement. You have two different variables from 2 different groups. It depends on how you program the relation.

It sounds like Brother(Jack,John) and Father(Jack,James) are asking about 2 different people in a relationship that could possibly be the same person if viewed from 2 different perspectives. IE My brother is your father, which would make me your uncle. Is that what you are looking for? If that is the case:

If Brother(John,James) & Father(Jack,James)
Then
Subvariable(unspecified)=Uncle(defined) ;Uncle(John,James)
Else
Subvariable(unspecified)=Uncle(undefined) ; Not = Uncle(John,James)

[ 03-24-2003, 08:51 AM: Message edited by: Tobbin ]
__________________
<br /><br /><b>Protectorate of the OHF<br />Death Waits 4 U ALL</b>
Tobbin is offline  
Old 03-24-2003, 03:58 PM   #8
Gammit
Elminster
 

Join Date: October 26, 2001
Location: Sterling Heights, MI, USA
Age: 46
Posts: 477
This is a proposition, not a question... and it's not even real psuedocode. You would first have to define the Brother(x,y), Father(x,y), and Uncle(x,y) {x and y are nondistinct people} functions. Then after picking one or the other conclusions, you would have either a True statement of a False statement. To make it pseudocode, you'd need a "while," "for," "do," "begin," etc. statement.

Grossman, Jerold W. Discrete Mathematics: An Introduction to Concepts,
Methods, and Applications. Macmillan Publishing Company. New York.
1990. Chapters 1 & 4.

P.S. yes, this is the same pseudocode used in computer applications
__________________
IW resident science and mathematics teacher<br /><br />\"No, no, you\'re not thinking; you\'re just being logical.\"<br />-Niels Bohr
Gammit is offline  
Old 03-24-2003, 04:18 PM   #9
Tobbin
Red Dragon
 

Join Date: March 1, 2001
Location: Holiday, FL
Age: 56
Posts: 1,507
Depending on what level of effect the undefined variables would affect, an if statement could work as well. This is a valid pseudocode operator as not all equations need a loop effect. The loop effect can be placed around the if statement if a re-iteration were needed. Should there be more than 3 outcomes though, another form of loop would make more sense. Possibly a case statement.
__________________
<br /><br /><b>Protectorate of the OHF<br />Death Waits 4 U ALL</b>
Tobbin is offline  
Old 03-24-2003, 06:37 PM   #10
LennonCook
Jack Burton
 

Join Date: November 10, 2001
Location: Bathurst & Orange, in constant flux
Age: 37
Posts: 5,452
Quote:
Originally posted by andrewas:
There is no answer to this question.

If Father(jack, james) = true, does that indicate that jack is james father, or the reverse? There is no formal standard for this. My inclination would be towards the former, but thats down to programmer style.
So, basically, without more information, either could be true ??
LennonCook is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Key Code Question for NWN DIamond Stonewarrior Neverwinter Nights 1 & 2 Also SoU & HotU Forum 2 08-12-2006 02:03 PM
Pseudo Paladin Roboghost Icewind Dale | Heart of Winter | Icewind Dale II Forum 3 05-09-2006 04:05 PM
question about UBB code or HTML TheThing General Conversation Archives (11/2000 - 01/2005) 9 03-31-2002 05:07 PM
If U had 2 pick another´s Pseudo.... Yorick General Discussion 26 03-12-2001 05:33 PM
Can't Get To The Naga (some pseudo-spoiler text here) Talcire Wizards & Warriors Archives 1 10-22-2000 09:09 PM


All times are GMT -4. The time now is 10:36 PM.


Powered by vBulletin® Version 3.8.3
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
©2024 Ironworks Gaming & ©2024 The Great Escape Studios TM - All Rights Reserved