dijkstra algorithm by object oriented

Santa Casa da Misericórdia de Sines scmsines at mail.telepac.pt
Thu Nov 4 17:35:05 CET 2004


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 at python.org
[mailto:python-list-bounces+batista.ric=iol.pt at python.org]Em nome de
Peter Hansen
Enviada: quinta-feira, 4 de Novembro de 2004 15:08
Para: python-list at 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




More information about the Python-list mailing list