scalax.collection.edges.labeled

Members list

Type members

Classlikes

object :~

Infix extractor for weighted undirected edges to be combined with % like case a :~ b % w.

Infix extractor for weighted undirected edges to be combined with % like case a :~ b % w.

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
:~.type
object :~>

Infix extractor for weighted directed edges to be combined with % like case a :~> b % w.

Infix extractor for weighted directed edges to be combined with % like case a :~> b % w.

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
:~>.type
abstract class LDiEdge[+N, L] extends AnyDiEdge[N], SingleLabel[L], LDiEdgeToString

Template for generic directed edges with a single label field. Equality is based solely on the ends so this trait is not suitable for multigraphs. Mix in GenericEdgeMapper to get your derived edge also mappable.

Template for generic directed edges with a single label field. Equality is based solely on the ends so this trait is not suitable for multigraphs. Mix in GenericEdgeMapper to get your derived edge also mappable.

Attributes

Supertypes
trait SingleLabel[L]
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
abstract class LDiEdgeInfixConstructor[N, L, CC <: ([X] =>> Edge[X] & SingleLabel[L])](apply: (N, N, L) => CC[N])

Template for an implicit class that defines the infix constructor + to pass a label like 1 ~> 2 :+ aLabel.

Template for an implicit class that defines the infix constructor + to pass a label like 1 ~> 2 :+ aLabel.

Attributes

Supertypes
class Object
trait Matchable
class Any
abstract class LUnDiEdge[+N, L] extends AnyUnDiEdge[N], SingleLabel[L], LUnDiEdgeToString

Template for generic undirected edges with a single label field. Equality is based solely on the nodes so this trait is not suitable for multigraphs. Mix in GenericEdgeMapper to get your derived edge also mappable.

Template for generic undirected edges with a single label field. Equality is based solely on the nodes so this trait is not suitable for multigraphs. Mix in GenericEdgeMapper to get your derived edge also mappable.

Attributes

Supertypes
trait SingleLabel[L]
trait AnyUnDiEdge[N]
trait AnyEdge[N]
trait AnyHyperEdge[N]
trait Edge[N]
trait Equals
class Object
trait Matchable
class Any
Show all
abstract class LUnDiEdgeInfixConstructor[N, L, CC <: ([X] =>> Edge[X] & SingleLabel[L])](apply: (N, N, L) => CC[N])

Template for an implicit class that defines the infix constructor + to pass a label like 1 ~> 2 :+ aLabel.

Template for an implicit class that defines the infix constructor + to pass a label like 1 ~> 2 :+ aLabel.

Attributes

Supertypes
class Object
trait Matchable
class Any
final case class WDiEdge[+N](source: N, target: N, weight: Double) extends AbstractGenericDiEdge[N, WDiEdge], WDiEdgeToString

Generic weighted directed edge.

Generic weighted directed edge.

Attributes

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
final implicit class WDiEdgeFactory[N](val e: DiEdge[N]) extends AnyVal

Factory shortcut for weighted edges that can be used like a ~> b % w.

Factory shortcut for weighted edges that can be used like a ~> b % w.

Attributes

Supertypes
class AnyVal
trait Matchable
class Any
final case class WUnDiEdge[+N](source: N, target: N, weight: Double) extends AbstractGenericUnDiEdge[N, WUnDiEdge], WUnDiEdgeToString

Generic weighted undirected edge.

Generic weighted undirected edge.

Attributes

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
final implicit class WUnDiEdgeFactory[N](val e: UnDiEdge[N]) extends AnyVal

Factory shortcut for weighted edges that can be used like a ~ b % w.

Factory shortcut for weighted edges that can be used like a ~ b % w.

Attributes

Supertypes
class AnyVal
trait Matchable
class Any

Types

Value members

Concrete fields

val %: %.type

Implicits

Implicits

final implicit def WDiEdgeFactory[N](e: DiEdge[N]): WDiEdgeFactory[N]

Factory shortcut for weighted edges that can be used like a ~> b % w.

Factory shortcut for weighted edges that can be used like a ~> b % w.

Attributes

final implicit def WUnDiEdgeFactory[N](e: UnDiEdge[N]): WUnDiEdgeFactory[N]

Factory shortcut for weighted edges that can be used like a ~ b % w.

Factory shortcut for weighted edges that can be used like a ~ b % w.

Attributes