Skip to main content

HyperedgeParticipants

Trait HyperedgeParticipants 

Source
pub trait HyperedgeParticipants: HyperedgeIncidences + ParticipantVertex {
    type Participants<'view>: Iterator<Item = Self::ElementId>
       where Self: 'view;

    // Required method
    fn hyperedge_participants(
        &self,
        hyperedge: Self::RelationId,
    ) -> Self::Participants<'_>;
}
Expand description

Capability for traversing vertices participating in one hyperedge.

Hypergraph-facing form of relation-to-element traversal.

Required Associated Types§

Source

type Participants<'view>: Iterator<Item = Self::ElementId> where Self: 'view

Iterator over vertices participating in one hyperedge.

Required Methods§

Source

fn hyperedge_participants( &self, hyperedge: Self::RelationId, ) -> Self::Participants<'_>

Returns vertices participating in hyperedge.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§