package edge
Predefined edges.
While basic edge types are defined in the object GraphEdge
,
the predefined edges in this package cover the following categories
(prefixes, shortcuts):
weighted (W, %
), key-weighted (Wk, %#
),
labeled (L, +
), key-labeled (Lk, +#
),
weighted and labeled (WL, %+
), key-weighted and labeled (WkL, %#+
),
weighted and key-labeled (WLk, %+#
) and key-weighted and key-labeled (WkLk, %#+#
).
These predefined edges provide alternatives for any edge extension taking the burden from the user to implement his/her custom edge class - but baring the disadvantage that user edge attributes must be part of a label class as opposed to being part of the edge class directly. It may also serve as a source for looking up how to implement custom edge classes.
- Alphabetic
- By Inheritance
- edge
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
- type CEdge[X] = UnDiEdge[X] with Attributes[X]
- type CHyperEdge[X] = HyperEdge[X] with Attributes[X]
-
abstract
class
LDiEdge[+N] extends LUnDiEdge[N] with DiEdgeLike[N] with OuterEdge[N, LDiEdge]
labeled directed edge.
-
abstract
class
LDiHyperEdge[+N] extends LHyperEdge[N] with DiHyperEdgeLike[N] with OuterEdge[N, LDiHyperEdge]
Labeled directed hyperedge.
-
abstract
class
LHyperEdge[+N] extends HyperEdge[N] with OuterEdge[N, LHyperEdge] with LEdge[N]
labeled undirected hyperedge.
-
abstract
class
LUnDiEdge[+N] extends UnDiEdge[N] with OuterEdge[N, LUnDiEdge] with LEdge[N]
labeled undirected edge.
-
abstract
class
LkDiEdge[+N] extends LDiEdge[N] with OuterEdge[N, LkDiEdge] with LkEdge[N] with EqDi
key-labeled directed edge.
-
abstract
class
LkDiHyperEdge[+N] extends LDiHyperEdge[N] with OuterEdge[N, LkDiHyperEdge] with LkEdge[N]
key-labeled directed hyperedge.
-
abstract
class
LkHyperEdge[+N] extends LHyperEdge[N] with OuterEdge[N, LkHyperEdge] with LkEdge[N]
key-labeled undirected hyperedge.
-
abstract
class
LkUnDiEdge[+N] extends LUnDiEdge[N] with OuterEdge[N, LkUnDiEdge] with LkEdge[N] with EqUnDi
key-labeled undirected edge.
-
class
WDiEdge[+N] extends WUnDiEdge[N] with DiEdgeLike[N] with EdgeCopy[WDiEdge] with OuterEdge[N, WDiEdge]
weighted directed edge.
weighted directed edge.
- Annotations
- @SerialVersionUID()
-
class
WDiHyperEdge[+N] extends DiHyperEdge[N] with WEdge[N] with EdgeCopy[WDiHyperEdge] with OuterEdge[N, WDiHyperEdge]
weighted directed hyperedge.
weighted directed hyperedge.
- Annotations
- @SerialVersionUID()
-
class
WHyperEdge[+N] extends HyperEdge[N] with WEdge[N] with EdgeCopy[WHyperEdge] with OuterEdge[N, WHyperEdge]
weighted, undirected hyperedge.
weighted, undirected hyperedge.
- Annotations
- @SerialVersionUID()
-
abstract
class
WLDiEdge[+N] extends WLUnDiEdge[N] with DiEdgeLike[N] with OuterEdge[N, WLDiEdge]
weighted, labeled directed edge.
-
abstract
class
WLDiHyperEdge[+N] extends WLHyperEdge[N] with DiHyperEdgeLike[N] with OuterEdge[N, WLDiHyperEdge]
weighted, labeled directed hyperedge.
-
abstract
class
WLHyperEdge[+N] extends WHyperEdge[N] with OuterEdge[N, WLHyperEdge] with LEdge[N] with WLEdge[N]
weighted, labeled undirected hyperedge.
-
abstract
class
WLUnDiEdge[+N] extends WUnDiEdge[N] with OuterEdge[N, WLUnDiEdge] with LEdge[N] with WLEdge[N]
weighted, labeled undirected edge.
-
abstract
class
WLkDiEdge[+N] extends WLkUnDiEdge[N] with DiEdgeLike[N] with OuterEdge[N, WLkDiEdge] with EqDi
weighted, key-labeled directed edge.
-
abstract
class
WLkDiHyperEdge[+N] extends WLkHyperEdge[N] with DiHyperEdgeLike[N] with OuterEdge[N, WLkDiHyperEdge]
weighted, key-labeled directed hyperedge.
-
abstract
class
WLkHyperEdge[+N] extends WLHyperEdge[N] with OuterEdge[N, WLkHyperEdge] with LkEdge[N] with WLkEdge[N]
weighted, key-labeled undirected hyperedge.
-
abstract
class
WLkUnDiEdge[+N] extends WLUnDiEdge[N] with OuterEdge[N, WLkUnDiEdge] with LkEdge[N] with WLkEdge[N] with EqUnDi
weighted, key-labeled undirected edge.
-
class
WUnDiEdge[+N] extends UnDiEdge[N] with WEdge[N] with EdgeCopy[WUnDiEdge] with OuterEdge[N, WUnDiEdge]
weighted undirected edge.
weighted undirected edge.
- Annotations
- @SerialVersionUID()
-
abstract
class
WkDiEdge[+N] extends WkUnDiEdge[N] with DiEdgeLike[N] with OuterEdge[N, WkDiEdge] with EqDi
key-weighted directed edge.
-
abstract
class
WkDiHyperEdge[+N] extends WkHyperEdge[N] with DiHyperEdgeLike[N] with OuterEdge[N, WkDiHyperEdge]
key-weighted directed hyperedge.
-
abstract
class
WkHyperEdge[+N] extends WHyperEdge[N] with OuterEdge[N, WkHyperEdge] with WkEdge[N]
key-weighted undirected hyperedge.
-
abstract
class
WkLDiEdge[+N] extends WkLUnDiEdge[N] with DiEdgeLike[N] with OuterEdge[N, WkLDiEdge] with EqDi
key-weighted, labeled directed edge.
-
abstract
class
WkLDiHyperEdge[+N] extends WkLHyperEdge[N] with DiHyperEdgeLike[N] with OuterEdge[N, WkLDiHyperEdge]
key-weighted, labeled directed hyperedge.
-
abstract
class
WkLHyperEdge[+N] extends WLHyperEdge[N] with WkEdge[N] with OuterEdge[N, WkLHyperEdge]
key-weighted, labeled undirected hyperedge.
-
abstract
class
WkLUnDiEdge[+N] extends WLUnDiEdge[N] with WkEdge[N] with OuterEdge[N, WkLUnDiEdge] with EqUnDi
key-weighted, labeled undirected edge.
-
abstract
class
WkLkDiEdge[+N] extends WkLkUnDiEdge[N] with DiEdgeLike[N] with OuterEdge[N, WkLkDiEdge] with EqDi
key-weighted, key-labeled directed edge.
-
abstract
class
WkLkDiHyperEdge[+N] extends WkLkHyperEdge[N] with DiHyperEdgeLike[N] with OuterEdge[N, WkLkDiHyperEdge]
key-weighted, key-labeled directed hyperedge.
-
abstract
class
WkLkHyperEdge[+N] extends WLHyperEdge[N] with OuterEdge[N, WkLkHyperEdge] with WkLkEdge[N]
key-weighted, key-labeled undirected hyperedge.
-
abstract
class
WkLkUnDiEdge[+N] extends WLUnDiEdge[N] with OuterEdge[N, WkLkUnDiEdge] with WkLkEdge[N] with EqUnDi
key-weighted, key-labeled undirected edge.
-
abstract
class
WkUnDiEdge[+N] extends WUnDiEdge[N] with OuterEdge[N, WkUnDiEdge] with WkEdge[N] with EqUnDi
key-weighted undirected edge.
Value Members
-
object
CBase
Base traits for custom edges - hence the
C
prefix.Base traits for custom edges - hence the
C
prefix. Note that custom edges need only to mix inCBase.Attributes
when importing byfromJson
. - object Implicits
-
object
LBase
Base traits for labeled edges.
- object LDiEdge extends LEdgeCompanion[LDiEdge]
- object LDiHyperEdge extends LHyperEdgeCompanion[LDiHyperEdge]
- object LHyperEdge extends LHyperEdgeCompanion[LHyperEdge]
- object LUnDiEdge extends LEdgeCompanion[LUnDiEdge]
-
object
LkBase
Base traits for key-labeled edges.
- object LkDiEdge extends LkEdgeCompanion[LkDiEdge]
- object LkDiHyperEdge extends LkHyperEdgeCompanion[LkDiHyperEdge]
- object LkHyperEdge extends LkHyperEdgeCompanion[LkHyperEdge]
- object LkUnDiEdge extends LkEdgeCompanion[LkUnDiEdge]
-
object
WBase
Base traits for weighted edges.
- object WDiEdge extends WEdgeCompanion[WDiEdge]
- object WDiHyperEdge extends WHyperEdgeCompanion[WDiHyperEdge]
- object WHyperEdge extends WHyperEdgeCompanion[WHyperEdge]
-
object
WLBase
Base traits for weighted and labeled edges.
- object WLDiEdge extends WLEdgeCompanion[WLDiEdge]
- object WLDiHyperEdge extends WLHyperEdgeCompanion[WLDiHyperEdge]
- object WLHyperEdge extends WLHyperEdgeCompanion[WLHyperEdge]
- object WLUnDiEdge extends WLEdgeCompanion[WLUnDiEdge]
-
object
WLkBase
Base traits for weighted and key-labeled edges.
- object WLkDiEdge extends WLkEdgeCompanion[WLkDiEdge]
- object WLkDiHyperEdge extends WLkHyperEdgeCompanion[WLkDiHyperEdge]
- object WLkHyperEdge extends WLkHyperEdgeCompanion[WLkHyperEdge]
- object WLkUnDiEdge extends WLkEdgeCompanion[WLkUnDiEdge]
- object WUnDiEdge extends WEdgeCompanion[WUnDiEdge]
-
object
WkBase
Base traits for key-weighted edges.
- object WkDiEdge extends WkEdgeCompanion[WkDiEdge]
- object WkDiHyperEdge extends WkHyperEdgeCompanion[WkDiHyperEdge]
- object WkHyperEdge extends WkHyperEdgeCompanion[WkHyperEdge]
-
object
WkLBase
Base traits for key-weighted and labeled edges.
- object WkLDiEdge extends WkLEdgeCompanion[WkLDiEdge]
- object WkLDiHyperEdge extends WkLHyperEdgeCompanion[WkLDiHyperEdge]
- object WkLHyperEdge extends WkLHyperEdgeCompanion[WkLHyperEdge]
- object WkLUnDiEdge extends WkLEdgeCompanion[WkLUnDiEdge]
-
object
WkLkBase
Base traits for key-weighted and key-labeled edges.
- object WkLkDiEdge extends WkLkEdgeCompanion[WkLkDiEdge]
- object WkLkDiHyperEdge extends WkLkHyperEdgeCompanion[WkLkDiHyperEdge]
- object WkLkHyperEdge extends WkLkHyperEdgeCompanion[WkLkHyperEdge]
- object WkLkUnDiEdge extends WkLkEdgeCompanion[WkLkUnDiEdge]
- object WkUnDiEdge extends WkEdgeCompanion[WkUnDiEdge]
Welcome to the Graph for Scala API reference. Some suggested navigation entry points:
Graph
mutable.Graph
and its inner nodes.GraphEdge
objectedge
packageGraphPredef
object andImplicits
object.GraphTraversal
andTraverserInnerNode
.RandomGraph
.GraphGen
.