我正在写一个小型的python实用程序,它将被中度非技术用户使用,并且需要与一些protobufs进行交互。 理想情况下,我想唯一的先决条件使用本一本地机器上是: 有蟒蛇安装 * have an SVN checkout of the repository
* run a simple bash script to build the local proto .py definitions
*
因此,在解决了BGL的循环依赖问题后,我又遇到了另一个障碍。 我目前使用的邻接表到我的图模型。节点和边的捆绑属性应用于在图中存储一些信息。所以,我有这样的事情: class Node {
int x, int y // position
};
class Edge {
float length;
};
boost::adjacency_list<boost::list