Skip to main content

IncidentHyperedges

Trait IncidentHyperedges 

Source
pub trait IncidentHyperedges: VertexIncidences + ParticipantHyperedge {
    type IncidentHyperedges<'view>: Iterator<Item = Self::RelationId>
       where Self: 'view;

    // Required method
    fn incident_hyperedges(
        &self,
        vertex: Self::ElementId,
    ) -> Self::IncidentHyperedges<'_>;
}
Expand description

Capability for traversing hyperedges incident to one vertex.

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

Required Associated Types§

Source

type IncidentHyperedges<'view>: Iterator<Item = Self::RelationId> where Self: 'view

Iterator over hyperedges incident to one vertex.

Required Methods§

Source

fn incident_hyperedges( &self, vertex: Self::ElementId, ) -> Self::IncidentHyperedges<'_>

Returns hyperedges incident to vertex.

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§