-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add subgraph insertion #511
Comments
Sounds good to me! |
My first pass effort at this issue uses boost The copy_graph code indicates the vertices and edges of the subgraph to be inserted are added into the parent graph ( |
Sounds reasonable to me. As far as adding new vertices and edges does not result in resizing of the underlying std::vector, this would be as good as you get. At first I felt a bit nervous to rely on the reading of the source code -- because the implementation can change while the interface stays the same. But at the same time, we don't want to write code when the code is already implemented inside BGL. As I understood, once a copy is made, you wanted to splice the original and copied graphs for all the connecting vertices? |
That's correct, but raises a question: are there cases where the original graph and subgraph will need to have multiple connecting edges? Are you thinking of the case where multiple original graphs need to be connected to multiple subgraphs (e.g. original containment is connected to subgraph containment, and original network is connected to subgraph network)? I'll consider alternatives to |
@milroy and I discussed this after our meeting yesterday. Two things: We agreed it would be better to use We also discussed ways to attach a sub graph into the existing graph. It seems whether we do this inside or outside the method, we will have to deserialize the sub graph and walk nodes and edges in each subsystem to attach it comprehensively. @milroy asked what are the major cases where this sub graph is constructed and we agreed that th is will be
|
@milroy: I'm going to group together issues that support elasticity with a new label. |
As a first step toward elastic scheduling with k8s, flux-sched needs to handle insertion of subgraphs at a target vertex. This will consist of adding capability to resource-query and/or match.
The text was updated successfully, but these errors were encountered: