Trait DynamicBigraph

Source
pub trait DynamicBigraph: DynamicGraph + StaticBigraph {
    // Required method
    fn set_mirror_nodes(&mut self, a: Self::NodeIndex, b: Self::NodeIndex);
}
Expand description

A dynamic bigraph, that implements all functionalities of a StaticBigraph and adds the functionality to alter the underlying topology as well as the mirror node mapping.

Required Methods§

Source

fn set_mirror_nodes(&mut self, a: Self::NodeIndex, b: Self::NodeIndex)

Make the nodes with the given two node ids mirror nodes. This may leave the old mirrors from a and b with dangling mirror pointers.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§