scalax.collection.generic
Members list
Type members
Classlikes
Intermediate infix extractor for the "unlabeled part" of a weighted edge. It is to be combined with :~
or :~>
like case a :~ b % w
.
Intermediate infix extractor for the "unlabeled part" of a weighted edge. It is to be combined with :~
or :~>
like case a :~ b % w
.
Attributes
- Supertypes
- Self type
-
%.type
Attributes
- Supertypes
-
trait AnyDiEdge[N]trait AnyEdge[N]trait AnyDiHyperEdge[N]trait AnyHyperEdge[N]trait Edge[N]trait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
class Any
- Known subtypes
-
class DiEdgeImplicits[N]
Attributes
- Companion
- object
- Supertypes
-
trait AnyDiHyperEdge[N]trait AnyHyperEdge[N]trait Edge[N]trait Equalsclass Objecttrait Matchableclass AnyShow all
- Known subtypes
Attributes
- Companion
- class
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
AbstractDiHyperEdge.type
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
Attributes
- Supertypes
-
class Any
- Known subtypes
-
class UnDiEdgeImplicits[N]
Attributes
- Supertypes
-
trait GenericEdgeMapper[CC]trait AnyDiEdge[N]trait AnyEdge[N]trait AnyDiHyperEdge[N]trait AnyHyperEdge[N]trait Edge[N]trait Equalsclass Objecttrait Matchableclass AnyShow all
- Known subtypes
Attributes
- Supertypes
-
trait GenericDiHyperEdgeMapper[CC]class AbstractDiHyperEdge[N]trait AnyDiHyperEdge[N]trait AnyHyperEdge[N]trait Edge[N]trait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait GenericHyperEdgeMapper[CC]class AbstractHyperEdge[N]trait AnyHyperEdge[N]trait Edge[N]trait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait GenericEdgeMapper[CC]trait AnyUnDiEdge[N]trait AnyEdge[N]trait AnyHyperEdge[N]trait Edge[N]trait Equalsclass Objecttrait Matchableclass AnyShow all
- Known subtypes
Attributes
- Supertypes
-
trait GenericUnlabeledEdgeMapper[CC]trait GenericEdgeMapper[CC]trait AnyDiEdge[N]trait AnyEdge[N]trait AnyDiHyperEdge[N]trait AnyHyperEdge[N]trait Edge[N]trait Equalsclass Objecttrait Matchableclass AnyShow all
- Known subtypes
-
class DiEdge[N]
Attributes
- Supertypes
-
trait GenericUnlabeledDiHyperEdgeMapper[CC]trait GenericDiHyperEdgeMapper[CC]class AbstractDiHyperEdge[N]trait AnyDiHyperEdge[N]trait AnyHyperEdge[N]trait Edge[N]trait Equalsclass Objecttrait Matchableclass AnyShow all
- Known subtypes
-
class DiHyperEdge[N]class DiHyperEdge[N]
Attributes
- Supertypes
-
trait GenericUnlabeledEdgeMapper[CC]trait GenericEdgeMapper[CC]trait AnyUnDiEdge[N]trait AnyEdge[N]trait AnyHyperEdge[N]trait Edge[N]trait Equalsclass Objecttrait Matchableclass AnyShow all
- Known subtypes
-
class UnDiEdge[N]
Attributes
Attributes
- Companion
- class
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
AbstractHyperEdge.type
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
Attributes
- Supertypes
-
trait AnyUnDiEdge[N]trait AnyEdge[N]trait AnyHyperEdge[N]trait Edge[N]trait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait GenericUnlabeledHyperEdgeMapper[CC]trait GenericHyperEdgeMapper[CC]class AbstractHyperEdge[N]trait AnyHyperEdge[N]trait Edge[N]trait Equalsclass Objecttrait Matchableclass AnyShow all
- Known subtypes
Attributes
- Supertypes
-
trait AnyEdge[N]trait AnyDiHyperEdge[N]trait AnyHyperEdge[N]trait Edge[N]trait Equalsclass Objecttrait Matchableclass AnyShow all
- Known subtypes
Attributes
- Companion
- object
- Supertypes
- Known subtypes
-
class AbstractDiHyperEdge[N]class DiHyperEdge[N]class DiHyperEdge[N]trait AnyDiEdge[N]class AbstractDiEdge[N]class WDiEdge[N]class WDiEdge[N]class DiEdge[N]Show all
Attributes
- Companion
- trait
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
AnyDiHyperEdge.type
Attributes
- Companion
- object
- Supertypes
- Known subtypes
-
trait AnyDiEdge[N]class AbstractDiEdge[N]class WDiEdge[N]class WDiEdge[N]class DiEdge[N]trait AnyUnDiEdge[N]class WUnDiEdge[N]class WUnDiEdge[N]class UnDiEdge[N]class AbstractUnDiEdge[N]Show all
Attributes
- Companion
- object
- Supertypes
- Known subtypes
-
class AbstractHyperEdge[N]class HyperEdge[N]class HyperEdge[N]trait AnyDiHyperEdge[N]class AbstractDiHyperEdge[N]class DiHyperEdge[N]class DiHyperEdge[N]trait AnyDiEdge[N]class AbstractDiEdge[N]class WDiEdge[N]class WDiEdge[N]class DiEdge[N]trait AnyUnDiEdge[N]class WUnDiEdge[N]class WUnDiEdge[N]class UnDiEdge[N]class AbstractUnDiEdge[N]Show all
Attributes
- Companion
- trait
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
AnyHyperEdge.type
Ordering for Any with the following rules: numerical > string > any other reference type. If a reference type is not a subclass of Ordered, it will be ordered according to its toString value. Used to predictably order elements when computing Graph.toString
.
Ordering for Any with the following rules: numerical > string > any other reference type. If a reference type is not a subclass of Ordered, it will be ordered according to its toString value. Used to predictably order elements when computing Graph.toString
.
Attributes
- Supertypes
-
trait Ordering[N]trait PartialOrdering[N]trait Equiv[N]trait Serializabletrait Comparator[N]class Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- object
- Supertypes
-
trait AnyEdge[N]trait AnyHyperEdge[N]trait Edge[N]trait Equalsclass Objecttrait Matchableclass AnyShow all
- Known subtypes
Attributes
- Companion
- trait
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
AnyUnDiEdge.type
Marks a hyperedge, $ORDIHYPER, to handle the endpoints as an unordered collection of nodes with duplicates allowed.
Marks a hyperedge, $ORDIHYPER, to handle the endpoints as an unordered collection of nodes with duplicates allowed.
Attributes
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalsclass CollectionKindclass Objecttrait Matchableclass AnyShow all
- Self type
-
Bag.type
Defines how to handle the ends of hyperedges, or the source/target ends of directed hyperedges, with respect to equality.
Attributes
- Companion
- class
- Supertypes
-
trait Sumtrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
CollectionKind.type
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
class DiEdge[N]trait LDiEdgeToStringtrait WDiEdgeToStringclass WDiEdge[N]class WDiEdge[N]Show all
- Self type
-
AnyDiEdge[_]
The abstract methods of this trait must be implemented by companion objects of directed, non-labeled hyperedges.
The abstract methods of this trait must be implemented by companion objects of directed, non-labeled hyperedges.
Attributes
- Supertypes
- Known subtypes
-
object DiHyperEdge.typeobject DiHyperEdge.type
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
trait LDiHyperEdgeToStringtrait WDiHyperEdgeToStringclass DiHyperEdge[N]class DiHyperEdge[N]Show all
- Self type
Base template for all edges in a Graph
.
Base template for all edges in a Graph
.
Library-provided edges are immutable for both mutable and immutable Graph
. However, when using mutable graphs with labeled edges where labels are mutable with respect to your use case, you might want to make your label mutable accordingly. Otherwise a much less efficient edge replacement would be necessary.
Type parameters
- N
-
the type of the nodes (ends) of this edge.
Attributes
- Companion
- object
- Supertypes
- Known subtypes
-
trait AnyEdge[N]trait AnyDiEdge[N]class AbstractDiEdge[N]class WDiEdge[N]class WDiEdge[N]class DiEdge[N]trait AnyUnDiEdge[N]class WUnDiEdge[N]class WUnDiEdge[N]class UnDiEdge[N]class AbstractUnDiEdge[N]trait AnyHyperEdge[N]class AbstractHyperEdge[N]class HyperEdge[N]class HyperEdge[N]trait AnyDiHyperEdge[N]class AbstractDiHyperEdge[N]class DiHyperEdge[N]class DiHyperEdge[N]Show all
Template for companion objects of generic edges.
Template for companion objects of generic edges.
Attributes
- Supertypes
- Known subtypes
Marker trait for companion objects of any non-labeled edge.
Marker trait for companion objects of any non-labeled edge.
Attributes
- Supertypes
-
trait Serializableclass Objecttrait Matchableclass Any
- Known subtypes
-
trait DiHyperEdgeCompanion[E]object DiHyperEdge.typeobject DiHyperEdge.typetrait EdgeCompanion[E]object DiEdge.typeobject UnDiEdge.typetrait HyperEdgeCompanion[E]object HyperEdge.typeobject HyperEdge.typeShow all
Attributes
- Supertypes
- Known subtypes
-
Show all
- Self type
-
Methods common to Graph
companion objects in the core module.
Methods common to Graph
companion objects in the core module.
Type parameters
- CC
-
the kind of type of the graph that is to become the companion class/trait of the object extending this trait.
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
trait GenericGraphFactory[CC]trait GenericGraphCoreFactory[CC]trait ImmutableFactory[CC]object DefaultGraphImpl.typeobject Graph.typetrait MutableFactory[CC]object DefaultGraphImpl.typeobject Graph.typeShow all
Mixin for directed generic hyperedges to facilitate Graph
mapping by def map(fNode)
.
Mixin for directed generic hyperedges to facilitate Graph
mapping by def map(fNode)
.
Type parameters
- CC
-
type constructor of the final edge class.
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
- Self type
Mixin for directed and undirected generic edges to facilitate Graph
mapping by def map(fNode)
.
Mixin for directed and undirected generic edges to facilitate Graph
mapping by def map(fNode)
.
Type parameters
- CC
-
type constructor of the final edge class.
Attributes
Attributes
- Supertypes
- Known subtypes
-
trait ImmutableFactory[CC]object DefaultGraphImpl.typeobject Graph.typetrait MutableFactory[CC]object DefaultGraphImpl.typeobject Graph.typeShow all
Attributes
- Supertypes
- Known subtypes
-
trait GenericGraphCoreFactory[CC]trait ImmutableFactory[CC]object DefaultGraphImpl.typeobject Graph.typetrait MutableFactory[CC]object DefaultGraphImpl.typeobject Graph.typeShow all
Mixin for undirected generic hyperedges to facilitate Graph
mapping by def map(fNode)
.
Mixin for undirected generic hyperedges to facilitate Graph
mapping by def map(fNode)
.
Type parameters
- CC
-
type constructor of the final edge class.
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
- Self type
-
AnyHyperEdge[_]
Specialized GenericDiHyperEdgeMapper
that implements def map
in terms of def copy
.
Specialized GenericDiHyperEdgeMapper
that implements def map
in terms of def copy
.
Attributes
- Supertypes
- Known subtypes
- Self type
Specialized GenericEdgeMapper
that implements def map
in terms of def copy
.
Specialized GenericEdgeMapper
that implements def map
in terms of def copy
.
Attributes
Specialized GenericHyperEdgeMapper
that implements def map
in terms of def copy
.
Specialized GenericHyperEdgeMapper
that implements def map
in terms of def copy
.
Attributes
- Supertypes
- Known subtypes
- Self type
-
AnyHyperEdge[_]
The abstract methods of this trait must be implemented by companion objects of non-labeled hyperedges.
The abstract methods of this trait must be implemented by companion objects of non-labeled hyperedges.
Attributes
- Supertypes
- Known subtypes
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
- Self type
-
AnyHyperEdge[_]
Attributes
- Supertypes
-
trait GenericGraphCoreFactory[CC]trait GenericGraphFactory[CC]trait Factory[CC]class Objecttrait Matchableclass AnyShow all
- Known subtypes
-
object DefaultGraphImpl.typeobject Graph.type
Attributes
- Supertypes
- Known subtypes
- Self type
-
AnyDiEdge[_]
Attributes
- Supertypes
- Known subtypes
- Self type
Attributes
- Supertypes
- Known subtypes
- Self type
Attributes
- Supertypes
- Known subtypes
- Self type
-
AnyUnDiEdge[_]
Edge mixin for multigraph support.
Edge mixin for multigraph support.
As a default, hashCode/equality of edges is determined by their ends. We say that edge ends are part of the edge key.
Whenever your custom edge needs to be a multi-edge, meaning that your graph is allowed to connect some nodes by an instance of this edge even if those nodes are already connected, the edge key needs be extended by adding at least one more class member, constant or whatsoever to the edge key.
For example edges representing flight connections between airports need be multi-edges to allow for different flights between the same airports.
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
trait ExtendedKeyBySingleLabeltrait ExtendedKeyByWeightclass WDiEdge[N]class WUnDiEdge[N]Show all
- Self type
-
Edge[_]
Mix in this trait in your labeled edge class if you want to indicate in its toString
representation that the edge supports multigraphs. Once mixed in, the labelSeparator
gets :++
.
Mix in this trait in your labeled edge class if you want to indicate in its toString
representation that the edge supports multigraphs. Once mixed in, the labelSeparator
gets :++
.
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
Show all
- Self type
-
Attributes
- Supertypes
-
trait GenericGraphCoreFactory[CC]trait GenericGraphFactory[CC]trait Factory[CC]class Objecttrait Matchableclass AnyShow all
- Known subtypes
-
object DefaultGraphImpl.typeobject Graph.type
Attributes
- Supertypes
- Self type
Attributes
- Supertypes
- Self type
-
AnyEdge[_]
Attributes
- Supertypes
- Self type
-
AnyHyperEdge[_]
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
Marks a hyperedge, $ORDIHYPER, to handle the endpoints as an ordered collection of nodes with duplicates allowed.
Marks a hyperedge, $ORDIHYPER, to handle the endpoints as an ordered collection of nodes with duplicates allowed.
Attributes
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalsclass CollectionKindclass Objecttrait Matchableclass AnyShow all
- Self type
-
Sequence.type
Attributes
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
Show all
- Self type
-
Attributes
- Companion
- trait
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
SingleLabel.type
Attributes
- Supertypes
- Known subtypes
-
Attributes
- Supertypes
- Known subtypes
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
class UnDiEdge[N]trait LUnDiEdgeToStringtrait WUnDiEdgeToStringclass WUnDiEdge[N]class WUnDiEdge[N]Show all
- Self type
-
AnyUnDiEdge[_]
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Supertypes
- Known subtypes
- Self type
-
AnyDiEdge[_]
Attributes
- Supertypes
- Self type
Attributes
- Supertypes
- Self type
-
AnyHyperEdge[_]
Attributes
- Supertypes
- Known subtypes
- Self type
-
AnyUnDiEdge[_]