HyperEdgeCompanion

scalax.collection.generic.HyperEdgeCompanion

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

Attributes

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

Members list

Value members

Abstract methods

def apply[N](ends: Several[N]): E[N]

Concrete methods

def apply[N](node_1: N, node_2: N, moreNodes: N*): E[N]
final def from[N](iterable: Iterable[N]): Option[E[N]]

Some hyperedge if ends contains at least two elements, otherwise None.

Some hyperedge if ends contains at least two elements, otherwise None.

Attributes

final def fromUnsafe[N](iterable: Iterable[N]): E[N]

A hyperedge with these ends.

A hyperedge with these ends.

Attributes

Throws
IllegalArgumentException

if ends has not at least two elements.

final def unapply[N](edge: E[N]): Some[Several[N]]

Implicits

Implicits

implicit def thisCompanion: this.type