473,466 Members | 1,413 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

what is graph & use in the general life?

please give answer

Sep 27 '06 #1
11 2622
dhan said:
please give answer
with pleasure

--
Richard Heathfield
"Usenet is a strange place" - dmr 29/7/1999
http://www.cpax.org.uk
email: rjh at above domain (but drop the www, obviously)
Sep 27 '06 #2
dhan wrote:
please give answer
It is customary to ask your question in the body of the message, not
just in the subject. Subject was:
what is graph & use in the general life?
A graph is a type of data structure. The following page may be helpful:
http://en.wikipedia.org/wiki/Graph_%28data_structure%29

To implement a graph in C you could use a structure with pointers to
adjacent nodes.

Regards,
Bart.

Sep 27 '06 #3
Bart wrote:
dhan wrote:
>please give answer

It is customary to ask your question in the body of the message, not
just in the subject. Subject was:
>what is graph & use in the general life?

A graph is a type of data structure. The following page may be helpful:
http://en.wikipedia.org/wiki/Graph_%28data_structure%29

To implement a graph in C you could use a structure with pointers to
adjacent nodes.
.... and adjacency matrices.

How come there are so few complains about not quoting?

--
Ioan - Ciprian Tandau
tandau _at_ freeshell _dot_ org (hope it's not too late)
(... and that it still works...)
Sep 27 '06 #4
Nelu said:
Bart wrote:
>dhan wrote:
>>please give answer

It is customary to ask your question in the body of the message, not
just in the subject. Subject was:
>>what is graph & use in the general life?

A graph is a type of data structure. The following page may be helpful:
http://en.wikipedia.org/wiki/Graph_%28data_structure%29

To implement a graph in C you could use a structure with pointers to
adjacent nodes.

... and adjacency matrices.

How come there are so few complains about not quoting?
Not quoting what? This entire subthread-so-far is quoted above. Nothing has
been snipped from it. The fact that the guy who posted the original
statement "please give answer" is clearly unfamiliar with how to ask a
question on Usenet does not mean that anyone is failing to quote properly.

--
Richard Heathfield
"Usenet is a strange place" - dmr 29/7/1999
http://www.cpax.org.uk
email: rjh at above domain (but drop the www, obviously)
Sep 27 '06 #5

Bart wrote:
dhan wrote:
please give answer

It is customary to ask your question in the body of the message, not
just in the subject. Subject was:
what is graph & use in the general life?

A graph is a type of data structure. The following page may be helpful:
http://en.wikipedia.org/wiki/Graph_%28data_structure%29

To implement a graph in C you could use a structure with pointers to
adjacent nodes.

Regards,
Bart.
thanking you for the answer can i help you so, i am very good fell.
bye!bye!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Sep 27 '06 #6

Nelu wrote:
Bart wrote:
dhan wrote:
please give answer
It is customary to ask your question in the body of the message, not
just in the subject. Subject was:
what is graph & use in the general life?
A graph is a type of data structure. The following page may be helpful:
http://en.wikipedia.org/wiki/Graph_%28data_structure%29

To implement a graph in C you could use a structure with pointers to
adjacent nodes.

... and adjacency matrices.

How come there are so few complains about not quoting?

--
Ioan - Ciprian Tandau
tandau _at_ freeshell _dot_ org (hope it's not too late)
(... and that it still works...)
thanking you for given the good information in the graph but my
question is not only what is graph. my object why need or use to the
graph, so please give the answer i am waiting your answer .can i help
you so,i am fell very good.
bye!bye!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Sep 27 '06 #7
"dhan" writes:
thanking you for given the good information in the graph but my
question is not only what is graph. my object why need or use to the
graph, so please give the answer i am waiting your answer .can i help
you so,i am fell very good.
Graphs are commonly used in routing problems. Example: what route should a
school bus travel to pick a bunch of children and travel a minimum distance?
What if there are several busses? How to partition the children amongst the
busses?
Sep 27 '06 #8
Richard Heathfield wrote:
Nelu said:
>Bart wrote:
>>dhan wrote:
please give answer
It is customary to ask your question in the body of the message, not
just in the subject. Subject was:

what is graph & use in the general life?
A graph is a type of data structure. The following page may be helpful:
http://en.wikipedia.org/wiki/Graph_%28data_structure%29

To implement a graph in C you could use a structure with pointers to
adjacent nodes.
... and adjacency matrices.

How come there are so few complains about not quoting?

Not quoting what? This entire subthread-so-far is quoted above. Nothing has
been snipped from it. The fact that the guy who posted the original
statement "please give answer" is clearly unfamiliar with how to ask a
question on Usenet does not mean that anyone is failing to quote properly.
I have seen the correction made by Bart related to the writing of
questions in the message body as opposed to writing them in the
subject and I saw some threaded follow-ups that didn't quote
messages (not in this thread) without being admonished. I was
just wondering if the regulars gave up on straightening people
up. Just forget about it, I guess I'm tired and I was too busy to
follow the NG posts for a while... I should go to sleep instead
of posting...
--
Ioan - Ciprian Tandau
tandau _at_ freeshell _dot_ org (hope it's not too late)
(... and that it still works...)
Sep 27 '06 #9
In article <11*********************@d34g2000cwd.googlegroups. com>,
dhan <dh***********@gmail.comwrote:
>thanking you for given the good information in the graph but my
question is not only what is graph. my object why need or use to the
graph,
Examples:

- "directed graphs" (one that has "one way" links) can be used to
represent roadways, showing the distance between various points and
taking into account that some roads may be blocked (or only available
during certain times.) There are standard mathematical calculations
that can be used with such graphs in order to find the shortest
or fastest way to get from any given point to any other given point.

mapquest.com and googlemaps.com use these kinds of algorithms to
give road directions, and such things have even been put into
automobiles ("Navistar") so that you can get directions from where
you are to where you want to go. If the data is updated sufficiently
often, then these automobile navigation systems can even take into
account stalled cars and accidents and crowded roads in order to
recommend alternate routes that might be longer around but which
would be faster.

- Using calculations almost exactly the same as the above, you can
start with a terrain map and figure out the best way to get from
a starting point to every other point on the map. These calculations
would take into account that you can't walk through lakes, or that
walking through a swamp is slower than walking through a field,
or that a hill slows you down some and a mountain slows you down much
more (and might not be passable at all.) Knowing the fastest way
to get from place to place over terrain can be crucial to military
action (whether that be real life military action, or board games
simulating military action, simulated either for fun or for the
purpose of learning good military strategy.)

- "binary trees" and related structures such as "2-3 trees", are
really a form of graph; there are many many many uses for such graphs

- graphs can be important for operations or disaster planning, as they
can be used to figure out where the weak points are. For example, in
a city such a Stockholm, which has a series of linked islands, it can
be very important to know whether perhaps just having two bridges
damaged or inoperable (through flooding, repairs, iceing, traffic
accidents) would effectively isolate parts of the city from other parts.

Consider the building you live in: how many exits would have to be
blocked by smoke or fire for you to have no way to get out in case
of emergency? Ah, you missed the possibility that you were using the
basement bathroom and the only stairs to the main level were blocked...

- graphs can also be used in business planning and construction
planning, to figure out scheduling order, scheduling conflicts and to
figure out "critical points" that have to be completed in order to
advance the rest of the goals

- graphs can be used to assign students to classes and courses,
based upon the number of classes and the class sizes and the class
scheduling conflicts, and including the student preferences about which
courses they would prefer.
--
All is vanity. -- Ecclesiastes
Sep 27 '06 #10
osmium wrote:
"dhan" writes:
>thanking you for given the good information in the graph but my
question is not only what is graph. my object why need or use to the
graph, so please give the answer i am waiting your answer .can i help
you so,i am fell very good.

Graphs are commonly used in routing problems. Example: what route should a
school bus travel to pick a bunch of children and travel a minimum distance?
What if there are several busses? How to partition the children amongst the
busses?
Depends on whether the kidnapper wants to send the bus careening off the
side of a cliff, or into a lake. Or if the speed of the bus needs to
stay above 47 MPH.
Sep 27 '06 #11
"osmium" <r1********@comcast.netwrote:
"dhan" writes:
thanking you for given the good information in the graph but my
question is not only what is graph. my object why need or use to the
graph, so please give the answer i am waiting your answer .can i help
you so,i am fell very good.

Graphs are commonly used in routing problems. Example: what route should a
school bus travel to pick a bunch of children and travel a minimum distance?
What if there are several busses? How to partition the children amongst the
busses?
Heads in front bus, legs in last bus. Obviously.

Now, are these buses to be serial, or parallel?

Richard
Oct 3 '06 #12

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

25
by: Magnus Lie Hetland | last post by:
Is there any interest in a (hypothetical) standard graph API (with 'graph' meaning a network, consisting of nodes and edges)? Yes, we have the standard ways of implementing graphs through (e.g.)...
7
by: Ben-Nes Michael | last post by:
Hi All Does 7.4 support defferable updates on unique column ? example unique INT colum named u_test has the following values: 1, 2, 3, 4, 5 can i do update table set u_test = u_test + 1;
9
by: pankaj_wolfhunter | last post by:
Hi, I need some clearance on the following questions: 1) Does LOAD command updates indexes defined for a table? 2) Is REPLACE option in the LOAD command a logged operation? Help will be...
2
by: borekfm | last post by:
Hitting two problems when running a new report I've created, that contains a chart/graph. The chart shows three series, two are shown as lines and one as an area. The data come from three different...
109
by: MSG | last post by:
Michel Bardiaux <michel.bardiaux@peaktime.be> wrote in message news:<G4idnfgZ0ZfCWbrdRVn2jQ@giganews.com>... > Mark Shelor wrote: > > > > > OK, Sidney, I am considering it. I can certainly...
4
by: Sweety | last post by:
plz reply, thanks in advance. bye
10
by: John | last post by:
I want to write a code for Breadth First Traveral for Graph, which needs a queue to implement. I wonder that for such a powerful language as Python, whether there is a better and simpler...
123
by: plenty900 | last post by:
I was looking over someone's C++ code today and despite having written perfectly readable C++ code myself, the stuff I was looking at was worse than legalese. The people who are guiding the...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.