scalax.collection.edges

Members list

Type members

Classlikes

final case class DiEdge[+N](source: N, target: N) extends AbstractGenericUnlabeledDiEdge[N, DiEdge], DiEdgeToString

Represents a generic unlabeled directed edge.

Represents a generic unlabeled directed edge.

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait AnyDiEdge[N]
trait AnyEdge[N]
trait AnyDiHyperEdge[N]
trait AnyHyperEdge[N]
trait Edge[N]
trait Equals
class Object
trait Matchable
class Any
Show all
object DiEdge extends EdgeCompanion[DiEdge]

Factory for directed edges. See also DiEdgeImplicits and val ~> in the package object.

Factory for directed edges. See also DiEdgeImplicits and val ~> in the package object.

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
trait Serializable
class Object
trait Matchable
class Any
Show all
Self type
DiEdge.type
final implicit class DiEdgeImplicits[N](val source: N) extends AnyVal, AbstractDiEdgeImplicits[N, DiEdge, DiEdge.type]

Attributes

Supertypes
class AnyVal
trait Matchable
class Any
final case class UnDiEdge[+N](source: N, target: N) extends AbstractGenericUnlabeledUnDiEdge[N, UnDiEdge], UnDiEdgeToString

Represents a generic unlabeled undirected edge.

Represents a generic unlabeled undirected edge.

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait AnyUnDiEdge[N]
trait AnyEdge[N]
trait AnyHyperEdge[N]
trait Edge[N]
trait Equals
class Object
trait Matchable
class Any
Show all
object UnDiEdge extends EdgeCompanion[UnDiEdge]

Factory for undirected edges. See also UnDiEdgeImplicits and val ~ in the package object.

Factory for undirected edges. See also UnDiEdgeImplicits and val ~ in the package object.

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
trait Serializable
class Object
trait Matchable
class Any
Show all
Self type
UnDiEdge.type
final implicit class UnDiEdgeImplicits[N](val n1: N) extends AnyVal, AbstractEdgeImplicits[N, UnDiEdge, UnDiEdge.type]

Attributes

Supertypes
class AnyVal
trait Matchable
class Any

Value members

Concrete fields

val ~: UnDiEdge.type

Pattern shortcut enabling edge match { case n1 ~ n2 => f(n1, n2) }.

Pattern shortcut enabling edge match { case n1 ~ n2 => f(n1, n2) }.

Attributes

val ~>: DiEdge.type

Pattern shortcut enabling edge match { case source ~> target => f(source, target) }.

Pattern shortcut enabling edge match { case source ~> target => f(source, target) }.

Attributes

Implicits

Implicits

final implicit def DiEdgeImplicits[N](source: N): DiEdgeImplicits[N]
final implicit def UnDiEdgeImplicits[N](n1: N): UnDiEdgeImplicits[N]