Skip to content

Add lax::open_hypergraph function to delete an edge #13

@statusfailed

Description

@statusfailed

In the impl for lax::hypergraph::Hypergraph, add a function to delete a list of edges

    pub fn delete_edge(&mut self, ids: &[EdgeId]) {
        todo!()
    }

You can assume that each id in ids is a valid EdgeId for this Hypergraph (and panic if it's out-of-bounds).

You will need to:

NOTE: this method takes a slice of edge ids, since removing them one-at-a-time will be less efficient.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions