[][src]Struct ascesis::Harc

pub struct Harc { /* fields omitted */ }

A common type of one-to-many and many-to-one arcs of the BF-hypergraph representation of c-e structures.

A hyperarc represents a monomial attached to a node. There are two possible interpretations of a Harc: a Join is a B-arc which represents causes and a Fork is an F-arc representing effects.

Methods

impl Harc[src]

pub fn new_fork(host_id: NodeID, suit_ids: Vec<NodeID>) -> Harc[src]

pub fn new_join(host_id: NodeID, suit_ids: Vec<NodeID>) -> Harc[src]

pub fn get_atom_id(&self) -> NonZeroUsize[src]

pub fn get_fork_id(&self) -> Option<ForkID>[src]

pub fn get_join_id(&self) -> Option<JoinID>[src]

pub fn get_host_id(&self) -> NodeID[src]

pub fn get_suit_ids(&self) -> &[NodeID][src]

Trait Implementations

impl Clone for Harc[src]

impl Debug for Harc[src]

impl Eq for Harc[src]

impl ExclusivelyContextual for Harc[src]

impl Hash for Harc[src]

impl PartialEq<Harc> for Harc[src]

impl StructuralEq for Harc[src]

Auto Trait Implementations

impl RefUnwindSafe for Harc

impl Send for Harc

impl Sync for Harc

impl Unpin for Harc

impl UnwindSafe for Harc

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Contextual for T where
    T: ExclusivelyContextual
[src]

impl<T> From<T> for T[src]

impl<Reference, Outer, OuterFieldType, Inner> HasPart<Nested<Outer, Inner>> for Reference where
    Inner: Part,
    Outer: Part<PartType = Field<OuterFieldType>>,
    OuterFieldType: HasPart<Inner, RawTarget = OuterFieldType> + PartialRefTarget + ?Sized,
    Reference: HasPart<Outer> + ?Sized

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,