31 vector<BeadStructure> structures;
33 structures.push_back(beadstructure);
36 vector<Graph> sub_graphs =
38 for (
Graph &sub_graph : sub_graphs) {
39 vector<Edge> sub_graph_edges = sub_graph.getEdges();
40 vector<Index> sub_graph_vertices = sub_graph.getVertices();
Designed to determine if the structure beads passed in.
BeadStructure getSubStructure(const std::vector< Index > &idx, const std::vector< tools::Edge > &edges) const
Given indices and edges that exist are a subset of beadstructure, return the sub-beadstructure.
bool isSingleStructure()
Determine if the bead structure consists of a single connected structure.
std::vector< BeadStructure > breakIntoStructures(BeadStructure &beadstructure)
base class for all analysis tools