[PEPr] Comment on Structures::Structures_Graph
| From: | PEPr | Date: | Tue, 03 Feb 2004 20:53:21 +0000 |
| Subject: | [PEPr] Comment on Structures::Structures_Graph | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-25479@lists.php.net to get a copy of this message | ||
Jesus M. Castagnetto (http://pear.php.net/user/jmcastagnetto) has commented on the proposal for
Structures::Structures_Graph.
Comment:
As I mentioned before [1], I like the code, and the examples of manipulation of graphs.
Just a couple of comments/questions:
- Might be better to use "return PEAR::raiseError()"
- Did you think it'll be a good idea to have "Edge" objects? In case you need some
metainfo associated with one of them (e.g. a cost value) to be used in a particular manipulation
(e.g. find the shortest/less costly path through a graph)
[1] http://news.php.net/article.php?group=php.pear.dev&article=25357
Proposal information:
http://pear.php.net/pepr/pepr-proposal-show.php?id=20
--
Sent by PEPr, the automatic proposal system at http://pear.php.net