RE: dijkstra algorithm by object oriented
From: Santa Casa da Misericórdia de Sines (scmsines_at_mail.telepac.pt)
Date: 11/04/04
- Next message: LarsenMTL: "Re: Python CGI - Accepting Input, Invoking Another Process, Ending CGI"
- Previous message: Alex Martelli: "Re: Question about Python, more about clarity."
- Maybe in reply to: Ricardo Batista: "dijkstra algorithm by object oriented"
- Next in thread: Ricardo Batista: "RE: dijkstra algorithm by object oriented"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
To: <python-list@python.org> Date: Thu, 4 Nov 2004 16:35:05 -0000
Ok. you are right.
I don't express my self in a rigth way.
I just want an idea to begin my work.
For example, how many classes do i implement.
I have an idea to create three classes, class Graph, class Vertex, class
edge.
But i don't know if i'm going in the rigth way.
This is the help i need.
Thanks.
-----Mensagem original-----
De: python-list-bounces+batista.ric=iol.pt@python.org
[mailto:python-list-bounces+batista.ric=iol.pt@python.org]Em nome de
Peter Hansen
Enviada: quinta-feira, 4 de Novembro de 2004 15:08
Para: python-list@python.org
Assunto: Re: dijkstra algorithm by object oriented
Ricardo Batista wrote:
> I need that someone help me.
>
> I need to program the dijkstra algorithm by object oriented.
>
> I'll send my code.
Thanks, but you haven't asked a question. Thus it sounds
as though you are simply asking for someone to make your
code work correctly. Or maybe you're asking for someone
to convert it from the style shown to an object oriented
approach.
Either way, it sounds a lot like this is a homework question
for school, so I really hope nobody is going to just do the
work for you, since you won't learn anything that way.
Please reconsider what you are trying to do and ask a
specific question, demonstrating that you have made a
reasonable attempt to solve the problem yourself first.
-Peter
-- http://mail.python.org/mailman/listinfo/python-list --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.788 / Virus Database: 533 - Release Date: 01-11-2004 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.788 / Virus Database: 533 - Release Date: 01-11-2004 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.788 / Virus Database: 533 - Release Date: 01-11-2004
- Next message: LarsenMTL: "Re: Python CGI - Accepting Input, Invoking Another Process, Ending CGI"
- Previous message: Alex Martelli: "Re: Question about Python, more about clarity."
- Maybe in reply to: Ricardo Batista: "dijkstra algorithm by object oriented"
- Next in thread: Ricardo Batista: "RE: dijkstra algorithm by object oriented"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|