DiHyperEdgeCompanion

scalax.collection.generic.DiHyperEdgeCompanion

The abstract methods of this trait must be implemented by companion objects of directed, non-labeled hyperedges.

Attributes

Graph
Supertypes
trait Serializable
class Object
trait Matchable
class Any
Known subtypes
object DiHyperEdge
object DiHyperEdge

Members list

Value members

Abstract methods

def apply[N](sources: OneOrMore[N], targets: OneOrMore[N]): E[N]

Concrete methods

def apply[N](source_1: N, moreSources: N*)(target_1: N, moreTargets: N*): E[N]
final def from[N](sources: Iterable[N], targets: Iterable[N]): Option[E[N]]

Some directed hyperedge if sources and targets have at least one element each, otherwise None.

Some directed hyperedge if sources and targets have at least one element each, otherwise None.

Attributes

final def fromUnsafe[N](sources: Iterable[N], targets: Iterable[N]): E[N]

A directed hyperedge with the supplied sources and targets.

A directed hyperedge with the supplied sources and targets.

Attributes

Throws
IllegalArgumentException

if sources or targets is empty.

def unapply[N](edge: E[N]): Some[(OneOrMore[N], OneOrMore[N])]