* @param root the Node to use as the root of the spanning tree
*/
public SpanningTree(Graph g, Node root) {
super(g.getNodeTable(), EDGE_SCHEMA.instantiate());
m_backing = g;
TupleManager etm = new TupleManager(getEdgeTable(), null,
TableEdgeItem.class) {
public Tuple getTuple(int row) {
return m_backing.getEdge(m_table.getInt(row, SOURCE_EDGE));
}
};